reinstall f*cking grub after f*cking upgrade , not so frequently
- boot using systemrescuecd
- mount the localdisk , you can find all disks using
fdisk -l
- now add system mount ( /dev and /sys ) on the mounted disk
mount --bind /dev /mnt/dev &&
mount --bind /dev/pts /mnt/dev/pts &&
mount --bind /proc /mnt/proc &&
mount --bind /sys /mnt/sys - chroot in the partition
% chroot /mnt/linux /bin/bash
- install grub
grub-install -root-directory=/mnt/ /dev/sdX
- umount everything to reboot the rescue system
umount /mnt/sys &&
umount /mnt/proc &&
umount /mnt/dev/pts &&
umount /mnt/dev &&
umount /mnt - reboot