07-02-2017, 12:30 AM
ray[member=5018]Ray[/member]-Kudu-Pro:~$ sudo cat /etc/grub.d/40_custom
[sudo] password for ray:
#!/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 'Linux Lite 2.8 (14.04) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2c94c91e-503b-40c8-99a1-7fbf06d54273' {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 2c94c91e-503b-40c8-99a1-7fbf06d54273
else
search --no-floppy --fs-uuid --set=root 2c94c91e-503b-40c8-99a1-7fbf06d54273
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=2c94c91e-503b-40c8-99a1-7fbf06d54273 ro quiet splash $vt_handoff --
initrd /boot/initrd.img-3.13.0-24-generic
}
ray[member=5018]Ray[/member]-Kudu-Pro:~$
[sudo] password for ray:
#!/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 'Linux Lite 2.8 (14.04) (on /dev/sda3)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-2c94c91e-503b-40c8-99a1-7fbf06d54273' {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 2c94c91e-503b-40c8-99a1-7fbf06d54273
else
search --no-floppy --fs-uuid --set=root 2c94c91e-503b-40c8-99a1-7fbf06d54273
fi
linux /boot/vmlinuz-3.13.0-24-generic root=UUID=2c94c91e-503b-40c8-99a1-7fbf06d54273 ro quiet splash $vt_handoff --
initrd /boot/initrd.img-3.13.0-24-generic
}
ray[member=5018]Ray[/member]-Kudu-Pro:~$