LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-06-2005, 10:46 PM   #1
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Rep: Reputation: 15
GRUB config for FC3/Ubuntu/Windows


I dediced to try Ubunto on my last partition. It doesn't boot.

I have a 74gig SATA HDD, with partitions:

1: ~30gig, NTFS, Windows XP
2: ~29gig, ext3, Fedora Core 3
3: ~1gig, swap
4: ~9gig, ext3, Ubuntu

my grub.conf:
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,1)
#          kernel /boot/vmlinuz-version ro root=/dev/sda2
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 3 (2.6.10-1.770_FC3)
	root (hd0,1)
	kernel /boot/vmlinuz-2.6.10-1.770_FC3 ro root=LABEL=/ rhgb quiet
	initrd /boot/initrd-2.6.10-1.770_FC3.img
title Fedora Core 3 (2.6.9-1.667)
	root (hd0,1)
	kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
	initrd /boot/initrd-2.6.9-1.667.img
title Ubuntu 5.04
        root (hd0,1)
        kernel /vmlinuz root=/dev/sda4
        initrd /initrd.img
title Windows XP Professional (SP2)
	rootnoverify (hd0,0)
	chainloader +1
I'm almost sure it has something to do with the root(blah) lines, or maybe the kernel stuff (but i got that off ubuntu forums i think, so taht should be right, except maybe kernel version?).
 
Old 04-06-2005, 11:09 PM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Try changing the root part for Ubuntu to from (hd0,1) to (hd0,3).
 
Old 04-06-2005, 11:11 PM   #3
Tuvok
Member
 
Registered: Mar 2003
Distribution: FreeBSD 6.1, NetBSD 3.0.1
Posts: 170

Rep: Reputation: 30
Code:
title Ubuntu 5.04
        root (hd0,1)
        kernel /vmlinuz root=/dev/sda4
        initrd /initrd.img
(hd0,1)=/dev/hda2

Hence:
Code:
kernel /vmlinuz root=/dev/hda2
Good luck.
 
Old 04-06-2005, 11:14 PM   #4
AndrewZorn
Member
 
Registered: Apr 2005
Posts: 108

Original Poster
Rep: Reputation: 15
To redazz:
I've tried 3, but will try again

To Tuvok:
Will try, but it is a SATA hard drive, referenced as sdaX for the most part...
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Change Windows without affecting GRUB or Ubuntu?? crash_override_me Ubuntu 5 10-19-2005 11:17 AM
Bah, Config GRUB to boot in Windows safe mode evera Linux - Distributions 3 10-10-2005 04:57 PM
GRUB can't load Windows XP... Ubuntu for AMD K8 can't boot up Navyblue Linux - Newbie 20 07-31-2005 10:19 AM
grub config in ubuntu linusownsme Linux - Newbie 1 05-07-2005 03:45 PM
Grub will not load Windows XP with Ubuntu dual boot Alex4R Linux - Software 1 03-26-2005 11:29 AM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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