LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Installed Ubuntu on a system with Vista and XP, now wont boot into Linux. help! (https://www.linuxquestions.org/questions/ubuntu-63/installed-ubuntu-on-a-system-with-vista-and-xp-now-wont-boot-into-linux-help-685532/)

asilentmurmur 11-23-2008 06:36 AM

Installed Ubuntu on a system with Vista and XP, now wont boot into Linux. help!
 
Hey Everyone

Earlier today I installed Ubuntu 8.10 Desktop edition on a hard drive that already has Windows Vista and Windows XP installed on it. Now whenever I reboot the system, it does not even go to LILO it goes directly to a screen that gives me the choice to either boot into Vista or XP, but not Linux at all. Any suggestions on how to remedy this problem?

serafean 11-23-2008 06:54 AM

Boot from a liveCD, mount / and /boot ; chroot into the mounted partitions ("chroot /mnt/*** /bin/bash") and run grub-install. Or see if Ubuntu has a graphical way to only install the bootloader.

Serafean

Duck2006 11-23-2008 09:21 AM

In the live cd from the terminal,

sudo grub
find /boot/grub/stage1 (with what this comes back with use in the next step)
root (hdx,y)
setup (hd0)
quit

Then reboot the system

Some info on grub.

http://users.bigpond.net.au/hermanzone/p15.htm

sycamorex 11-23-2008 09:48 AM

Or if you are stuck, you could download the supergrub cd which will fix it automatically.
http://www.supergrubdisk.org/

asilentmurmur 11-25-2008 01:35 AM

Quote:

Originally Posted by Duck2006 (Post 3351866)
In the live cd from the terminal,

sudo grub
find /boot/grub/stage1 (with what this comes back with use in the next step)
root (hdx,y)
setup (hd0)
quit

Then reboot the system

Some info on grub.

http://users.bigpond.net.au/hermanzone/p15.htm

I ran the first 2 commands and this is the output that I got:


grub> find /boot/grub/stage1
(hd1,6)
(hd2,1)


any idea which of those outputs do i use for hdx?

root(hdx,y)
setup(hd0)

and does it have to be hd0 in the setup command?

because I have 3 harddrives on my system all of which have various OS's on them and partitions...

Duck2006 11-26-2008 07:06 AM

From the terminal type,

sudo fdisk -l

and post the output.


All times are GMT -5. The time now is 01:44 AM.