PDA

View Full Version : [SOLVED] getting back dual boot


chubbtech
June 26th, 2008, 09:46 PM
HI, I have a brand new Dell Inspiron 530 (core 2duo 3MB ram 250G HD) that came with Vista Home Basic. After installing Hardy Heron Vista got corrupted somehow so I reintalled. I know my ubuntu partition is still there but I want to get my boot menu back....is there an easy way?

thanx

Ptero-4
June 26th, 2008, 09:55 PM
You can use easybcd to boot ubuntu from the vista bootloader, or you can use the ubuntu liveCD to get to a cli, mount your HD, navigate to the mount point and type
chroot .
to change root (required)
then type
update-grub
to reinstall grub
and then
exit
to get out of the chroot.
And then reboot.

chubbtech
June 26th, 2008, 10:23 PM
Actually my ubuntu cd didn't have the live option so I installed within windows, and guess what??? Ubuntu is trully amazing, it analyzed my disk and rebuilt the whole grub menu without me lifting a finger, (or maybe this is just usual ubuntu behavior)
;)
thanx again

Law506
June 26th, 2008, 11:11 PM
Alright, change to all that I have said before.
I mounted my drive and navigated to the mount point and typed in update-grub, after the "chroot ." command.

I typed sudo to get all of those to work and it began working but came back with an error of permission denied with /dev/null.

I put sudo in front. "sudo update-grub" and got the permission denied error. Is there something I missed in there? I am on the LiveCD.

Thanks.

Ptero-4
June 28th, 2008, 10:25 PM
Hmm. If it failed, type
sudo chroot .
that way you transfer the root credentials to the chroot.