SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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 have Fedora 11 installed on my pc and partitioned my hard drive to install SLED 11. I tried installing SLED with out a boot loader but it did not work. now the only OS I can boot to is SLED. How do I edit the boot loader to show and boot my Fedora partition?
If you installed SLED and did not install a bootloader, that would mean that the Fedora loader was still in use. If SLED is the only option, that would mean you somehow reconfigured the Fedora loader to somehow show SLED but not Fedora-----this does not seem plausible.
The trick with GRUB is that it gets "hard-coded" on installation to point to the desired /boot partition.
Regardless, since you can get into SLED, I would proceed as follows:
1. Look in /boot/grub/menu.lst to confirm that you see the same boot options listed as what you see when actually booting. This confirms that we know which partition GRUB is pointed at.
2. Assuming it is in fact the SLED menu being used, simply edit it to add the entry for Fedora.
3. If it's NOT the right menu, then simply re-install GRUB from SLED and have it point to SLED's /boot. Example: suppose you have one drive (sda) and /boot is on sda3. Install grub as follows:
grub ##starts the grub shell
root (hd0,2) ##points grub at drive 1, partition #3 (grub counts from zero)
setup (hd0) ##installs grub on the MBR of drive 1
I find it convenient to alway set up aliases (soft links) in /boot so that the menu.lst can always have the same names for the kernel and initrd files.
I assume you mean aus9....am I just a string to you as well? lol
I could leave it blank, but it focusses the mind of some ppl that LXDE is my preferred wm and I do not want to recommend my distro ...sidux...as some newbies may think.....illogically...that they should try sidux.
If I was a moderator I might think this is off topic.
sorry I was a bit vague. I tried installing SLED without boot loader and Fedora was the only OS to boot. I then thought if there is no boot loader for SLED how would it boot so I redid the installation with a boot loader but now SLED is the only OS booting or show as an option when booting.
How do I fix the mess I made?
ok based on your new explanation, the bootloader can point to distro one or your other one....its your choice.
There is only one mbr for each drive but each partition for linux (non-swap) can have grub in it as well.
Therefore boot up SLED and if below confuses you....post your /etc/fstab and the output of fdisk -l
Open a terminal and su to root or use sudo (command)
Code:
su
fdisk -l
(shows partition structure)
grub
find /boot/grub (assuming you are using grub legacy)
it should return 2 hd entries like hd0,0 and hd0,5 or whatever.
The first entry is your Fedora boot partition and second is your SLED one.
First we embed grub into Fed's boot partition
root (hd0,0)
setup (hd0,0)
Next we embed grub into SLED's boot partition as well...why not...no harm
root (hd0,4)
setup (hd0,4)
change to correct hd0,x as grub finds...hd0,4 assumes /dev/sda5
next edit with root powers...your /boot/grub/menu.lst to add an entry for Fedora
------
copy and paste
title Fedora
root (hd0,0)
chainloader +1
_________
But you must change hd0,0 to what is the correct outputs.
reboot to test.
2) if you can not boot into fedora...create a similar chainload to SLED
title SLED
root (hd0,4)
chainloader +1
remember grub counts from zero as per my signature.
the fdisk -l came back like this
Device Boot Start End Blocks ID System
/dev/sda1 5951 6078 102816 83 Linux
/dev/sda2 679 13828 62251875 83 Linux
/dev/sda3 13829 14593 6144862+ 83 Linux
/dev/sda4 * 1 5950 47793343+ f W98 Ext'd (LBA)
/dev/sda5 1 262 2104452 82 Linux swap / Solaris
/dev/sda6 263 1568 10490413+ 83 Linux
/dev/sda7 1569 5950 35198383+ 83 Linux
find /boot/grub came up with Error 15: File not found.
/dev/sda1 is the boot partition for Fedora if I remember correctly.
Assuming you are still using the SLED bootloader, the entry aus9 posted above
Quote:
title Fedora
root (hd0,0)
chainloader +1
should work in the SLED menu.lst file if Fedora is indeed on sda1. You could also mount the sda1 parition from SLED and navigate to the /boot/grub directory of Fedora and copy the first Fedora entry from the grub.conf file in /boot/grub directory.
and now my Fedora partitions is booting again but it's not giving me any options at all it's just booting striaght into Fedora.
I booted from a Parted Magic cd I have and accessed both menu.lst's. I copied Fedora's entry into the SLED menu and the SLED entry into the Fedora menu. Was this a bad or stupid thing to do? will it help at all?
I'm wanting to be able to boot to the multiboot screen and select either Fed or SLED but at the moment Fedora boot and does not even get to the multiboot screen.
I managed to solve my problem (temporarily or not).
I had to reinstall both OS's so I installed Fedora first and set it to boot from /dev/sda1 which is the boot partition I made for it. Then I installed SLED and let it choose where it wanted to boot from. When I rebooted I could choose SLED or Fedora /dev/sda1.
I think I may have messed up my system again....
I had everything running well untill I resized my partitions. I made the SLED partition smaller and the Fedora partiton bigger.now when booting I get an error message saying
Code:
Error No operating system
Reboot and Select proper Boot device
or Insert Boot Media in selected Boot device and press a key
how do I rectify this problem? Niether operating system is booting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.