Monday, September 9, 2019

dual boot - How do I add windows 7 on a new hard drive to grub

I have Ubuntu 14.04 installed on an SSS running perfectly. Got a new 2TB drive that has Windows 7 installed on it.



How do I add Windows 7 to my grub menu?



This is output of sudo update-grub:



Searching for GRUB installation directory ... 
found: /boot/grub Searching for default file ...
found: /boot/grub/default Testing for an existing GRUB menu.lst file ...

found: /boot/grub/menu.lst Searching for splash image ...
none found, skipping ...
Found kernel: /boot/vmlinuz-3.13.0-51-generic
Found kernel: /boot/vmlinuz-3.13.0-49-generic Found kernel: /boot/vmlinuz-3.13.0-24-generic
Found kernel: /boot/memtest86+.bin Updating /boot/grub/menu.lst ... done


This is the output of sudo os-prober:



sudo os-prober /dev/sdc1:Windows 7 (loader):Windows:chain

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...