From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Gz8n2-0008Qs-W2 for garchives@archives.gentoo.org; Tue, 26 Dec 2006 09:40:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBQ9c12T023058; Tue, 26 Dec 2006 09:38:01 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBQ9a0e3009482 for ; Tue, 26 Dec 2006 09:36:00 GMT Received: by nf-out-0910.google.com with SMTP id c31so7196653nfb for ; Tue, 26 Dec 2006 01:36:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AXCTZpyUhBbNWjLtTBGv6swf7hxvNNa4uL3YllIHEf4P9HlkWwDl2olYT3llV0Okx2oxZkI/ObZHfw+e9Qw7RMZKC93G3ClhfIHyxCi8LBkVkR6Ufws/nKZ4ETVJSnfLPPwFJ9EUXvTrObtBvylqJw5xfZnUuEHrt8zA/ELF0BY= Received: by 10.82.162.14 with SMTP id k14mr170849bue.1167125760189; Tue, 26 Dec 2006 01:36:00 -0800 (PST) Received: by 10.82.159.18 with HTTP; Tue, 26 Dec 2006 01:35:59 -0800 (PST) Message-ID: <5cd9791d0612260135l6922e856heb427fe8c804d350@mail.gmail.com> Date: Tue, 26 Dec 2006 17:35:59 +0800 From: "fei huang" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] VFS: Cannot open root device "hda6" or unknown-block(3,6) In-Reply-To: <20061226060740.GM86597@tigerfish2.my.domain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_106618_6088593.1167125759402" References: <20061226060740.GM86597@tigerfish2.my.domain> X-Archives-Salt: bfc5a62c-0bc4-491b-8d90-35b0290458bb X-Archives-Hash: db033bbd64e28a9f5e58c9804f14e4b7 ------=_Part_106618_6088593.1167125759402 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 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 > > ------=_Part_106618_6088593.1167125759402 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_106618_6088593.1167125759402-- -- gentoo-user@gentoo.org mailing list