public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "fei huang" <daniel.huangfei@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6)
Date: Tue, 26 Dec 2006 17:35:59 +0800	[thread overview]
Message-ID: <5cd9791d0612260135l6922e856heb427fe8c804d350@mail.gmail.com> (raw)
In-Reply-To: <20061226060740.GM86597@tigerfish2.my.domain>

[-- 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 --]

  parent reply	other threads:[~2006-12-26  9:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5cd9791d0612260135l6922e856heb427fe8c804d350@mail.gmail.com \
    --to=daniel.huangfei@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox