Linux - GeneralThis 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
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.
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.
I removed my fedora 10 install from my multi boot Ubuntu system. I installed Fedora 12 on the partation converting ti to ext4 per the install procedure.
I cannot get it to boot. This is what my menu.lst looks like. I get err17 or something says it cannot boot fedora.
title Ubuntu 9.0.4, kernel 2.6.27-7-generic (recovery mode)
uuid befc8a95-e59a-4adc-aab0-2c5c3b6dacbd
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=befc8a95-e59a-4adc-aab0-2c5c3b6dacbd ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 9.0.4, memtest86+
uuid befc8a95-e59a-4adc-aab0-2c5c3b6dacbd
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
title Fedora release 12 (Cambridge) (on /dev/sda3)
root (hd0,2)
kernel /boot/Fedora-12-i686-L root=/dev/sda3
savedefault
boot
title WindowsXP
root (hd0,1)
savedefault
makeactive
chainloader +1
I do not have time to research this but I am going to give you something to think about. I believe fedora 12 uses the ext4 file system with grub2. grub 2 does not work well with grub legacy. I believe I read you can install the the fedora grub to / and then chainload it from your ubuntu menu.lst.
Larry
Last edited by Larry Webb; 11-27-2009 at 04:56 PM.
title Fedora release 12 (Cambridge) (on /dev/sda3)
root (hd0,2)
That points to the extended partition - will never work. Presuming F12 is actually in sda5, try "root (hd0,4)". But I strongly doubt Fedora ship kernels of that name - and what about the initrd ?.
There were some issues with Fedora using the larger inode size on ext[34] when called from grub legacy. However if you managed to get to F10 you probably had the patched grub that Ubuntu shipped to get around that with Jaunty. ext4 should be o.k. in that case.
It appears your device numbers are out of order:
Your Windows is on sda2, but it is on the first partition (1-6553)
Therefore use title WindowsXP
root (hd0,0)
Your Fedora root is on sda3, but it is on the fourth partition (20553-30401)
Therefore use title Fedora release 12 (Cambridge) (on /dev/sda3)
root (hd0,3)
kernel /boot/Fedora-12-i686-L root=/dev/sda3
--------------------------------------------------------------
/dev/sda1 6554 20289 110334420 83 Linux
/dev/sda2 1 6553 52636941 7 HPFS/NTFS
/dev/sda3 20553 30401 79112092+ 5 Extended
/dev/sda4 20290 20552 2112547+ 82 Linux swap / Solaris
/dev/sda5 * 20553 23163 20971520 83 Linux
That points to the extended partition - will never work. Presuming F12 is actually in sda5, try "root (hd0,4)". But I strongly doubt Fedora ship kernels of that name - and what about the initrd ?.
There were some issues with Fedora using the larger inode size on ext[34] when called from grub legacy. However if you managed to get to F10 you probably had the patched grub that Ubuntu shipped to get around that with Jaunty. ext4 should be o.k. in that case.
As for XP, try "rootnoverify (hd0,1)"
tried this
As for XP, try "rootnoverify (hd0,1)"
and got
Error 11: Unrecognized device string
Press any key to continue
our Fedora root is on sda3, but it is on the fourth partition (20553-30401)
Therefore use title Fedora release 12 (Cambridge) (on /dev/sda3)
root (hd0,3)
kernel /boot/Fedora-12-i686-L root=/dev/sda3
and got
Error 17: Cannot mount selected Partition
Press any key to continue
so i did a clean install of the Fedora 12 and let it use its own boot loader and now I dont see my Ubuntu boot option. It did put in an option for the XP partition (that did not work something about dll not found) but it at least see the partition
So I booted Fedora and mounted the Ubuntu and copied the menu.lst entries into the new menu.lst for Fedora. It said it could not fine the ubuntu boot partition or some such msg.
Iam going to try to install Ubuntu 9.10 from scratch and see if that will work.
Not sure why it wont see the 9.4 image.
If this does not work it restore the disk from backup and try something else.
Okay, from the information you've given me I would actually recommend you to wipe your fedora installation of entirely (I'm sure it will be possible to fix it some way, but it will probably be pretty ugly). Do it again, and do it right this time, i.e:
1. Erase all partitions except for ubuntu and xp.
2. Make a primary (NOT LOGICAL or EXTENDED) /dev/sda3 partition for fedora /boot. If you don't want a separate /boot partition, just let this partition be the / partition.
2b. If you created a separate boot, create a / partition as /dev/sda4, preferrably primary.
3. Create a swap partition, and other partitions as you like (these may well be logical/extended).
This will put you in a lot better position.
I would also like to recommend you to learn a little more about grub
and set it up so your most permanent OS, i.e ubuntu, takes care of the booting. This will save you from similar head aches in the future. (About your xp i'm not sure what to do. Understanding what grub does and how it works will put you in a lot better position to solve this however, so read the guide Its really good.)
EDIT: Ooops, just too late. But read the grub guide, it will make it so much easier for you to figure out this stuff.
Last edited by tom4everitt; 11-30-2009 at 09:03 AM.
When you tried the entry "rootnoverify (hd0,1" did you have the complete entry:
title windows
rootnoverify (hd0,1)
chainloader +1
Your Ubuntu menu.lst entry for Fedora shows it on sda3.
Your fdisk output shows sda3 as an Extended partition which can't be right as an extended can'th hold data!
If you install Ubuntu 9.10, remember that it uses Grub2 and there will be no menu.lst. It's very different from Grub Legacy.
This is true. I would still recommend the OP to read the grub guide, since
- most grub2 guides presume familiarity with grub.
- the principle's are the same, the differences superficial
- it is almost only ubuntu that has switched to grub2 yet
Well i removed the ubuntu and the fedora, I loaded fedora first and confirmed it booted.
I then loaded Ubuntu and it sees the fedora image and the ubuntu image.
I am able to load both now.
I will read the information provided. Thank you.
I will rip this down and try again and see if i can reproduce with the ubuntu 9.4 image.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.