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.
Hello I am having three OS's on my system XP, Ubuntu 13.04 and Slackel a slackware based OS. I have all three installed, xp first then Ubuntu gurb(X) it worked dual boot, desided to use somemore free HD space and try another Linux installed Slackel with Lilo boot loader, now it did not install the Ubuntu but it did XP I have windows and Linux as options for a dual boot.
Q: how do I edit lilo to add and make it three different OS options?
I went to /etc/lilo.conf added TO the file at end by just coping then changing the mount point to this /dev/sda5 that is what Ubuntu is installed on it does not show anying of changes as I added a XP to the end of label = WindowsXP to see if it effected it any when I boot up it does not even show that change I made -- so one of two things it doesn't see it or I am not editing the right file
I just edeited it saved it then rebooted no changes showing to what I did.
any Ideas as I know there has ot be someone out there that knows more then me about this lol.
as I rather not reinstall OS's again and try it like that thanks
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append="quiet vt.default_utf8=1"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slackel.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,20,255,20,255,20
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,29,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 500
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = WindowsXP
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
# Linux bootable partition config ends# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda5
label = Linux2
read-only
# Linux bootable partition config ends
I went to /etc/lilo.conf added TO the file at end by just coping then changing the mount point to this /dev/sda5 that is what Ubuntu is installed on it does not show anying of changes as I added a XP to the end of label = WindowsXP to see if it effected it any when I boot up it does not even show that change I made -- so one of two things it doesn't see it or I am not editing the right file
What you need to do (assuming you're running Slackware, and Ubuntu is on /dev/sda5) is mount /dev/sda5 someplace temporarily, such as /mnt. Then edit lilo.conf to point to the proper kernel and initrd for Ubuntu:
I'm assuming that's likely not the name of the Ubuntu kernel, and that you'll probably need an initrd to go with that. That's the basic approach though... lilo is going to need access to all the Linux boot directories at the time of installation.
You can boot in slackel and install grub2-2.00-x86_64-3dj.txz os-prober-1.63-x86_64-1dj.txz grub-customizer-3.0.4-x86_64-1dj.txz
Open a konsole in kde
Then type
su
type root password
You can boot in slackel and install grub2-2.00-x86_64-3dj.txz os-prober-1.63-x86_64-1dj.txz grub-customizer-3.0.4-x86_64-1dj.txz
Open a konsole in kde
Then type
su
type root password
It will install grub2 and add all your distro's on grub2 menus
reboot
Any time you update a new kernel can run update-grub to update grub menus
Same can be done with running grub-customizer a gui for update-grub.
Note: Users who have a previous version of grub have to remove it first.
removepkg grub or removepkg grub2
rm -rf /etc/default/grub/
rm -rf /etc/grub.d/
rm -rf /boot/grub/
You can boot in slackel and install grub2-2.00-x86_64-3dj.txz os-prober-1.63-x86_64-1dj.txz grub-customizer-3.0.4-x86_64-1dj.txz
.....
Any time you update a new kernel can run update-grub to update grub menus
Same can be done with running grub-customizer a gui for update-grub.
I just reinstalled Ubuntu and it picked up Slackel and placed it in/added it to there Grub(2) so now I am running Ubuntu/WinXP/Slackel with out jhaving to do all that how do I do this config stuff
thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.