On Sat, 11 Jul 2009 12:33:36 -0700, walt wrote:

> My USB stick, e.g. shows up in grub as (hd2).  Now, I can't possibly
> think straight enough to know in advance that the USB stick is (hd2),
> so what I do every time is to use this trick from the grub prompt:
> 
> grub> root (hd<now I hit TAB for a list of all drives that grub finds>
> grub> root (hd<TAB>  
> Possible disks are:  hd0 hd1 hd2   <that narrows it down to three>
> 
> Now for each of the three disks I continue this way:
> grub> root (hd0,<TAB to get a list of all partitions on (hd0)>  
> 
> On the third disk I finally recognize my USB stick because it has only
> one partition, but just to be sure:
> 
> grub> root (hd2,0)/<TAB to get a list of all directories on the
> grub> partition>  
> 
> If by that time I'm still not sure which is the right disk then I'd
> better go take a nap before proceeding ;o)

Or you could use find from the grub prompt. Just put a file identifying
the USB stick in its root directory and find that.


-- 
Neil Bothwick

Computer (n): A device designed to speed and automate errors.

Attachment: signature.asc
Description: PGP signature

Reply via email to