Re: How Do I Get GRUB to See the External USB Drive?



On Mon, Jun 15, 2009 at 12:42 PM, Sjoerd Hardeman <
sjoerd@xxxxxxxxxxxxxxxxxxxxx> wrote:

Scarletdown schreef:
On Mon, 2009-06-15 at 16:53 +0200, Sjoerd Hardeman wrote:
Can you check the contents of /boot/grub/device.map? I think you need to
make sure your usb device is mentioned there for it to work at boot
time. If it is not there, redo update-grub and check if the usb drive is
added to device.map. If so, do a grub-install and then things should
work.

cat /boot/grub/device.map
(hd0) /dev/hda
(hd1) /dev/hdb
Try adding
(hd2) /dev/hd? (your usb disk)
and then do a grub-install


I have since gone on to plan B and installed XP on the internal SCSI drive
(/dev/sda1). This has created a whole new problem.

Before I installed, I went into the BIOS and disabled the IDE hard drive
(/hda), just so that Windows would not overwrite my MBR. Well, it overwrote
it anyway, apparently completely ignoring the BIOS settings. Now the Linux
side of the system is not bootable.

I booted with an Ubuntu 6.10 CD and tried to repait the MBR with a procedure
I found on the Ubuntu forums (went with the Ubuntu disk because that was the
first Live CD I was able to dig up.)

It went like this:

sudo grub
find /boot/grub/stage1 (this returned something to the effect of hd(0,0) )

Then I did root (hd0,0)
setup (hd0)
quit

I then rebooted without the Ubuntu disk in the drive, and the system still
went to Windows, even though the boot order in the BIOS is set to
CD-ROM/Floppy/HDD0 (where HDD0 is the IDE hard drive, not the SCSI drive).

I tried rebooting with the SCSI drive disconnected and the system just froze
up as if there was no bootable partition at all (I had double checked to
make sure the drive's partition was set active).

I tried installing GRUB on the MBR of the SCSI drive and setting root to the
first partition on the Linux drive, but that also failed (all that happened
was GRUB was printed across the screen endlessly.)

Any other suggestions to get my Linux system back and operational again?
Like I said, it is there, just not accessible. Is it possible that the
version of GRUB that is on the Ubuntu disk (I believe 6.10 is Feisty
Fawn...not sure what the most recent is)is too old for my sustem? (I seem
to recall updating it just a day or two ago. In fact, I definitely remember
updating GRUB just yesterday in hopes that would help with the original
problem.


Relevant Pages

  • Re: Naming harddisks (Linux)
    ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
    (comp.os.linux.misc)
  • Re: Ubuntu on an external drive---how to?
    ... i can't boot from my external USB device... ... Grub error 17 is "can't mount partition" (please post the error messages, ... You might try installing grub to the USB drive's partition superblock, ...
    (Ubuntu)
  • Another Ubuntu on external drive question
    ... but neither seems able to find the USB drive from ... partition and a swap, and everything ran fine until installing Grub (as ... rebooted (first resetting the USB HD to have a higher boot priority in the ...
    (Ubuntu)
  • Re: GRUB Problem: Cant Boot off my USB Disk
    ... My PC BIOS supports booting from USB devices, so I decided to load FC5 ... I may be experiencing a syntax or GRUB ... I can select to boot off that device when I turn on my PC (by ...
    (comp.os.linux.setup)
  • Re: F8 installation in external usb disk (not USB key)
    ... map (hd0) ... the USB drive is hd0 when the chainload ... and it loads Grub from the USB drive. ...
    (Fedora)