Thanks, you are helpful and knowledgeable. I already got a lot of help.
I am just translating an instruction how to repair GRUB2 by chroot (into Swedish). When I came to this part I wanted to add a little explanation.
Code:
sudo -i
mount /dev/sda7 /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /usr/ /mnt/usr
chroot /mnt
I wanted to add an explanation of why you should mount more directories than sdaX:
Code:
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /usr/ /mnt/usr
Maybe this is a simple and reasonably accurate explanation: ??
In addition to mounting your Ubuntu partition you should also mount /dev, /proc, /sys, /usr from the LiveCD
in order to ensure that the system you are working from is fresh and without errors.
Bookmarks