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.
I want to install slackware to give it a closer look. I already have a Debian system (version 7.11) running that uses grub 0.97. And I don't want to overwrite grub with elilo unless I know I will be using Slackware as my new distribution for a couple of years.
And since I read tons of docu all day I don't feel like reading the grub docs right now just to know what I have to add to my installed grub. So it would be nice, if someone told me what to enter in my existing installation of grub. The new system will be installed in the first partition of the first drive (sda0, partition 0).
If you are using Debian with Legacy Grub, do you even have an EFI partition? If not, installing ellilo to a legacy system will just cause problems. Slackware installs with Lilo give you several option, install to Mbr, install to partition and don't install at all. The latter is what you should use then simply manually create an entry for Slackware in the menu.lst file of Debian. Lots of examples online.
I want to install slackware to give it a closer look. I already have a Debian system (version 7.11) running that uses grub 0.97. And I don't want to overwrite grub with elilo unless I know I will be using Slackware as my new distribution for a couple of years.
And since I read tons of docu all day I don't feel like reading the grub docs right now just to know what I have to add to my installed grub. So it would be nice, if someone told me what to enter in my existing installation of grub. The new system will be installed in the first partition of the first drive (sda0, partition 0).
Thanks in advance!
Gregor
0. before run Slackware setup exec this:
Code:
blkid | grep "sda1"
1. Use huge kernel. This will save you additional questions.
1. Ignore the installation of the bootloader (in Slackware this is not mandatory) and paste (with nano, or with another text editor) this in your /boot/grub.cfg from Debian:
Code:
menuentry 'Slackware Linux (Current)' --class gnu-linux --class gnu --class os {
insmod %YOU_SLACKWARE_TYPE_FILE_SYSTEM%
set root=(hd0,1)
search --no-floppy --fs-uuid --set=root %YOU_SLACKWARE_ROOT_UUID%
echo 'Booting Slackware Linux ...'
linux /boot/vmlinuz root=UUID=%YOU_SLACKWARE_ROOT_UUID% ro quiet
}
Or save this snippet as ~/add_to_grub.cfg and run from Debianafter installation Slackware and run into you terminal emulator:
If you make the changes to /boot/grub/grub.cfg instead of /etc/grub.d/40_custom, the next time Debian does a kernel update, you will loose your slackware entry.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
When I install Slackware dual-boot I just install it as normal but don't install a bootloader. Then boot into Debian and run (as root) update-grub and, voila, on reboot there's an option to boot into Slackware.
The same should work for most distributions.
If you make the changes to /boot/grub/grub.cfg instead of /etc/grub.d/40_custom, the next time Debian does a kernel update, you will loose your slackware entry.
Then boot into Debian and run (as root) update-grub and, voila, on reboot there's an option to boot into Slackware.
One of the big advantages of Grub2. Unfortunately, the OP specifically states s/he is using Grub Legacy for which there is no 'update-grub' or 'grub-mkconfig'. Best option for him/her would be not to install Lilo/Elilo at all and create a manual entry in his Debian menu.lst file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.