Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-29-2006, 05:07 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Location: Lake Forest, Ca.
Distribution: PCLinuxOS
Posts: 24
Rep:
|
Boot Fedora from Kubuntu
In the past Ive always used lilo on the mbr to boot multiple distro's.
I did it the cheesey way, by putting grub on the root partition of the second linux distro and pointing lilo to that partition.
Now I'd like to use grub for both linux's.
Kubuntu's grub is the one I'm using, and I assume its on the MBR
My set up is:
HDA1 Kubuntu root
HDA2 Extended
HDA3 Fedora Boot
Hda4 Fedora
HDA5 Kubuntu swap
HDA6 Kubuntu home
I installed fedora 6 but I'm looking at the fedora 5 bible and it has a grub entry like this:
# grub.conf generated by anaconda
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.1955_FC5)
root (hd0,4)
kernel /vmlinuz_2.15-1.1955_FC5 ro root=LABEL=/
initrd /initrd-2.6.15-1.1955_FC5.img
So if I add:
title Fedora Core (dafault fedor 6 kernel_FC6)
root (hd0,2) is it 2?
kernel /vmlinuz_default fedora 6 kernel_FC6 ro root=LABEL=/
initrd /initrd-default FC6 kernel_FC6.img
To the grub,conf file in kubuntu will it work ?
P.S. I would have tried this on my own but I dont know what the Fedora 6 kernel number is.
|
|
|
10-29-2006, 06:15 PM
|
#2
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
That should work - I don't know what the default kernel in Fedora 6 is, but have a look in Fedora's /boot, and it should be there.
--Ian
|
|
|
10-29-2006, 08:28 PM
|
#3
|
LQ Newbie
Registered: Aug 2005
Location: Lake Forest, Ca.
Distribution: PCLinuxOS
Posts: 24
Original Poster
Rep:
|
Thanks for the reply
I think I've found the kernel no. from a screen shot on a how to install fedora 6 web site, since I cant boot fedora I dont know how to get into any files.
The kernel they showed was 2.6.18-1.2798.fc6 if anyone knows different please let me know.
I had another question though, I dont seem to have a /boot/grub/grub.conf file on kubuntu, I dont know if this file is only generated when you have more than one operating system to boot at the time of install or if I have to edit some other file that's taken grub.conf's place.
|
|
|
10-29-2006, 08:42 PM
|
#4
|
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
|
On Kubuntu, the grub file is /boot/grub/menu.lst.
I suggest that you mount your fedora boot partition (eg: mount -t ext3 /dev/hda3 /media) and then ls the contents. Add the relevant files to the Grub config on Kubuntu.
I hope this helps
--Ian
|
|
|
10-30-2006, 12:41 PM
|
#5
|
LQ Newbie
Registered: Aug 2005
Location: Lake Forest, Ca.
Distribution: PCLinuxOS
Posts: 24
Original Poster
Rep:
|
Thanks for the mount command it worked great and I was able to get a list of the fedora boot files:
file:///media/config-2.6.18-1.2798.fc6
file:///media/grub
file:///media/initrd-2.6.18-1.2798.fc6.img
file:///media/lost+found
file:///media/symvers-2.6.18-1.2798.fc6.gz
file:///media/System.map-2.6.18-1.2798.fc6
file:///media/vmlinuz-2.6.18-1.2798.fc6
file:///media/grub/splash.xpm.gz
and these are the changes I made to menu.list on kubuntu:
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Fedora 6, kernel 2.6.18-1.2798.fc6
root (hd0,2)
kernel /boot/vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/
initrd /boot/initrd-2.6.18.2798.fc6.img
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
I've changed /boot/vmlinuz and /boot/initrd to /media/vmlinuz and /media/initrd to just /vmlinuz and /initrd.
and I changed the last half of the kernel line from ro root=LABEL=/ to ro root=/dev/hda3
and I'm still getting Error 15 file not found, so I dont know if I didnt do something right when I installed fedora or if the options on the kernel or initrd line have changed.
Any Ideas
|
|
|
All times are GMT -5. The time now is 03:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|