How do I use chroot in Ubuntu?
Answer
Recover Grub
Answer
Recover Grub
- Boot the Ubuntu Live CD.
- Press Ctrl-Alt-F1.
- Find the partition where your /boot directory is (normally the root partition) check the previous tip for that.
- sudo mount /dev/sda1 /mnt.
- sudo chroot /mnt.
- grub.
- find /boot/grub/stage1 (will output a partition name like (hd0,3) )
- root (hd0,3)