Crea sito
 

Avviare da GRUB2 una LIVE.iso in una partizione USB avente UUID noto

23 ottobre, 2016 (22:47) | Senza categoria | By: sargonsei

Dato il procedimento è spiegato nella pagina WEB
http://sargonsei.altervista.org/live/
inserisco alcuni esempi di menù da aggiungere al file /etc/grub.d/40_custom
per avviare delle LIVE.iso collocate nella partizione /iso/ a sua volta collocata in una memoria USB

menuentry "ubuntu-mate-16.04-desktop-amd64.iso LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/ubuntu-mate-16.04-desktop-amd64.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz.efi file=(loop)/preseed/ubuntu-mate.seed boot=casper iso-scan/filename=$isofile quiet splash nomodeset
      initrd (loop)/casper/initrd.lz
}

menuentry "linuxmint-18-mate LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/linuxmint-18-mate-64bit.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz file=(loop)/preseed/linuxmint.seed boot=casper iso-scan/filename=$isofile quiet splash nomodeset
      initrd (loop)/casper/initrd.lz
}

menuentry "linuxmint-17.3-mate LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/mint173plus64mate.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz file=(loop)/preseed/custom.seed boot=casper iso-scan/filename=$isofile quiet splash nomodeset
      initrd (loop)/casper/initrd.gz
}

menuentry "linuxmint-17.2-mate-32bit.iso LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/linuxmint-17.2-mate-32bit.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz file=(loop)/preseed/linuxmint.seed boot=casper iso-scan/filename=$isofile quiet splash nomodeset
      initrd (loop)/casper/initrd.lz
}

menuentry "kubuntu-15.04-desktop-i386.iso LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/kubuntu-15.04-desktop-i386.iso"
      loopback loop $isofile
      linux (loop)/casper/vmlinuz file=(loop)/preseed/kubuntu.seed boot=casper iso-scan/filename=$isofile quiet splash nomodeset
      initrd (loop)/casper/initrd.lz
}

menuentry "pclinuxos-lxde-2014.12.iso LIVE (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/pclinuxos-lxde-2014.12.iso"
      loopback loop $isofile
	  linux (loop)/isolinux/vmlinuz fromusb root=UUID=56C2-9F49 bootfromiso=$isofile livecd=livecd vga=788 keyb=us acpi=on splash=verbose fstab=rw,auto
	initrd (loop)/isolinux/initrd.gz
}

menuentry "xfce-pclinuxos-2016-05-10 -UN: pclinuxos -PW: linux (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/xfce-pclinuxos-2016-05-10-rAttuale.iso"
      loopback loop $isofile
	  linux (loop)/isolinux/vmlinuz fromusb root=UUID=56C2-9F49 bootfromiso=$isofile livecd=livecd vga=788 keyb=it acpi=on splash=verbose fstab=rw,auto
	initrd (loop)/isolinux/initrd.gz
}

menuentry "antiX-16_x64-full LIVE [Funziona] (/dev/sd_UUID 56C2-9F49)" {
      set root=UUID=56C2-9F49
      search --no-floppy --fs-uuid --set=root 56C2-9F49
      set isofile="/iso/antiX-16_x64-full.iso"
      loopback loop $isofile
      linux (loop)/antiX/vmlinuz fromhd=UUID=56C2-9F49 fromiso=$isofile livecd=livecd vga=788 acpi=on splash=verbose
      initrd (loop)/antiX/initrd.gz
}