[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual boot comoputer



On Sun, 5 Mar 2006 04:56:59 -0800 (PST)
Willie Wonka <floydstestemail@yahoo.com> wrote:

> Andrei Popescu wrote:
> > On Sat,  4 Mar 2006 00:33:39 -0700
> > nano@xmission.com wrote:
> > 
> > I see you have knoppix. Boot with it. Find out what your / partition
> is. I will assume it is /dev/hda2. Open a root console and type these
> commands:
> > 
> > umount /dev/hda2
> > mount -o rw /dev/hda2 /mnt/hda2
> > mount -o bind /dev /mnt/hda2/dev
> > chroot /mnt/hda2
> > mount /proc
> > grub-install
> > exit
> > reboot
> > 
> > This should do the trick ;)
> > 
> > Andrei
> > P.S. I think some steps can be ommitted, but it won't hurt if you do
> them :)
> 
> Above is pretty nice - however I'm notsure how some of those command
> lines help ad do whatever they do -- but just wanted to say

Actually that sequence is needed with lilo. And if you do the grub-install in the abreviated form it will install the grub present on knoppix and not the one on the system. It should work fine in most cases, but you never know ...

But more important, I forgot grub-install needs the install device, so it should be

grub-install /dev/hda

This will put it on the MBR of the hdd.

Andrei
-- 
If you can't explain it simply, you don't understand it well enough. (Albert Einstein)



Reply to: