[Howto] [Linux] [Tips and Tricks] [Windows]
How to get back missing Windows OS from the Grub boot menu
Don't want to miss a single bit? Subscribe to our RSS Feed!
If your Linux OS was installed before you Windows OS, Linux Grub boot loader will not show Windows OS in his menu. To back or to show your missing Windows OS option in Grub boot menu you need manual editing of the Grub boot menu file. Next simple steps will show you how to do that:
1. Boot into linux.
2. Open terminal.
3. We must make backup file in case if something go wrong, so we can make a recovery from backup file. Make backup of menu.lst with this command:
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst.backup
4. Now, open menu.lst with:
sudo gedit /boot/grub/menu.lst
You will see all active boot OS options: (I use Ubuntu linux, but this list is the same in all linux distributions):
title Ubuntu 7.10, kernel 2.6.22-14-generic5. Enter the folowing code on the top of this list. This will make Windows primary boot OS. If you want Windows OS as a second option write folowing lines after first ubuntu option:
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUI...
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UU....
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin
quiet
title Windows XP or Vista6. Save menu.lst file.
root (hd0,0)
makeactive
chainloader +1
7. Restart Computer!
Did you enjoy this post? Why not leave a comment below and continue the conversation, or Subscribe to Feed and get articles like this delivered automatically to your Email or feed reader.
0 comments:
Post a Comment