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 then chroot to
it. E.g.
mkdir /mnt/newroot
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
--
--------------------------------------------------------------
Discover Linux - Open Source Solutions to Business and Schools
http://discoverlinux.co.uk
--------------------------------------------------------------