I am running ubuntu 14.04 on my machine with following partition structure:
/boot 512MB
/ 50G
swap 4G
/home 100G~
and I have another drive which has slackware 14.1 on it with following structure:
/boot 512M (with working initrd)
(encrypted lvm containing /, swap and home )
I want to know if there is a way i can add my slackware system to ubuntu's grub, so that i will be able to boot both operating systems (multi-bootish way).
I tried adding something like following to /boot/grub/grub.cfg:
menuentry "Slackware" {
linux /dev/sdb2/vmlinux
initrd /dev/sdb2/initrd.gz
}
and to /etc/default/grub:
GRUB_DISALBE_OS_PROBE=true
but when i run grub-update
it gets cleared.
I have some knowledge of LILO but grub is quite new for me so any kind of help is greatly appreciated.
Thanks.
-Update: Thanks oldfred, got it working by doing following:
sudo apt-get update && sudo apt-get install lvm2 cryptsetup
sudo modprobe dm-crypt
sudo cryptsetup luksOpen /dev/sdb2 my-crypt
sudo os-prober
sudo update-grub
going to try the menuentry thing also though.