Failure to boot
dagoss at buffalo.edu
Mon Aug 11 14:53:57 PDT 2008
Theo Schneider wrote:
> David Goss schrieb:
>> When booting my lfs installation, I get the following errors:
>> swapon: cannot stat dev/sda3: no such file or directory
>> fsck.ext3: No such file or directory while trying to open /dev/sda4
>> I suspect this is due to my grub configuration. Rather than installing
>> grub, I added these lines to menu.lst on my host system:
>> title LFS 6.3
>> root (hd0,3)
>> kernel /boot/lfskernel-220.127.116.11 root=/dev/hda4
>> Here is what my harddisk looks like:
>> sda1 = NTFS
>> sda2 = Ubuntu
>> sda3 = swap
>> sda4 = LFS
>> I will confess that understanding the bootscripts was the part where I
>> had the most trouble understanding what was going on. I will need to go
>> back and reread that chapter, but in the mean time I'd obviously like to
>> make this thing bootable so actually see hands on how the booting
>> process works.
> Hi David,
> is it an typo? in grub you write /dev/hda4, but in harddisk you write sda4?
> What version of udev you use?
Yes, that is a typo; it should be sda4. I checked the thread that
Tobias suggested; that is the exact problem I am having. I used
udev-113 with the udev-config-6.3 package.
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE
Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller
I assume the first device is my DVD/CDRW, so the other must be my
harddisk. Based on this, should I build the "Intel ESB, ICH... [etc]
support" module into my kernel and rebuild it?
More information about the lfs-support