LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 11-23-2008, 07:36 AM   #1
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Rep: Reputation: 30
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?
 
Old 11-23-2008, 07:54 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 871
Blog Entries: 9

Rep: Reputation: 103Reputation: 103
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
 
Old 11-23-2008, 10:21 AM   #3
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
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
 
Old 11-23-2008, 10:48 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,603
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Or if you are stuck, you could download the supergrub cd which will fix it automatically.
http://www.supergrubdisk.org/
 
Old 11-25-2008, 02:35 AM   #5
asilentmurmur
Member
 
Registered: Mar 2005
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Duck2006 View Post
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...
 
Old 11-26-2008, 08:06 AM   #6
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
From the terminal type,

sudo fdisk -l

and post the output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New install on vista system, want dual boot for vista and fedora. lhelden Linux - Newbie 9 08-21-2008 11:22 AM
Installed Linux, Now Vista wont boot David819 Linux - Newbie 21 08-11-2008 03:35 PM
Fedora and Vista Dual Boot (vista installed first) firekid1239 Linux - Newbie 10 05-04-2008 10:35 PM
Installed Ubuntu 7 but it wont boot Sir P Linux - General 12 05-19-2007 09:28 AM
Adding Vista to an already installed Linux machine (dual boot) dongmin Linux - General 2 10-06-2006 08:49 PM


All times are GMT -5. The time now is 02:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration