Problems with setiing up dual boot between UBUNTU AND WINDOWS
since a few days i ve trying to setup dual boot between UBUNTU 11.10 and WINDOWS 7. i ve tried many things one of which is as following from a live cd
Code:
root (hd0,0) Code:
cannot setup mentioned partition Code:
sudo mount /dev/sda1 /boot Code:
grub-setup: error: cannot stat /boot/grub/ i first installed ubuntu and then windows.... i ve not used dual boot before so i am new to it and so expect an answer in detail.... THNX...:) |
Hi
As you have just installed the OS,s it might make it easier to reinstall loading windows 1st then Ubuntu. That way grub sorts out the problem of loading both systems. |
Quote:
I assume that you are doing this all from a live CD and that Ubuntu is on /dev/sda1, so try: Code:
sudo mount /dev/sda1 /mnt |
Quote:
Quote:
https://help.ubuntu.com/community/Re...tallingWindows |
Ahh, I missed that. OK, small revision:
Code:
sudo mount /dev/sda8 /mnt |
Quote:
Quote:
|
Boot Ubuntu as normal then run
Code:
sudo update-grub |
try
Code:
sudo update-grub |
i used this
Code:
sudo update-grub Code:
Searching for GRUB installation directory ... found: /boot/grub |
OK.. Can you try adding the entries manually in GRUB Configuration file and see if you can booth the Windows?
Quote:
|
Code:
title Windows Code:
### BEGIN AUTOMAGIC KERNELS LIST |
Are you using grub legacy or grub 2? (grub 2 version is 1.99)
|
i think i was using grub
which uses "menu.lst" but now i upgraded to grub2 and using grub.cfg i got dual boot i did Code:
sudo apt-get install grub2 THNX EVERYBODY THERE....:):):) |
All times are GMT -5. The time now is 03:47 PM. |