dual booting Slackware to Ubuntu
Have Slack on hard drive and using Lilo to attempt to chain boot. The Ubuntu uses Grub and I do not know if it uses MBR or /root. When I test lilo.conf settings:
other = /dev/sdc1
table = /dev/sda
label = Ubuntu
to boot Ubuntu I get: a warning about the table and to use lilo -P fix
but when I run lilo -P fix -t -v I get:
Warning: The partition table is *NOT* being adjusted.
Fatal: First sector of /dev/sdc1 doesn't have a valid boot signature
The first sector has shows bootable. I had modified the install after having used a VFAT 1-st sector so it is ext4 now.
Can someone explain why am turning in circles here as I apparently have no idea what is expected as a boot signature. Does this have anything to do with Ubuntu using grub and Slack using Lilo or where Ubuntu puts the loader?
I had trouble getting a triple-boot of Slackware, Ubuntu, and Linuxmint working with either LILO or GRUB. In the end it was easy once I switched to SYSLINUX (extlinux). Sorry I don't have that system running anymore (it's a test box) to show the config file. I used the SYSLINUX that was part of Slackware which is a bit dated but worked.
It may be possible to this with GRUB and LILO via chain booting to the secondary system.
I am not certain but I thought that you could just bypass grub completely and boot ubuntu with lilo directly.
For instance, your lilo.conf might look like (this is modified from /etc/lilo.conf_example provided in slackware-14.0)
I use on the same machine Slackware Linux and Linux Mint. (I suppose that Linux Mint and Ubuntu behave similarly.) I donít like GRUB at all so I use LILO to choose the system. That requires tricky method of the installation of GRUB in Linux Mint.
I keep Linux Mint on /dev/sda1 and Slackware Linux on /dev/sda2. I install Mintís GRUB on /dev/sda1 and Slackwareís LILO on /dev/sda.
First I start Mint.
GRUB2 refuses to be installed on the beginning of the partition instead of MBR:
So I need GRUB Legacy instead:
apt-get remove grub-pc
apt-get install grub
Now I can install GRUB:
|All times are GMT -5. The time now is 08:11 AM.|