- ubuntu@ubuntu:~$ sudo mount /dev/sda3 /mnt
- ubuntu@ubuntu:~$ sudo mount --bind dev /mnt/dev
- mount: special device dev does not exist
- ubuntu@ubuntu:~$ sudo mount --bind /dev /mnt/dev
- ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/proc
- ubuntu@ubuntu:~$ sudo mount --bind /proc /mnt/sys
- ubuntu@ubuntu:~$ sudo chroot /mnt
- root@ubuntu:/# grub-install /dev/sda
- Installation finished. No error reported.
- root@ubuntu:/# update-grub
- Generating grub.cfg ...
- Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
- Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
- Found memtest86+ image: /boot/memtest86+.bin
- Cannot find list of partitions! (Try mounting /sys.)
- done
- root@ubuntu:/#
SHARE
TWEET
Untitled
a guest
May 24th, 2012
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data

