elilo/grub?
Hi there!
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 |
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.
|
If your using grub legacy:
edit your /boot/grub/menu.lst and add the following entry: title 'Slackware' root (hd0,0) kernel /boot/vmlinuz root=/dev/sda1 Grub2 edit /etc/grub.d/40_custom with this then run update-grub: menuentry 'Slackware' { set root=(hd0,1) Linux /boot/vmlinuz root=/dev/sda1 } This should work unless one the "root=" is wrong. |
Quote:
Code:
blkid | grep "sda1" 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 { Code:
cat ~/add_to_grub.cfg >> /boot/grub.cfg Code:
sudo apt install grub-customizer |
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.
|
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. |
Quote:
|
Quote:
|
|
All times are GMT -5. The time now is 04:09 AM. |