Re: [Hampshire] windows grub repair suse 10.2

Top Page

Reply to this message
Author: m.nuttall
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] windows grub repair suse 10.2
Quoting John Cooper <lug@???>:

> m.nuttall@??? wrote:
> > Quoting John Cooper <lug@???>:
> >
> >
> > I dont know what chroot means, i presume it means change to root
> something.
> > Can you tell me command line for chroot
> >
> Change root will define a new root (/) path. After booting from a rescue
> CD you need to mount the root partition on the harddrive


Done that with mount -t ext3 /dev/hda6 /root

> then chroot to
> it. E.g.
>
> mkdir /mnt/newroot


that line returns:
/root/bin/mkdir no such file or dir

> mount /dev/hda7 /mnt/newroot
> chroot /mnt/newroot
>
> You can now root grub-install to install in the master boot record (MBR).
>
> grub-install /dev/hda
>
> Look at the man page
>
> man grub-install
>
> where there are other options like
>
> --root-directory=DIR


Martin N

----------------------------------------------
This mail sent through http://www.ukonline.net