Looking for advice trying some new things with Slackware 15.0
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.
Looking for advice trying some new things with Slackware 15.0
Hi all,
I'm excited for Slackware 15, and I'm looking to try a few things that are brand new to me even though I've been running Slackware since the day after version 11 was released.
A brief bit of background: I haven't run Slackware on an actual computer since I bought a new desktop computer a few years ago that came with Windows 10. I didn't want to deal with dual booting and the secure boot stuff, so I have been using Slackware in VirtualBox. It runs fine, I like it, and I can do everything with it that I was doing on a real computer before.
However, with Slackware 15 out, I'd like to try running it on bare metal again. I have an older HP laptop with plenty of hard drive space already partitioned and running Ubuntu/Xubuntu (don't laugh, it runs fine and my wife and kids like it as a spare computer).
My plan is to download the Slackware64-15 iso file and mount it from Grub. Then install Slackware on its own partition. I may have the two installations share the /home directory, but I may not. This post isn't really about partitioning.
Assuming that I learn how to boot to a Grub command prompt and mount the Slackware ISO, I have a few questions:
Does Grub boot slackware directly, or do I need to chainload lilo?
Will Grub see both the huge kernel and the initrd?
I would use four partitions: swap, /home, Slackware, Ubuntu. I did this using Debian instead of Ubuntu. I installed Slackware first using the default lilo. Then when I installed Debian, it found and added the Slackware installation to its grub boot loader. After that, grub was used for both installations.
In Debian, or probably in Ubuntu, then you can edit /etc/default/grub for startup order: GRUB_DEFAULT=0 Debian, Slackware=2
Finally, run 'su - update-grub' and reboot
Last edited by silverlining; 02-18-2022 at 08:49 PM.
I would use four partitions: swap, /home, Slackware, Ubuntu. I did this using Debian instead of Ubuntu. I installed Slackware first using the default lilo. Then when I installed Debian, it found and added the Slackware installation to its grub boot loader. After that, grub was used for both installations.
In Debian, or probably in Ubuntu, then you can edit /etc/default/grub for startup order: GRUB_DEFAULT=0 Debian, Slackware=2
Finally, run 'su - update-grub' and reboot
I'm looking to do it the other way, since Ubuntu is already installed. We'll see how it goes.
Does Grub kick off lilo when you boot into Slackware?
The trick I found was in deciding which distro is going to be boss. That gets the /boot partition. All others, just a / partition for / & boot.
Then all updates go to boot, and every distro updates it's grub.conf and remains happy in it's particular nappy. You just copy over kernels & ramdisks to the /boot that matters and update it's boot loader.
Does Grub kick off lilo when you boot into Slackware?
When installing Slackware on a second partition, be sure to skip making lilo boot or I think it will overwrite grub's boot.
Business_Kid's post sounds like good a good tip but I didn't exactly understand where you need to place the Slackware kernel for grub to find it when you run grub-update.
Distro with the /boot partition controls booting with it's boot loader.
All other distros do their thing on their boot partition, but that's only a subdirectory of their root partition, so it doesn't affect things.
Every change of kernel, I update the master boot partition by copying the new kernel & initrd there and hand-updating the boot loader.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.