Boot ISO image no GRUB2

Adicione uma das entradas no arquivo: /etc/grub.d/40_custom

menuentry "Debian 9.2 Install" {
  set isofile="/path/to/iso/debian-9.2.1-amd64-netinst.iso"
  loopback loop (hd0,3)$isofile
  linux (loop)/install.amd/vmlinuz from=${isofile} iso-scan/filename=${isofile} quiet splash
  initrd (loop)/install.amd/initrd.gz
}
menuentry "Porteus ISO" {
  set isofile="/path/to/iso/Porteus-XFCE-v3.1-x86_64.iso"
  loopback loop (hd0,3)$isofile
  linux (loop)/boot/syslinux/vmlinuz from=${isofile} quiet splash
  initrd (loop)/boot/syslinux/initrd.xz
}

*Para não montar partições automaticamente e logar como root use: noauto login=root

Atualize o grub

update-grub2
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s