01-17-2016, 02:14 AM
(This post was last modified: 01-17-2016, 02:48 AM by gold_finger.)
Just completed austin.texas method -- installed Mint's grub to /dev/sda (to take control away from LL), copied menuentry from LL's grub.cfg to /etc/grub.d/40_custom file in Mint, then updated Mint's grub. Rebooted and resulting menu showed choice for LL that the 30_os-prober (in Mint's /etc/grub.d) finds and another entry for LL at end of list -- which is the one shown by the 40_custom file that was manually made. That last LL choice does work.
My computer has Mint Xfce 17.1 and LL2.2 on it, but procedure should work no differently for you. Here is my new 40_custom file in Mint for you to compare to:
A thought occurred to me while running test. Instead of deleting Mint's grub and then switching to LL's, why not just delete LL's grub. Thinking is that if there is no altered grub to find, then Mint will just boot it normally. Going to test that out next and will report back.
My computer has Mint Xfce 17.1 and LL2.2 on it, but procedure should work no differently for you. Here is my new 40_custom file in Mint for you to compare to:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry 'Description: Linux Lite 2.2 GNU/Linux' --class description_ --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8167293e-8054-40fa-8598-d871252f3850' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos8'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos8 --hint-efi=hd0,msdos8 --hint-baremetal=ahci0,msdos8 8167293e-8054-40fa-8598-d871252f3850
else
search --no-floppy --fs-uuid --set=root 8167293e-8054-40fa-8598-d871252f3850
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=8167293e-8054-40fa-8598-d871252f3850 ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-24-generic
}
A thought occurred to me while running test. Instead of deleting Mint's grub and then switching to LL's, why not just delete LL's grub. Thinking is that if there is no altered grub to find, then Mint will just boot it normally. Going to test that out next and will report back.
Try Linux Beginner Search Engine for answers to Linux questions.