Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-27 Thread Robin Atwood
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



Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-27 Thread Luca Botti

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



Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread fei huang

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 [EMAIL PROTECTED] 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 BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Gabriel Rossetti

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



Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Bruce Burden


   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 BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-26 Thread Mick
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


pgprxLrJlgKvi.pgp
Description: PGP signature


[gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-25 Thread Bruce Burden


   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 BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VFS: Cannot open root device hda6 or unknown-block(3,6)

2006-12-25 Thread Dale
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