1

[ubuntu] grub2 problem

view story
linux-howto

http://ubuntuforums.org – hi i have installed windows 7 then Ubuntu , all works find so far after i installed windows xp , the grub2 got deleted ofc and windows xp was booting directly , so i repaired my grub { 1 sudo mount /dev/sdXY /mnt 2 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 3 sudo chroot /mnt 4 grub-install /dev/sdX 5 grub-install --recheck /dev/sdX 6 update-grub 7 exit && sudo umount /mnt/dev && sudo umount /mnt/dev/pts && sudo umount (Hardware)