cvs commit: hints initrd.txt

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Wed Dec 3 10:35:54 PST 2003


tushar      03/12/03 11:35:54

  Modified:    .        initrd.txt
  Log:
  Updated initrd.txt
  
  Revision  Changes    Path
  1.14      +24 -16    hints/initrd.txt
  
  Index: initrd.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/initrd.txt,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- initrd.txt	30 Oct 2003 15:10:10 -0000	1.13
  +++ initrd.txt	3 Dec 2003 18:35:54 -0000	1.14
  @@ -1,6 +1,6 @@
   AUTHOR:         Jim Gifford <lfs-hints at jg555.com>
   
  -DATE: 		2003-10-17
  +DATE: 		2003-12-01
   
   LICENSE: 	GNU Free Documentation License Version 1.2
   
  @@ -76,17 +76,14 @@
   	ext2, ext3, romfs, and cramfs.
   
   	romfs and cramfs will give you a smaller initrd.
  -	My initrd with romfs was only 425k. Compressed
  +	My initrd with romfs was only 392k. Compressed
   	with gzip -9.
   	
   	ext2 and ext3 are the most common file systems
   	in use, but the initrd is usually bigger.
  -	My initrd with ext3 was only 439k. Compressed with
  +	My initrd with ext3 was only 425k. Compressed with
   	gzip -9
   
  -	The difference was on 14k, but if your trying to
  -	boot off of a floppy, 14k could save you you.
  -
   ---
   Needed Programs
   	
  @@ -126,14 +123,20 @@
   		[*] Build BusyBox as a static binary (no shared libs)
   	Coreutils  --->
   		[*] echo (basic SUSv3 version taking no options
  +		[*] mkdir
   	Linux Module Utilities  ---> 
   		[*] insmod
   	Another Bourne-like Shell  --->
   		[*]     Enable alias support
   		[*]     Optimize for size instead of speed
   		(0) history size
  +	Linux System Utilities  --->
  +		[*] pivot_root
  +		[*] mount
  +		[*] umount
  +		[*]     Support for loop devices
   
  -	The build size on my system was 495k, considerably smaller than
  +	The build size on my system was 507k, considerably smaller than
   	bash.
   
   	After running make menuconfig you will need to run the
  @@ -154,7 +157,7 @@
   
   	I have sent a mkinitrd file to be placed
   	in the hints attachments at 
  -	<http://www.linuxfromscratch.org/hints/downloads/attachments/initrd>. 
  +	http://www.linuxfromscratch.org/hints/downloads/attachments. 
   	
   	The default location for this file is /sbin
   
  @@ -166,6 +169,9 @@
   
   	Required
           --kernel_version={version} = use kernel version
  +	Root Change Method - one must be selected"
  +	[--change-root] -- Old Method
  +	[--pivot-root] -- New Method
   
   	Optional
   	--ide = remove ide modules
  @@ -221,9 +227,9 @@
   
   	So your lilo.conf should look something like this.
   
  -	image=/boot/vmlinuz-2.4.18
  +	image=/boot/vmlinuz-2.4.23
   	label=test
  -	initrd=/boot/initrd-2.4.18.img
  +	initrd=/boot/initrd-2.4.23.img
   	read-only
   
   	If you are just testing. You should make a separate
  @@ -235,14 +241,14 @@
   	In order to use the initrd.img file is to add the
   	following entry to you menu.lst file.
   
  -	initrd /boot/initrd-2.4.18.img
  +	initrd /boot/initrd-2.4.23.img
   
   	So your menu.lst should look something like this.
   
   	title test
   	root (hd0,1)
  -	kernel /boot/vmlinuz-2.4.18
  -	initrd /boot/initrd-2.4.18.img
  +	kernel /boot/vmlinuz-2.4.23
  +	initrd /boot/initrd-2.4.23.img
   
   ---
   For Syslinux
  @@ -250,7 +256,7 @@
   	In order to use the initrd.img file is to add the
   	following to syslinux.cfg file.
   
  -	append root=/dev/ram0 initrd=initrd-2.4.18.img
  +	append root=/dev/ram0 initrd=initrd-2.4.23.img
   
   	So your syslinux.cfg should look something like this.
   
  @@ -260,9 +266,11 @@
   
   ---
   
  -VERSION:        2.3
  +VERSION:        2.4
   
  -CHANGELOG:     	2.3 Fixed Typos
  +CHANGELOG:     	2.4 Added a choice of the Change_Root Method
  +		    and the pivot_root method.
  +		2.3 Fixed Typos
   		2.2 Fixed Typos
   		2.1 Forget at add genromfs build information
   		2.0 Did more Research - Found easier way to 
  
  
  



More information about the hints mailing list