themadjester
September 29th, 2010, 07:18 AM
Hello all,
I am having trouble reinstalling grub so That I can see both my linux and windows partitions in the cain loader.
Originally I had ubuntu, then I installed window, this wiped out grub so I had to reinstate it, and that went ok. Then I tried to get fancy and install another Linux on my machine. It did not wipe out my partitions but is defunct
I have been following these instructions,
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
To no success. Grub2 installs fine,
sudo grub-install --root-directory=/media/(my part ion) /dev/sda2
and I install it to sda2, but the
"
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
"
only shows the 1st line, and when I boot grub is there are a grub command prompt but there are no os to load :(
Thanks in advance,
Jester
I have no idea were to go from here except try and try again again again :(
I am having trouble reinstalling grub so That I can see both my linux and windows partitions in the cain loader.
Originally I had ubuntu, then I installed window, this wiped out grub so I had to reinstate it, and that went ok. Then I tried to get fancy and install another Linux on my machine. It did not wipe out my partitions but is defunct
I have been following these instructions,
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
To no success. Grub2 installs fine,
sudo grub-install --root-directory=/media/(my part ion) /dev/sda2
and I install it to sda2, but the
"
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(hd0) /dev/sda
"
only shows the 1st line, and when I boot grub is there are a grub command prompt but there are no os to load :(
Thanks in advance,
Jester
I have no idea were to go from here except try and try again again again :(