Re: [lfs-support] Cannot open root device sda1

2012-01-03 Thread Simon Geard
On Mon, 2012-01-02 at 08:42 -0800, brown wrap wrote:

 Actually, I answered my own question, I changed fstab to hda and that
 allowed it to boot. I don't quite understand it, since I thought hda
 was for scsi and this is an ols laptop which uses IDE.

Other way around. Traditionally, 'hd' was for IDE and 'sd' was for SCSI,
though under a modern kernel, pretty much everything should be using
'sd'. That includes USB devices, SATA, and these days, most IDE drives
too.

If your LFS kernel is using 'hd' but Fedora uses 'sd', you're probably
*not* using the same drivers. You're using the older one (under the
ATA/IDE section in the kernel configuration), and they're using the
newer one (under SATA/PATA), or something like that). Both may work, but
the former are considered obsolete.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


[lfs-support] Cannot open root device sda1

2012-01-02 Thread brown wrap
I am using LFS 7.0. I have completed everything just trying to boot the system. 
When I do boot,it panics and  I get:

Cannot open root device sda1 or unknown=block(2,0)

...
hda1
hda2
hda3
hda4

My grub.cfg looks just like the one in the book. On the same machine, I booted 
into Fedora, which was using a 2.6 kernel and used lspci to see which drivers I 
needed, and included those. I did build the grub cd so I can boot from that and 
try different approaches. I am trying to figure out if I am missing a driver, 
or I have grub.cfg misconfigured.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Cannot open root device sda1

2012-01-02 Thread Andrew Benton
On Mon, 2 Jan 2012 06:52:55 -0800 (PST)
brown wrap gra...@yahoo.com wrote:

 I am using LFS 7.0. I have completed everything just trying to boot the 
 system. When I do boot,it panics and  I get:
 
 Cannot open root device sda1 or unknown=block(2,0)

Maybe it's called sdb1 or hda1 or perhaps you compiled your kernel with
modules?

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Cannot open root device sda1

2012-01-02 Thread brown wrap

Maybe it's called sdb1 or hda1 or perhaps you compiled your kernel with
modules?

I considered hba1, but never changed it since when I boot into Fedora, I always 
mounted it as /dev/sda1. Anyway that got me beyond that panic, but now its 
complaining about  fs ext3. At this point should my fstab be using /dev/hda 
instead of /dev/sda I set up? Or is it complaining about not recognizing the 
filesystem type of ext3? Thank you.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Cannot open root device sda1

2012-01-02 Thread brown wrap


Actually, I answered my own question, I changed fstab to hda and that allowed 
it to boot. I don't quite understand it, since I thought hda was for scsi and 
this is an ols laptop which uses IDE.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Cannot open root device sda1

2012-01-02 Thread Dustin Essington
hd* has always been used for IDE if i remember correctly.

Sent from my iPhone

On Jan 2, 2012, at 11:42, brown wrap gra...@yahoo.com wrote:



Actually, I answered my own question, I changed fstab to hda and that
allowed it to boot. I don't quite understand it, since I thought hda was
for scsi and this is an ols laptop which uses IDE.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page