LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Dual boot Ubuntu and Slackware 13.37 (https://www.linuxquestions.org/questions/linux-distributions-5/dual-boot-ubuntu-and-slackware-13-37-a-4175423036/)

PatrickDickey 08-20-2012 05:37 AM

Dual boot Ubuntu and Slackware 13.37
 
I think I already know the answer to this, but I want to make sure before I start. Currently, I have a system set up with Ubuntu 12.04 on one partition, and Linux From Scratch on another. I want to wipe the LFS partition, and install Slackware 13.37 in it's place.

My questions are these:

1. Do I need to install lilo at all (since Grub2 is controlling things right now), or will Grub2 find the Slackware installation (obviously after running the updater for Grub)?
== If I need to install lilo, I'm assuming it will go into the / partition on the Slackware installation.
2. When I do the installation of Slackware, do I need to wipe the LFS Partition first, or just format it during the installation?

Thanks, and have a great day:)
Patrick.

brianL 08-20-2012 05:51 AM

1. I'm not sure, because I haven't used Grub2, but installing lilo to Slack's partition, and chainloading it from Grub, would be useful if you ever decided to get rid of Ubuntu.
2. Delete (using cfdisk), and format, during installation.

Knightron 08-21-2012 02:06 AM

I agree with BrianL. Do a chainload setup. It makes things a lot easier, and if you ever find your self following a Slackware guide to do something that involves the bootloader, like compiling a kernel; you'll be able to follow it perfectly instead of having to search for a specialist guide for Slack running from grub2.

PatrickDickey 08-21-2012 06:14 AM

I'm thinking the chainload idea is best. Ultimately, I will be recompiling the kernel, as I'm going to use the slackware partition to help finish a driver for the kernel. So, it'll be much easier, as opposed to having to compile the kernel, boot into Ubuntu, update grub, reboot into slackware. If I'm understanding you at least. I'd just have to compile the kernel, add it to /etc/lilo.conf run lilo (to update it) and then reboot. Grub will still point to Lilo, and lilo will take care of the rest.

Have a great day:)
Patrick.

Knightron 08-21-2012 04:53 PM

Yes, if you install lilo to Slackwares root, that's how it would work.


All times are GMT -5. The time now is 01:26 AM.