error when booting
dringuet at gmail.com
Thu Nov 5 09:30:39 PST 2009
Try to enable sysfs and tmpfs in the kernel, there is no need for the
deprecated API, the new one fits the purpose.
On Thu, Nov 5, 2009 at 12:26 PM, Simone Dalmasso
<simone.dalmasso at gmail.com>wrote:
> I tried to recompile the kernel with the drivers, my disk is connected as
> SCSI but I included even the ATA drivers. Nothing changes. It is strange
> because with the version 6.3 of LFS the system started without any changes
> to the default configuration of the kernel.
> 2009/11/5 Aleksandar Kuktin <akuktin at gmail.com>
>> >On Thu, 5 Nov 2009 14:00:39 +0100
>> >Aleksandar Kuktin <akuktin at gmail.com> wrote:
>> > >On Thu, 5 Nov 2009 09:30:09 +0100
>> > >Simone Dalmasso <simone.dalmasso at gmail.com> wrote:
>> > >
>> > > Hi, I've built the 6.5 LFS. My host was a kubuntu 9.10 under a
>> > > virtual machine. All worked fine during the building but now, when
>> > > I've installed the new grub and I try to boot the LFS, I get an
>> > > error like: cannot open root "sda5" or unknown block(2,0)
>> > > Please append a correct root= boot option. Here available
>> > > partitions: 0b00 1048575 sr0 driver:sr
>> > > 0b01 1048575 sr1 driver:sr
>> > > kernel panic...
>> > >
>> > > My /boot /grub/menu.lst file is:
>> > > title LFS
>> > > root (hd0,4)
>> > > kernel /boot/lfskernel-18.104.22.168 root=/dev/sda5
>> > >
>> > > The sda5 partition is where I built the lfs, it's correct.
>> > > Can you help?
>> > > Thanks in advance
>> > >
>> > > Simone
>> > Seems you have not compiled the kernel with the proper device driver
>> > for the HDD.
>> > You could try changing the kernel options and try to boot with, say,
>> > root=/dev/sr1 but the fix is to revisit kernel configuration and
>> > select the proper driver.
>> > BTW, you may need more than just the HDD driver. On some motherboards,
>> > you must also select other drivers (for example, RAID driver even if
>> > you don't intend to use RAID (only one disk?)).
>> > The specifics are hardware-dependant.
>> > -Aleksandar Kuktin
>> P.S. or you did, but the driver is in a module, on /dev/sda5,
>> inaccesible to the kernel process.
>> In that case, just recompile the kernel with the driver built-in.
>> -Aleksandar Kuktin
>> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
>> Unsubscribe: See the above information page
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lfs-support