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.
Ok, I have a hp mini that I use to multiboot Arch, Ubuntu, and Debian currently. I have the HD partitioned so /dev/sda1 is boot (for arch), /sda2 is swap, /sda3 is my /data partition, /sda4 is extended, and then /sda5 is arch, 6 is ubuntu, 7 is debian, 8 will be fedora, and 9 is slackware. I use the arch grub to link the distros by adding the uuid and kernel to arch's menu.lst. After installing slack on /dev/sda9, I rebooted into arch, added the slack option to grub, then tried to reboot into slack. I didn't see lilo when booting, and ran into a kernel panic shortly after.
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda9
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# 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,27,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 = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# 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/sda3
# label = Windows
# table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda9
label = Linux
read-only
# Linux bootable partition config ends
The slack partition is ext4. Let me know if I need to give more info. Any help is greatly appreciated.
I always get a somewhat similar looking kernel panic when I use the generic kernel and forget to create an initrd first. Is there a chance that this may be your problem?
I made the initrd in slack, but couldn't find the lilo.conf in /etc/. There was a lilo-error file, but no .conf. I booted into arch and mounted the slack partition and lilo was there, so I edited it from arch and tried booting back into slack, but ran into the same panic. Any ideas?
Are you using grub or lilo on your Arch? If you use grub and directly load the Slackware kernel (as I understand it from your first post), instead of chainloading to lilo, you don't have to make the changes in lilo at all, you have to make them in your grub's configuration.
For my part, I found an easy way to use Linux distros multiboot is to make a separate /boot partition and share it between distros. It just requires that you make sure that kernel/System.map/initrd filenames are named differently for each distro so they don't get overwritten
Yes, put that your arch grub's menu.lst
BTW is it grub2 or grub legacy used in arch ? I think grub2 uses partition notation that starts at 1
(so root(hd0,9) for /dev/sda9)
I tried your suggestion of commenting the uuid and adding ro root=/dev/sda9 and it worked! It finally got past the panic and let me log in normally. BTW: I made the initrd from slack (reinstalled and used the cl after exiting setup).
Thanks for all your help, I never would have thought the changes needed to be made in grub. Now I've got another distro to play with
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.