Quoting John Cooper <lug@???>:
> m.nuttall@??? wrote:
> > Quoting John Cooper <lug@???>:
> >
> >
> >> m.nuttall@??? wrote:
> >>
> >>> 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
> >>>
> >>>
> >> Without the -t is should default to auto detect, but if you know it is
> >> ext3, you can define it.
> >>
> >>>
> >>>
> >>>> then chroot to
> >>>> it. E.g.
> >>>>
> >>>> mkdir /mnt/newroot
> >>>>
> >>>>
> >>> that line returns:
> >>> /root/bin/mkdir no such file or di
> >>>
> >> All you need is a new directory under / (root directory), so try
> >> /tmp/newroot or /newroot.
> >>
> >
> > ok that all works ok until:
> >
> > grub-install /dev/hda
> >
> > that returns:"/dev/hda:not found or not a block device"
> >
> Assuming for did
> # mkdir /newroot
> # chroot /newroot
> # grub-install /dev/hda
>
> What is the output of
> # fdisk -l
right the terminal output is this:
"ubuntu@ubuntu:~$ sudo mkdir /mnt/newroot
ubuntu@ubuntu:~$ sudo mount /dev/hda7 /mnt/newroot
ubuntu@ubuntu:~$ sudo chroot /mnt/newroot
ubuntu:/# grub-install /dev/hda
/dev/hda: Not found or not a block device.
ubuntu:/# fdik -l
bash: fdik: command not found
ubuntu:/# fdisk -l
cannot open /proc/partitions
ubuntu:/# "
thanks
Martin N
----------------------------------------------
This mail sent through
http://www.ukonline.net