- Change your system boot priority to CD drive \ USB [depends on your installation media... I selected USB].
- Select option Run Ubuntu from this USB.
- Open the Terminal and run below command to find the partition where Ubuntu Installed.
- sudo fdisk -l [In my system on sda8]
Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 de Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 81920 31145983 15532032 7 HPFS/NTFS/exFAT
/dev/sda3 31145984 197792279 83323148 7 HPFS/NTFS/exFAT
/dev/sda4 197792280 625141759 213674740 f W95 Ext'd (LBA)
/dev/sda5 197792343 354474224 78340941 7 HPFS/NTFS/exFAT
Partition 5 does not start on physical sector boundary.
/dev/sda6 354474288 438606629 42066171 7 HPFS/NTFS/exFAT
/dev/sda7 438606693 522739034 42066171 7 HPFS/NTFS/exFAT
Partition 7 does not start on physical sector boundary.
/dev/sda8 522739712 613423103 45341696 83 Linux
/dev/sda9 613425152 625141759 5858304 82 Linux swap / Solaris
- Execute following 15 commands one by one, then restart your system and revert back the boot priority.
- sudo mount /dev/sda8 /mnt
- sudo mount --bind /dev /mnt/dev
- sudo mount --bind /dev/pts /mnt/dev/pts
- sudo mount --bind /proc /mnt/proc
- sudo mount --bind /sys /mnt/sys
- sudo chroot /mnt
- grub-install /dev/sda
- grub-install --recheck /dev/sda
- update-grub
- exit
- sudo umount /mnt/dev/pts
- sudo umount /mnt/dev
- sudo umount /mnt/proc
- sudo umount /mnt/sys
- sudo umount /mnt
No comments:
Post a Comment