* [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
@ 2006-12-26 6:07 Bruce Burden
2006-12-26 6:17 ` Dale
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Bruce Burden @ 2006-12-26 6:07 UTC (permalink / raw
To: gentoo-user
Hi gang,
I have a laptop, originally with Windows. I partitioned the
windows space, and installed Gentoo. Fine and well.
Then I replaced the original hard drive with a new one, and
moved the windoze/Gentoo drive to a USB enclosure. I changed the
drive specs from "hda0,x" to "hda1,x", and attempted to boot
Gentoo in single user mode, by appending a 1 to the GRUB string.
That seemed to work, but eventually the process fails with
the:
VFS: Cannot open root device "hda6" or unknown-block(3,6)
message above. Googling about tells me that perhaps the SCSI or
the USB subsystems may not be loaded, and that is why the boot
process fails. One recommendation was the change the /dev/hdaX
notation for the device numerical notation, ie root=0x802.
Now, I have not (quickly) found the numerical notation,
although I did encounter it once upon a time previously. Does
this seem like the correct approach? If so, what would be the
correct notation for the second drive? As I recall, 0x800 was
a SCSI notation?
My GRUB is:
default 0
timeout 8
splashimage=(hd1,5)/boot/grub/splash.xpm.gz
title Gentoo Linux 2.6.15
root (hd1,5)
kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
title Windows
root (hd1,0)
makeactive
chainloader +1
title Failsafe -- Gentoo Linux 2.6.12
kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=nor
mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd1,5)/boot/initrd
and all I have really done is change hd1,X, where originally I
had hda0,X...
I would also like to be able to boot into windoze, and currently
all it does is return to the GRUB menu, so clearly something isn't
right...
Thank you,
Bruce
--
------------------------------------------------------------------------
"I like bad!" Bruce Burden Austin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 6:07 [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) Bruce Burden
@ 2006-12-26 6:17 ` Dale
2006-12-26 9:35 ` fei huang
2006-12-26 11:28 ` Gabriel Rossetti
2 siblings, 0 replies; 8+ messages in thread
From: Dale @ 2006-12-26 6:17 UTC (permalink / raw
To: gentoo-user
Bruce Burden wrote:
>
>
> title Gentoo Linux 2.6.15
> root (hd1,5)
> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
>
> Thank you,
> Bruce
>
Shouldn't you have changed the root= line to hdb instead of hda?
Not sure, but worth looking at.
Dale
:-) :-) :-)
--
www.myspace.com/dalek1967
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 6:07 [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) Bruce Burden
2006-12-26 6:17 ` Dale
@ 2006-12-26 9:35 ` fei huang
2006-12-26 18:26 ` Bruce Burden
2006-12-26 11:28 ` Gabriel Rossetti
2 siblings, 1 reply; 8+ messages in thread
From: fei huang @ 2006-12-26 9:35 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2650 bytes --]
didn't you separate your boot partition from / ?
--> root (hd1,5)
this indicates your BOOT partition (/boot) is located at /dev/hdb6
--> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
possible?
On 12/26/06, Bruce Burden <brucegb@realtime.net> wrote:
>
>
>
> Hi gang,
>
> I have a laptop, originally with Windows. I partitioned the
> windows space, and installed Gentoo. Fine and well.
>
> Then I replaced the original hard drive with a new one, and
> moved the windoze/Gentoo drive to a USB enclosure. I changed the
> drive specs from "hda0,x" to "hda1,x", and attempted to boot
> Gentoo in single user mode, by appending a 1 to the GRUB string.
>
> That seemed to work, but eventually the process fails with
> the:
>
> VFS: Cannot open root device "hda6" or unknown-block(3,6)
>
> message above. Googling about tells me that perhaps the SCSI or
> the USB subsystems may not be loaded, and that is why the boot
> process fails. One recommendation was the change the /dev/hdaX
> notation for the device numerical notation, ie root=0x802.
>
> Now, I have not (quickly) found the numerical notation,
> although I did encounter it once upon a time previously. Does
> this seem like the correct approach? If so, what would be the
> correct notation for the second drive? As I recall, 0x800 was
> a SCSI notation?
>
> My GRUB is:
>
> default 0
> timeout 8
> splashimage=(hd1,5)/boot/grub/splash.xpm.gz
>
>
> title Gentoo Linux 2.6.15
> root (hd1,5)
> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
>
> title Windows
> root (hd1,0)
> makeactive
> chainloader +1
>
> title Failsafe -- Gentoo Linux 2.6.12
> kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off
> acpi=off vga=nor
> mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
> initrd (hd1,5)/boot/initrd
>
>
> and all I have really done is change hd1,X, where originally I
> had hda0,X...
>
> I would also like to be able to boot into windoze, and currently
> all it does is return to the GRUB menu, so clearly something isn't
> right...
>
> Thank you,
> Bruce
> --
> ------------------------------------------------------------------------
> "I like bad!" Bruce Burden Austin, TX.
> - Thuganlitha
> The Power and the Prophet
> Robert Don Hughes
>
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 4652 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 6:07 [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) Bruce Burden
2006-12-26 6:17 ` Dale
2006-12-26 9:35 ` fei huang
@ 2006-12-26 11:28 ` Gabriel Rossetti
2 siblings, 0 replies; 8+ messages in thread
From: Gabriel Rossetti @ 2006-12-26 11:28 UTC (permalink / raw
To: gentoo-user
Hi,
If it's in a USB enclosure, you need your /boot to be in a partition on
your main
disk (the one inside of the laptop), if I'm not mistaking, Fei seams to
think so too.
The hda* is now an sda* (or sdb*, sdc*, etc) because usb storage stuff
emulates scsi.
Gabriel
Bruce Burden wrote:
> Hi gang,
>
> I have a laptop, originally with Windows. I partitioned the
> windows space, and installed Gentoo. Fine and well.
>
> Then I replaced the original hard drive with a new one, and
> moved the windoze/Gentoo drive to a USB enclosure. I changed the
> drive specs from "hda0,x" to "hda1,x", and attempted to boot
> Gentoo in single user mode, by appending a 1 to the GRUB string.
>
> That seemed to work, but eventually the process fails with
> the:
>
> VFS: Cannot open root device "hda6" or unknown-block(3,6)
>
> message above. Googling about tells me that perhaps the SCSI or
> the USB subsystems may not be loaded, and that is why the boot
> process fails. One recommendation was the change the /dev/hdaX
> notation for the device numerical notation, ie root=0x802.
>
> Now, I have not (quickly) found the numerical notation,
> although I did encounter it once upon a time previously. Does
> this seem like the correct approach? If so, what would be the
> correct notation for the second drive? As I recall, 0x800 was
> a SCSI notation?
>
> My GRUB is:
>
> default 0
> timeout 8
> splashimage=(hd1,5)/boot/grub/splash.xpm.gz
>
>
> title Gentoo Linux 2.6.15
> root (hd1,5)
> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
>
> title Windows
> root (hd1,0)
> makeactive
> chainloader +1
>
> title Failsafe -- Gentoo Linux 2.6.12
> kernel (hd1,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=nor
> mal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
> initrd (hd1,5)/boot/initrd
>
>
> and all I have really done is change hd1,X, where originally I
> had hda0,X...
>
> I would also like to be able to boot into windoze, and currently
> all it does is return to the GRUB menu, so clearly something isn't
> right...
>
> Thank you,
> Bruce
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 9:35 ` fei huang
@ 2006-12-26 18:26 ` Bruce Burden
2006-12-26 18:38 ` Mick
0 siblings, 1 reply; 8+ messages in thread
From: Bruce Burden @ 2006-12-26 18:26 UTC (permalink / raw
To: gentoo-user
Hi Fei,
On Tue, Dec 26, 2006 at 05:35:59PM +0800, fei huang wrote:
> didn't you separate your boot partition from / ?
>
> --> root (hd1,5)
> this indicates your BOOT partition (/boot) is located at /dev/hdb6
>
Originally, this would have been:
root(hd0,5)
>
> --> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
> this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
> possible?
>
while I have not changed this line.
/boot is part of the / heirarchy, which is on /dev/hda6 assuming
the disk is an IDE disk in the laptop.
What I have is:
IDE: FreeBSD, with FreeBSD MBR
USB enclosure:
first 2 partitions Windows
hda5 - SWAP
hda6 - /
hda7 - /var
hda8 - /usr
hda9 - /tmp
hda10 - /usr/src
hda11 - /usr/portage
hda12 - /home
GRUB is instaled in MBR.
Now, on boot, the FreeBSD bootloader gets me to the GRUB loader on
the USB drive.
What I believe I need to know is how to remap the partitions on the
original IDE drive to SCSI partitions, because that drive is now in the USB
enclosure.
Also, I need to know how to "change" the Windows partition so that
Windows believe it is the first disk, otherwise it will not boot.
Bruce
--
------------------------------------------------------------------------
"I like bad!" Bruce Burden Austin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 18:26 ` Bruce Burden
@ 2006-12-26 18:38 ` Mick
2006-12-27 8:45 ` Robin Atwood
0 siblings, 1 reply; 8+ messages in thread
From: Mick @ 2006-12-26 18:38 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]
On Tuesday 26 December 2006 18:26, Bruce Burden wrote:
> Hi Fei,
>
> On Tue, Dec 26, 2006 at 05:35:59PM +0800, fei huang wrote:
> > didn't you separate your boot partition from / ?
> >
> > --> root (hd1,5)
> > this indicates your BOOT partition (/boot) is located at /dev/hdb6
>
> Originally, this would have been:
>
> root(hd0,5)
>
> > --> kernel /boot/linux-2.6.15-gentoo-r1 root=/dev/hda6
> > this indicates your ROOT partition ( your / ) locates at /dev/hda6, is is
> > possible?
>
> while I have not changed this line.
>
> /boot is part of the / heirarchy, which is on /dev/hda6 assuming
> the disk is an IDE disk in the laptop.
>
> What I have is:
>
> IDE: FreeBSD, with FreeBSD MBR
> USB enclosure:
> first 2 partitions Windows
> hda5 - SWAP
> hda6 - /
> hda7 - /var
> hda8 - /usr
> hda9 - /tmp
> hda10 - /usr/src
> hda11 - /usr/portage
> hda12 - /home
> GRUB is instaled in MBR.
>
> Now, on boot, the FreeBSD bootloader gets me to the GRUB loader on
> the USB drive.
>
> What I believe I need to know is how to remap the partitions on the
> original IDE drive to SCSI partitions, because that drive is now in the
> USB enclosure.
You can use tab auto-completion in grub to see what drives and partitions are
identified as.
> Also, I need to know how to "change" the Windows partition so that
> Windows believe it is the first disk, otherwise it will not boot.
That's right, it won't. You need the map command in your grub.conf:
map (hd0) (hd1)
map (hd1) (hd0)
WinXP will now think that it is on the first disk and it will boot happily.
--
Regards,
Mick
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-26 18:38 ` Mick
@ 2006-12-27 8:45 ` Robin Atwood
2006-12-28 1:07 ` Luca Botti
0 siblings, 1 reply; 8+ messages in thread
From: Robin Atwood @ 2006-12-27 8:45 UTC (permalink / raw
To: gentoo-user
On Wednesday 27 December 2006 01:38, Mick wrote:
> On Tuesday 26 December 2006 18:26, Bruce Burden wrote:
> You can use tab auto-completion in grub to see what drives and partitions are
> identified as.
>
> > Also, I need to know how to "change" the Windows partition so that
> > Windows believe it is the first disk, otherwise it will not boot.
>
> That's right, it won't. You need the map command in your grub.conf:
>
> map (hd0) (hd1)
> map (hd1) (hd0)
>
> WinXP will now think that it is on the first disk and it will boot happily.
I recently had that message because I changed a partition's file system to ext3
and ext3 was neither compiled into the kernel nor in the initrd file. In this case,
I think the USB Mass Storage module will need to be available plus the SCSI support.
HTH
-Robin.
--
------------------------------------------------------
Robin Atwood
------------------------------------------------------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
2006-12-27 8:45 ` Robin Atwood
@ 2006-12-28 1:07 ` Luca Botti
0 siblings, 0 replies; 8+ messages in thread
From: Luca Botti @ 2006-12-28 1:07 UTC (permalink / raw
To: gentoo-user
Funny. From kernel 2.6.18 on I receive this message when cold-booting my
(linux only) notebook.
On second try, it all works well.
Disk geometry and partitioning has not been changed. I guess a bug in kernel.
Alle Wednesday 27 December 2006 09:45, Robin Atwood ha scritto:
> On Wednesday 27 December 2006 01:38, Mick wrote:
> > On Tuesday 26 December 2006 18:26, Bruce Burden wrote:
> >
> > You can use tab auto-completion in grub to see what drives and partitions
> > are identified as.
> >
> > > Also, I need to know how to "change" the Windows partition so that
> > > Windows believe it is the first disk, otherwise it will not boot.
> >
> > That's right, it won't. You need the map command in your grub.conf:
> >
> > map (hd0) (hd1)
> > map (hd1) (hd0)
> >
> > WinXP will now think that it is on the first disk and it will boot
> > happily.
>
> I recently had that message because I changed a partition's file system to
> ext3 and ext3 was neither compiled into the kernel nor in the initrd file.
> In this case, I think the USB Mass Storage module will need to be available
> plus the SCSI support.
>
> HTH
> -Robin.
> --
> ------------------------------------------------------
> Robin Atwood
> ------------------------------------------------------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-12-28 1:11 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-26 6:07 [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) Bruce Burden
2006-12-26 6:17 ` Dale
2006-12-26 9:35 ` fei huang
2006-12-26 18:26 ` Bruce Burden
2006-12-26 18:38 ` Mick
2006-12-27 8:45 ` Robin Atwood
2006-12-28 1:07 ` Luca Botti
2006-12-26 11:28 ` Gabriel Rossetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox