grub install problem on usb floppy

Karl Hegbloom hegbloom at pdx.edu
Sun Jul 3 04:23:28 UTC 2005


On Sat, 2005-07-02 at 18:14 -0700, gm c wrote:
> I have a new laptop that I have installed 3 linux distros on
> partitions above win xp. I am trying to install grub to usb floppy to
> boot from. I am using mepis live cd. I get a root terminal and type
> grub to get grub prompt. I have previously copied stage1 and stage2
> to floppy at /dev/sda--/mnt/floppy. grub> find /grub/stage1 works ok
> but 
> grub> setup (sd0) wont find device. I tried (fd0) , (sd0,0)
> ,/dev/sda.

It's probably (hd1) or (hd2).  Try "root (hd1,0)" (IIRC), then the
"find" and see if that works, then do the "setup".

> To boot from the hda I made a small partition (hd3) below 1024
> sectors and installed grub to it and change the active partition to
> (hd3) but some thing seems to force (hd1) to be active.

So /dev/hda3 is mounted on "/boot" for all your Linux distros, and
contains a grub/ directory with all of the necessary files in it?  I
think that you can make it active by running the 'grub' shell and then:

 setup (hd0) (hd0,2)

(check me by displaying "help setup" to be sure that's correct)

-- 
Karl Hegbloom <hegbloom at pdx.edu>





More information about the ubuntu-users mailing list