PLD-doc/queue/fbsplash.html

paszczus cvs w pld-linux.org
Sob, 18 Gru 2004, 23:29:28 CET


Author: paszczus
Date: Sat Dec 18 22:29:26 2004
New Revision: 5390

Modified:
   PLD-doc/queue/fbsplash.html
Log:
- niech ten opis bedzie dla kazdego...
- udogodnienia dla kazdego jajka (thx pluto)
- lekka poprawa dla kopiuj-wklej (gpm)


Modified: PLD-doc/queue/fbsplash.html
==============================================================================
--- PLD-doc/queue/fbsplash.html	(original)
+++ PLD-doc/queue/fbsplash.html	Sat Dec 18 22:29:26 2004
@@ -39,44 +39,43 @@
 	<U>kopiujemy initrd do katalogu /root i tam bedziemy wykonywac
 	wszystkie czynnosci</U></P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm"><B>cp
-	/boot/initrd-2.6.8-4.5.gz /root</B></P>
+	/boot/initrd-`rpm -q --qf "%{VERSION}-%{RELEASE}\n" kernel`.gz /root</B></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-weight: medium">
 	<U>dekompresujemy initrd</U></P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
-	<B>gzip -d /root/initrd-2.6.8-4.5.gz</B></P>
+	<B>gzip -d /root/initrd-`rpm -q --qf "%{VERSION}-%{RELEASE}\n" kernel`.gz</B></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-weight: medium">
 	<U>po dekompresji musimy go podmontowac (np. do katalogu
 	/root/initrd/ )</U></P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm"><B>mkdir
 	/root/initrd/</B></P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm"><B>mount
-	-o loop /root/initrd-2.6.8-4.5 /root/initrd</B></P>
+	-o loop /root/initrd-`rpm -q --qf "%{VERSION}-%{RELEASE}\n" kernel` /root/initrd</B></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-weight: medium">
 	<U>Kopiujemy zawartosc /root/initrd/ do (np. /root/newinitrd )</U></P>
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
+	<B>mkdir /root/newinitrd</B>
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
+	<B>cp -a /root/initrd/* /root/newinitrd/</B></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-weight: medium">
 	<U>Edytujemy plik /root/newinitrd/linuxrc i wpisujemy: ( po umount
 	/proc )</U></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>mount -t proc none /proc</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>mount -t devfs none /dev</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>mknod /dev/fbsplash c 10 63</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>mknod /dev/fb0 c 29 0</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>/sbin/splash_util.static -t darkblue --vc=0 -c setcfg</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>/sbin/splash_util.static -t darkblue --vc=0 -c setpic</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>/sbin/splash_util.static -t darkblue --vc=0 -c on</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>umount /dev</B></P>
-	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
 	<B>umount /proc</B></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium">
 	<U>Tworzysz katalog /root/newinitrd/sbin/ i kopiujesz pliki
 	znajdujace sie w /sbin :</U></P>
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; text-decoration: none">	
+	<B>mkdir /root/newinitrd/sbin</B>
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; text-decoration: none">
+	<B>cp /sbin/splash* /root/newinitrd/sbin/</B>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium; text-decoration: none">
 	splash_helper</P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium; text-decoration: none">
@@ -86,19 +85,19 @@
 	<P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm"></P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium">
 	<U>Tworzymy katalogi i ...:</U></P>
-	<P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium; text-decoration: none">
-	<B>mkdir /root/newinitrd/etc/splash/ po czym przegrywamy tu wybrany
-	katalog z tematem z /etc/splash/   (np. temat darkblue)</B></P>
-	<P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium">
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
+	<B>mkdir /root/newinitrd/etc/splash/</B></P>
+	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal">
+	<B>cp -a /etc/splash/darkblue /root/newinitrd/etc/splash/</B>
 	</P>
 	<LI><P CLASS="western" ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: medium">
 	<U>Zamykamy initrd i .........</U></P>
         <P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; text-decoration: none">
         <B>umount /root/initrd</B>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; text-decoration: none">
-	<B>genromfs -d /root/newinitrd -f /boot/initrd-2.6.8-4.5</B></P>
+	<B>genromfs -d /root/newinitrd -f /boot/initrd-`rpm -q --qf "%{VERSION}-%{RELEASE}\n" kernel`</B></P>
 	<P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; text-decoration: none">
-	<B>gzip /boot/initrd-2.6.8-4.5</B></P>
+	<B>gzip /boot/initrd-`rpm -q --qf "%{VERSION}-%{RELEASE}\n" kernel`</B></P>
 </OL>
 <P CLASS="western" ALIGN=CENTER STYLE="margin-bottom: 0cm"><BR>
 </P>




Więcej informacji o liście dyskusyjnej pld-doc