Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 429940 - Lilo example incorrect
Summary: Lilo example incorrect
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: nm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-05 00:34 UTC by John L. Poole
Modified: 2012-08-05 05:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2012-08-05 00:34:20 UTC
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&hap=10#doc_chap3
has:


Code Listing 3.4: LILO snippet for initramfs-enabled kernel builds
 image=/boot/kernel-2.6.34-gentoo-r1 
 label=gentoo 
 read-only 
 real_root=/dev/sda3 
 initrd=/boot/initramfs-genkernel-amd64-2.6.34-gentoo-r1   

"real_root" is not a recognized token by lilo.

Example error message:

(chroot) livecd / # lilo
Warning: LBA32 addressing assumed
Unrecognized token "real_root" at or above line 9 in file '/etc/lilo.conf'
(chroot) livecd / # 


Following the example will only lead to error.  I'm working on what the correct syntax should be, but it's probably something like:

...
 root=/dev/ram0
 append="real_root=/dev/sda3 initrd=/boot/initramfs-genkernel-amd64-2.6.34-gentoo-r1"

Haven't succeeded with the above as I'm having other problems now which are not relevant to this bug.
Comment 1 nm (RETIRED) gentoo-dev 2012-08-05 01:22:26 UTC
fixed in CVS.
Comment 2 John L. Poole 2012-08-05 05:50:15 UTC
confirming this lilo configuration worked:

image=/boot/kernel-genkernel-x86_64-3.3.8-gentoo
   label=gentoo
   read-only
   root=/dev/sda1
   append="real_root=/dev/sda3"
   initrd=/boot/initramfs-genkernel-x86_64-3.3.8-gentoo