Stolle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/162812622943d2c3ac9218b.gif)
Joined: 23 Sep 2002 Posts: 16 Location: Germany
|
Posted: Sat Jan 21, 2006 10:48 pm Post subject: genkernel, livecd, boot problem [SOLVED] |
|
|
[24.02.2006] SOLVED:
There has to be a empty file called "livecd" on the CD image, cause initrd.scripts looks for this file during the livecd boot process after mounting the CD device. f***ing little mistake! CU
I am using genkernel to build kernel and initramfs for a livecd project which uses isolinux.
The CD boots and hangs when mounting the CD, output:
Code: |
>> Activating udev
>> Making tmpfs for /newroot
>> Attempting to mount CD:- /dev/hda
>> No bootable medium found. Waiting for new devices...
>> Attempting to mount CD:- /dev/hda
>> Attempting to mount CD:- /dev/hda
!! Could not find CD to boot, something else needed!
>> Determining root device...
!! The root block device is unspecified or not detected.
Please specifiy a device to boot, or "shell" for a shell...
boot() ::
|
I used genkernel-3.3.10 and gentoo-sources-2.6.14-r5.
The LiveCD should work with isolinux, isolinux.cfg kernel section:
Code: | kernel vmlinuz
append initrd=initrd root=/dev/ram0 init=/linuxrc looptype=squashfs
loop=/livecd.squashfs dokeymap cdroot vga=791
splash=silent,theme:livecd-2005.1 CONSOLE=/dev/tty1 quiet |
genkernel command:
Code: | genkernel all --kernel-config=/usr/share/genkernel/x86/kernel-config-2.6
--gensplash=livecd-2005.1 --debuglevel=5
--debugfile=/root/debug_genkernel |
mkisofs command:
Code: | mkisofs -J -R -l -b isolinux/isolinux.bin -no-emul-boot -boot-info-table
-boot-load-size 4 -boot-info-table -c isolinux/boot.cat -o livecd.iso -z
cdroot/ |
Testet the CD on several PCs. I don't know, what's wrong.
In the bootshell, when mounting fails, I checked /dev and dmesg, everything is fine, the CD device is there, I can even mount the CD in a directory.
So, what is wrong here. Seems to be a little mistake, but I don't find it.
Thanks,
Stolle |
|