Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel, livecd, boot problem [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Stolle
n00b
n00b


Joined: 23 Sep 2002
Posts: 16
Location: Germany

PostPosted: Sat Jan 21, 2006 10:48 pm    Post subject: genkernel, livecd, boot problem [SOLVED] Reply with quote

[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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum