Installing grub to dual boot

Collins Richey crichey
Fri Jun 10 23:39:44 PDT 2005


On 6/10/05, Brad De Vries <devriesbj at gmail.com> wrote:
> On 6/10/05, Man-wai Chang <mwchang at i-cable.com> wrote:
> > Brad De Vries wrote:
> > > 11) I've booted from the FC3 disk in rescue mode and Knoppix and
> > > neither will successfully run "grub-install /dev/hda2".  The command
> > > hangs.
> >
> > you need to remount the /dev/hda2 with `-o dev` in Knoppix.
> 
> Man-wai, I tried this but it didn't seem to make a difference.
> 
> It appears the problem is that I don't have any devices in /dev after
> I've chroot-ed.  How does one start udev so that all the device files,
> including /dev/hda*, become available?  I've tried running
> "/sbin/start_udev" but it just exits with status=-1.
> 

Try the following command after chroot

mknod /dev/hda b 3 0 (on my system at least hda is major 3 minor 0

Then do the grub-install or use my procedure.

-- 
 Collins
       Head teachers of the world unite: you have nothing to lose but 
       the Start button.



More information about the Linux-users mailing list