tips:multiboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:multiboot [2018/10/30 10:53] – [Multiboot] scipiotips:multiboot [2022/09/02 18:48] (current) sscipioni
Line 1: Line 1:
 ====== Multiboot ====== ====== Multiboot ======
  
 +  * https://www.ventoy.net/
  
-Creare una partizione FAT32 (anche altri filesystem sono supportati) con label MULTIBOOT +test
- +
-Creare una cartella boot all'interno +
- +
-<code bash> +
-grub-install --target=i386-pc --recheck --boot-directory=/media/scipio/MULTIBOOT/boot /dev/sdb +
-</code> +
- +
-EFI +
-<code bash> +
-sudo grub-install --target x86_64-efi --efi-directory /media/scipio/MULTIBOOT/ --boot-directory=/media/scipio/MULTIBOOT/boot --removable +
-</code> +
- +
- +
-/media/scipio/MULTIBOOT/boot/grub/grub.cfg +
-<code bash> +
-set imgdevpath="/dev/disk/by-label/MULTIBOOT" +
- +
-set imgdevpath="/dev/disk/by-label/MULTIBOOT" +
-  +
-menuentry "SystemRescue CD" { +
-    set isofile="/boot/iso/systemrescuecd-x86-5.3.1.iso" +
-    loopback loop $isofile +
-    linux (loop)/isolinux/rescue64 setkmap=it isoloop=$isofile +
-    initrd (loop)/isolinux/initram.igz +
-}  +
- +
-# from https://people.debian.org/~jgoerzen/rescue-zfs/ +
-menuentry "Debian ZFS rescue"+
-    set isofile="/boot/iso/wheezy-live-rescue-zfs0.6.3-jgoerzen-20141008.iso" +
-    bootoptions="" +
-    loopback loop $isofile +
-    linux (loop)/live/vmlinuz findiso=$isofile boot=live components live-config +
-    initrd (loop)/live/initrd.img +
-+
- +
-menuentry "Ubuntu 14.04.1 desktop amd64" { +
-    set isofile='/boot/iso/ubuntu-14.04.1-desktop-amd64.iso' +
-    loopback loop $isofile +
-    linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile locale=it_IT.UTF-8 console-setup/layoutcode=it +
-    initrd (loop)/casper/initrd.lz +
-+
- +
-menuentry "Livenet UNIVR" { +
-    set isofile='/boot/iso/univr/livenet.iso' +
-    loopback loop $isofile +
- +
-    root=(loop) +
-    configfile /boot/grub/grub.cfg   +
-    loopback --delete loop +
-+
-</code> +
- +
-test boot with qemu+
 <code> <code>
-qemu-system-x86_64 -hda /dev/sdx+sudo qemu-system-x86_64 -enable-kvm -m 2G -vga std -drive file=/dev/<usbdisk>,readonly=on,cache=none,format=raw,if=virtio
 </code> </code>
  
-[[https://wiki.archlinux.org/index.php/Multiboot_USB_drive|fonte]] and [[http://borgernet.com/blog/14/booting-ubuntu-isos-on-exfat/|exfat ]] 
- 
- 
-===== grub command line ===== 
- 
-boot windows 
-<code> 
-insmod chain 
-ls 
-set root=(hd0,0) 
-chainloader +1 
-boot 
-</code> 
  
  • tips/multiboot.1540893216.txt.gz
  • Last modified: 2018/10/30 10:53
  • by scipio