Installing 14.2 in grub
Hi there!
I want to give slackware a try. Since I've read quite a lot of howtos and I'm way too lazy these days I need some help on how to add an installed slackware to my grub-setup. Can you tell me how an entry in my grub.cfg (grub 2) should look like? TIA Gregor |
Hi:
Here are a few examples of the grub.cfg file. Do you have another Linux distro already installed on your machine? |
Quote:
Quote:
Regards, Gregor |
There are 2 examples of grub files on that page. Either one I had hoped would give you an idea of how to make a menuentry.
***I'm not in the habit of making menu entries so it's best to wait for members who are good with that.*** Like our Guru yancek.-;) If you would like to dual boot Debian and Slackware you will have to shrink your Debian partition. Unless of course you will be installing to another drive or the drive you already have Debian on has plenty of room. The Slackware installation will prompt you to install the LILO bootloader. If you want to keep Grub than skip install LILO automatically and tell the installer not to install LILO. Good luck with your installation. |
Quote:
Thanks! Gregor |
I think you will find this video helpful.
https://www.youtube.com/watch?v=JnggjPFtRCQ https://docs.slackware.com/slackware:install https://unix.stackexchange.com/quest...are-into-grub2 Maybe once you get Slackware installed you can install a vm and give the new Debian 9 a spin. A friend of mine is running Debian 9 and it's really nice. |
Quote:
Gregor PS: I don't like debian 9 since I don't like systemd. That is one of the top reasons why I try slackware. |
Quote:
I think you will be very happy with Slackware. It's been rock solid for me for 6 years and I haven't had any problems.;) |
Update: Since LILO seems to be the "right" bootmanager for slackware I installed its debian packages made me a configuration file and installed it.
That didn't work correctly. So after some hours of playing around I end up with a system that shows me LIL and after a short time I am presented a menu where I can choose - but only the first entry works correct and brings me back in my old debian system. It feels like I am playing some sort of tough game :-) So, please take a look at the attached file and help me to find out whats going on. TIA Gregor PS: Since I don't know if attaching worked: ------------snip------------- lba32 boot = /dev/sda map = /boot/map install = menu menu-scheme = Wb:Yr:Wb:Wb prompt timeout = 100 vga = normal image = /boot/vmlinuz-3.2.0-6-amd64 label = "Linux" #root = /dev/sdb1 root = "UUID=b7b175cd-d0a6-4a2b-bb5a-a85021885f54" read-only initrd = /boot/initrd.img-3.2.0-6-amd64 image = /boot/vmlinuz-3.2.0-5-amd64 label = "Linux Old" #root = /dev/sdb1 root = "UUID=b7b175cd-d0a6-4a2b-bb5a-a85021885f54" read-only initrd = /boot/initrd.img-3.2.0-5-amd64 image = /boot/vmlinuz-huge-4.4.14 label = "Slackware" root = /dev/sdb2 # read-only # initrd = /boot/initrd.img-3.2.0-6-amd64 ------------------------------------ |
Hello,
from Wheezy just type: Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg You will get a boot menu with entries for all your systems. Whenever you make a change like upgrading a kernel, whatever, in either Debian or Slackware just type from Wheezy: Code:
sudo update-grub Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg PS you really don't need lilo at all, and grub is also available in Slackware. |
Remember I told you I am not good with grub.
Try booting into Debian and update grub. Code:
sudo update-grub Here is the Grub Manual:- https://www.gnu.org/software/grub/manual/grub/grub.html |
Thank you Didier and Ztcoracat. I will work thru what you wrote as soon as possible. I just have to fix some other (non computer) stuff right now.
Regards, Gregor |
Quote:
Have a good weekend. |
|
Running update-grub as root in Wheezy should give you a grub entry for Slackware.
Quote:
|
All times are GMT -5. The time now is 03:21 AM. |