installing and booting 2 OS
Greetings,
i'm currently trying to install 2 OS and i try to have the choice to boot either one of them. My partition includes hdc1: primary partition with /boot hdc2: extended partion hdc2a: /home for myself hdc2b: /root for fedora hdc2c: /root for slackware hdc3: fat partition I install fedora 11 first with /boot, /root and /home. Installation is successful and booting is possible for fedora. Next i install slackware into hdc2c. FInally it calls for installation of lilo and i choose the automatically install lilo option. Now i can only boot into slackware and not into fedora. WHat solutions can i used to enable booting either of them? Thanks |
This is because Lilo did not recognize and update itself for Fedora. It is a good option to use Grub. Its powerful. You can do it either way.
One is boot with Fedora media into rescue mode and then from the shell give the command: grub-install /dev/hdc Else there is another way of doing it. Boot into Slackware. And edit the lilo.conf file to add the fedora entry. I do not use Lilo so I am not sure how to do that. |
Hi,
The Slackware installation did recognize the partition as another install. It's just that the user needs to identify that install. You need to be aware of your system layout so as to enter the proper assignments for your installations. You can enter the Slackware install then as root you can edit '/etc/lilo.conf' to include the proper entries by including the stanza for your other installs. You would then run the 'lilo' command as root to update your loader. If you post your '/etc/lilo.conf' file then we could assist. You could also do a search here on LQ as this subject has been covered many times. |
Hi,
i reformat my entire hard disk again This time i install fedora first then slackware. I never install the lilo while installing slackware. My partitions: Code:
/dev/sda1 - swap Code:
grub-install /dev/sda7 Code:
#boot=/dev/sda 1) the grub loader did not load when i on my cpu. It boots straight into Fedora. 2) How to add the slackware into the grub loader? Thanks |
Hi,
i want to ask where is the exact grub.conf file to locate and edit. I try to edit in /etc/grub.conf and /boot/grub/menu.lst by putting a # in front of 'hidden menu' However saving both files and restart does not display the grub loader. Please advise |
AS root or su on the command line give the command ls - /dev/disk/by-uuid
It gives you all the uuid of you're partitions than mount the partition of slackware to find out the complete name slackware vmlinuz and initrd Once you find it nano /boot/grub/menu.lst nano or pico or kwrite title slackware root (hd0,?) is partition ware slackware is minus 1 kernel and so on initrd and so on |
Hi,
Pressing the escape button wil display the grub menu. I will leave it as that for now. i have cd /dev/disk/by-uuid into the directory you have advise but all i see are numbers and i do not know which is belongs to which os. i have try this method which i google online: http://www.dedoimedo.com/computers/g...mozTocId286308 Code:
title Slackware |
You stated in one of you're post slackware is on sda7 that should be (hd0,6) and NOT (hd0,8)
(hd0,8) is sda9 |
Hi,
i have edit the file and set it as root (hd0,6) I restart and select the slackware to boot, however it loads into fedora instead of slackware. These are the details of hard disk partition Code:
[root@fedora boot]# fdisk -l Code:
[root@fedora]# cd /media/space/ Code:
boot=/dev/sda I have also check from my laptop that when it boots slackware from LILO, it go to the /boot/vmlinuz to boot. This is the LILO file where it boots the slackware: Code:
# Linux bootable partition config begins |
Oh.. just to add on.
When i install the Fedora, it prompts me if whether i want to install grub in /dev/sda i guess /dev/sda is the MBR to boot the OS. Nevertheless, i install it into /dev/sda While installing Slackware, it did prompt if i want to install lilo in my machine. I choose not to set up LILO and skip the whole process of installing LILO. Does that results in not able to boot slackware even when i select to boot from grub with the setting i have added into the grub conf file for slackware? thanks |
Hi,
No! As long as you enter the proper configuration data in your stanza for your bootloader then you should be able start any installed system. You can still setup lilo on the superblock for Slackware if you are chain loading then configure with your initial boot loader to boot that if you desire this method. |
All times are GMT -5. The time now is 03:52 PM. |