SlackwareThis Forum is for the discussion of Slackware 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.
Hi Thanks for the information
In that case, is it i have to manually always mount the redhat partition to /mnt/rhel?
Short answer: no you don't. Your Redhat partition only needs to be mounted while you invoke the 'lilo' command, so LILO can actually find your RHEL kernel and initrd. So manual mounting will do.
Now go try it and see if it works. Then I'll explain the rest (what to do when there's a kernel update) later.
Hi,
I have tried to update lilo manually. It is not able to boot the rhel.
This is my partion profiles where sda2 is slackware root and sda4 is the rhel root:
Code:
/dev/sda4
Device Boot Start End Blocks Id System
/dev/sda1 63 4000184 2000061 82 Linux swap
/dev/sda2 * 4000185 40001849 18000832+ 83 Linux
/dev/sda3 40001850 103268351 31633251 83 Linux
/dev/sda4 103268352 156301311 26516480 83 Linux
root@chongming:/mnt/rhel/boot#
I have tried such a setup as kikinovak described several times (but some years ago) when I had multiboot with Slackware, Arch and Gentoo. It never worked.
I would either chainload RedHat, this means install lilo on RedHat but on the Superblock of the partition (here the line of lilo.conf in RedHat)
Code:
boot = /dev/sda4
and in Slackware's lilo.conf
Code:
other = /dev/sda4
label = RedHat
table = /dev/sda
But I don't know if RedHat supports lilo. Another way would be to install Grub on RedHat and boot both Slackware and Redhat with Grub (which can boot multiple systems).
Third way is to create a boot-directory for both Slackware and RedHat and put there both kernels.
If setting up LILO requires so much issues, is it possible if i install rhel hat again and try to install its boot loader into my current MBR which contains LILO?
Will it override the current loader in the MBR or create another MBR in the hard disk?
I'm quite new to this MBR, so do pardon me asking these basic questions.
Lastly if you can see my partitions, i'm currently having the slackware root as bootable. The rhel root /dev/sda4 is not a bootable disk. Will this create any problems?
Code:
Device Boot Start End Blocks Id System
/dev/sda1 63 4000184 2000061 82 Linux swap
/dev/sda2 * 4000185 40001849 18000832+ 83 Linux
/dev/sda3 40001850 103268351 31633251 83 Linux
/dev/sda4 103268352 156301311 26516480 83 Linux
root@chongming:/mnt/rhel/boot#
In my opinion the bootable flag is unimportant. I have not set it within the last few years, no issues.
As of the bootloader: the last bootloader which is installed overwrites the earlier settings. You'll only have to install Grub on RedHat (if it isn't already installed) and configure it. Please note that there are differences between the older and newer versions of Grub, but I can't help with this. Read the manpage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.