› Foros › PC › Software libre
sudo update-grub2
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 8855d314-27e3-4e54-86b9-2fa07b97ebc2
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos7)'
search --no-floppy --fs-uuid --set=root 8855d314-27e3-4e54-86b9-2fa07b97ebc2
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "linux (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 2d6d8fbd-9618-4b86-86e2-001d74e255ad
linux /boot/vmlinuz BOOT_IMAGE=linux root=UUID=2d6d8fbd-9618-4b86-86e2-001d74e255ad resume=UUID=f711fed1-02f6-4aa5-ba0d-c3c572dc9e7e splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
}
menuentry "linux-nonfb (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 2d6d8fbd-9618-4b86-86e2-001d74e255ad
linux /boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=2d6d8fbd-9618-4b86-86e2-001d74e255ad resume=UUID=f711fed1-02f6-4aa5-ba0d-c3c572dc9e7e
initrd (hd0,0)/boot/initrd.img
}
menuentry "failsafe (on /dev/sda1)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 2d6d8fbd-9618-4b86-86e2-001d74e255ad
linux /boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=2d6d8fbd-9618-4b86-86e2-001d74e255ad failsafe
initrd (hd0,0)/boot/initrd.img
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###