Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Hallo
I used to run dual boot (xp/fedora core)
Yesterday I installed centos as the third operating system
Centos' grub took over booting, and I must have messed up
something with it, because I cannot boot fedora
I don't have any problem with booting centos and xp
Before the installation my hard disk looked like that:
Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 7 HPFS/NTFS
/dev/hda2 1276 5512 34033702+ f W95 Ext'd (LBA)
/dev/hda3 5513 5525 104422+ 83 Linux
/dev/hda4 5526 7296 14225557+ 8e Linux LVM
/dev/hda5 1276 3187 15358108+ b W95 FAT32
/dev/hda6 3188 5512 18675531 b W95 FAT32
It looks to me like your Fedora entry needs to be either (hd0,2) or (hd0,3) depending on whether it is installed on /dev/hda3 Linux or /dev/hda4 Linux LVM. Grub starts counting at 0, so /dev/hda1 is (hd0,0)
Also, it just dawned on me that you may need to specify the kernel and initrd just like in CentOS grub listing because grub wasn't installed on the root partition, so chainloader +1 probably won't work.
On the boot up, on the grub screen, when I choose Fedora,
the screen goes black and it goes back to the grub screen.
I remember that during installation of centos, grub found obviously
centos and other (winxp), and then i manually added
the fedora partition (I guess, that was the one) and when asked
about mounting point I chose '/'
When I opened then grub.conf, fedora was under hda3 so I changed
it to hda4 (because that should be the one - 14G)
I'll appreciate any help
thank you
Since it is on /dev/hda4, this is (hd0,3) to Grub.
Also, you may need to go into your fedora partition from CentOS (/dev/hda4) and look under boot for what kernel (vmlinuz-blahblahblah) and initrd (initrd-blahblahblah).
Your Fedora section should look something like this:
Sorry. Boot into CentOS. Then mount /dev/hda4. Then go to the /boot directory (on /dev/hda4). Then write down the name of the vmlinuz-XXXXXXXXXXX file and the initrd-XXXXXXXXXXX.img file. Then make your grub entry look like this:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.