distros linux desde grub
con estas entradas en 40custom puedes arrancar diversos linux desde grub, sólo añadiendo la ISO en la partición donde está Windows o la iso descomprimida en otros casos
#!/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.
insmod ext2
set root='(hd0,2)'
menuentry "Plop Linux" {
linux /boot/bzImage root=/dev/sda2
}
menuentry "Plop Boot Manager 5" {
linux16 /boot/plop/plpbt.bin
}
menuentry "PlopKexec" {
linux /boot/plop/plopkexec
}
menuentry "Memtest" {
linux16 /boot/memtest/memtest
}
menuentry "Other Linux" {
set root='(hd0,2)' # I do not think I should set anything here should I?
linux /boot/plop/plopkexec #(add other options here as required)
#initrd /boot/plop/plopkexec.img #(if the other kernel uses/needs one)
}
menuentry "upupff" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 4EE46CD0E46CBC39
linux /upupff/vmlinuz pdev1=sda2 psubdir=upupff
initrd /upupff/initrd.gz
}
menuentry "upupff" {
insmod ext2
set root='(hd0,2)'
search --no-floppy --fs-uuid --set 4EE46CD0E46CBC39
linux /upuphh/vmlinuz pdev1=sda2 psubdir=upuphh
initrd /upuphh/initrd.gz
}
menuentry "lubuntu18" {
set isofile="/lubuntu18/lubuntu-18.04.5-desktop-i386.iso"
loopback loop (hd0,2)$isofile
echo "Starting $isofile..."
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd
}
menuentry "ubuntustudio18" {
set isofile="/ubuntustudio18/ubuntustudio-18.04-dvd-i386.iso"
loopback loop (hd0,2)$isofile
echo "Starting $isofile..."
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash
initrd (loop)/casper/initrd.lz
}
menuentry "slax911" {
insmod part_msdos
insmod ntfs
set isofile="/slax911/slax-32bit-9.11.0.iso"
search --no-floppy --file --set=root $isofile
loopback loop $isofile
linux (loop)/slax/boot/vmlinuz from=$isofile slax.flags=perch,xmode nopersistent noeject noprompt noatime ro
initrd (loop)/slax/boot/initrfs.img
}
menuentry "Knoppix 32 PMI" {
set root='(hd0,2)'
linux /KNOPPIX86/linux lang=es
initrd /KNOPPIX86/minirt.gz
}
menuentry "Knoppix 9" {
set root='(hd0,2)'
linux /KNOPPIX/boot/isolinux/linux lang=es
initrd /KNOPPIX/boot/isolinux/minirt.gz
}
menuentry "Porteus4" {
insmod ext2
set root='(hd0,2)'
linux /porteus4/boot/syslinux/vmlinuz from=/dev/sda2/porteus4 login= changes=/porteus4
initrd /porteus4/boot/syslinux/initrd.xz
}
menuentry "Porteus5" {
insmod ext2
set root='(hd0,2)'
linux /porteus5/boot/syslinux/vmlinuz from=/dev/sda2/porteus5 login= changes=/porteus5
initrd /porteus5/boot/syslinux/initrd.xz
}
menuentry "Porteus3" {
insmod ext2
set root='(hd0,2)'
linux /porteus3/boot/syslinux/vmlinuz from=/dev/sda2/porteus3 login= changes=/porteus3
initrd /porteus3/boot/syslinux/initrd.xz
}
Comentarios
Publicar un comentario