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