> Kristian Poul Herkild wrote: > >> After 45 minutes of intense fighting with Grub I managed to get past the >> error 15 and later an error 1 ... somehow it couldn't figure out that >> (hd1,0) was /boot ... so it couldn't find /boot/lfskernel-2.6.8.1 ... >> >> That works now. But after having mounted the partitions, LFS comes up >> with this n00b-error (I'm the n00b): >>Kernel panic. No init found. Try >> passing init= option to the kernel.<< > > Please give some more details: which HDD is / ? How does your > /boot/grub/menu.lst file look? Is the /sbin/init file there? > > thorsten happel > -- > http://linuxfromscratch.org/mailman/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page >
Okay, here it goes: # Begin /etc/fstab # file system mount-point type options dump fsck # order /dev/hdd3 / ext3 defaults 0 0 /dev/hdd1 /boot ext3 defaults 0 0 /dev/hdd2 /usr ext3 defaults 0 0 /dev/hdd5 /home ext3 defaults 0 0 /dev/hdd6 /var ext3 defaults 0 0 /dev/hdd7 /usr/local ext3 defaults 0 0 /dev/hdd8 /tmp ext3 defaults 0 0 /dev/hda5 /mnt/hda5 vfat defaults 0 0 /dev/hdd10 /mnt/hdd10 vfat defaults 0 0 /dev/hda6 swap swap pri=1 0 0 /dev/hdd9 swap swap pri=1 0 0 and some virtual fs's but they don't matter here. The fact about Grub that DJ-Lucas pointed out (/boot on it's own partition, / on another and so on), was exactly what I realized too. Even though the reasons for it seems obscure to me. But it got fixed. ------------ /boot/grub/menu.lst # Begin /boot/grub/menu.lst # Boot first menu entry as default default 0 # Set time to wait before loading default timeout 2 # Use prettier colors color red/white blue/white # LFS-6.0-2.6.8.1 title Linux From Scratch 6.0-2.6.8.1 root (hd1,0) kernel /lfskernel-2.6.8.1 root=/dev/hdd1 # Win2k title Windows 2000 Professional rootnoverify (hd0,0) chainloader +1 ----------------------- ... as anyone can see /sbin/init is no where to be found. I'll try that option right right away. I've tried with init=/etc/inittab and init=/bin/bash to no avail. But then /bin/bash isn't /sbin/init ;) I'll be back in a couple of minutes or so :D Kind Regards Kristian Poul Herkild -- Copyright is no right -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
