Grub installation on a USB external disk
antonio montagnani
antonio.montagnani at gmail.com
Tue Sep 25 16:54:42 UTC 2007
2007/9/25, Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
> antonio montagnani wrote:
> > 2007/9/25, Mikkel L. Ellertson <mikkel at infinity-ltd.com>:
> >> One thing I forgot to mention - make sure you
> >> change the setting for the splash screen as well. Otherwise grub
> >> tries to load it from the wrong drive and errors out. (I forgot
> >> once.) You then get the grub> prompt, and wounder why.
> >>
> >
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> >
> > is it correct???
> >
> Yes.
> >> You may also want to back up the mbr of your laptop hard drive
> >> before running grub-install. If you goof, you can end up with a
> >> system that will only boot with the USB drive installed. I use
> >> something like "dd if=/dev/sda of=/root/save/sda.mbr count=1".
> >>
> > 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???
--
Antonio Montagnani
Skype : antoniomontag
More information about the fedora-list
mailing list