Grub installation on a USB external disk

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Sep 25 17:12:38 UTC 2007


antonio montagnani wrote:
> 2007/9/25, Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
>> antonio montagnani wrote:
>>> I want to install grub on my USB disk, in order to start up any laptop
>>> and in order not to srew my Vista system.
>>> I think that I have to issue
>>>
>>> grub-install /dev/sda
>>>
>>> where sda is my USB disk and after booting from my CD.
>>>
>>> tnx for patience.
>> Double check that. On my system, when you boot from a CD/DVD, the
>> laptop drive is /dev/sda and the USB drive is /dev/sdb. I forgot to
>> save your fdisk output, so I can not double check that.
>>
>>
>>
> from fdisk -l,  I get:
> fdisk -l
> 
> Disco /dev/sda: 160.0 GB, 160041885696 byte
> 
> 255 heads, 63 sectors/track, 19457 cylinders
> Unità = cilindri di 16065 * 512 = 8225280 byte
> 
> Dispositivo Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1          13      104391   83  Linux
> /dev/sda2              14       19457   156183930   8e  Linux LVM
> 
> Disco /dev/sdb: 160.0 GB, 160041885696 byte
> 
> 255 heads, 63 sectors/track, 19457 cylinders
> Unità = cilindri di 16065 * 512 = 8225280 byte
> 
> Dispositivo Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1        1274    10233373+  27  Sconosciuto
> /dev/sdb2   *        1275       10383    73162752    6  FAT16
> /dev/sdb3           10383       19458    72892416    7  HPFS/NTFS
> 
> a question is: why on your system is sda the internal HD and sdb the
> USB disk, while on my exactly the other way round???
> 
Interesting. Maybe because you are loading the USB storage driver in
the initrd, and then loading the IDE drivers after that. I think
that if you booted from the rescue CD or install DVD, they would be
mapped the other way. I never needed to go the custom boot CD route.
 In any case, this is why you double check things.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070925/7b6e5ce2/attachment-0001.sig>


More information about the fedora-list mailing list