I tested your multiboot system in my Toshiba laptop, my only computer with UEFI.
http://www.toshiba.se/laptops/satell...-pro-c850-19w/
It works well in UEFI mode
Comments and tips:
1. If the user has two other mass storage devices connected, there is a risk that valuable data on
/dev/sdb
will be overwritten. Maybe the template should have
/dev/sdx
instead, and the user should change x to what it should be.
2. The grub-install command lacks a space between the boot directory and the device, should be
Code:
sudo grub-install --removable --boot-directory=/mnt/boot --efi-directory=/mnt/EFI/BOOT /dev/sdb
3. Maybe it would help to suggest an rsync command to copy the content of the zipfile to the pendrive, for example
extract files:
copy files:
Code:
sudo rsync -Havn usb-pack_efi/ /mnt
or an advanced unzip command line to do it directly.
4. I modified grub.cfg and could boot from the following iso files
kubuntu-14.04.1-desktop-amd64.iso
ubuntu-14.04.2-desktop-amd64.iso
xubuntu-14.04.1-desktop-i386.iso
Notice that I could also boot the 32-bit Xubuntu system in UEFI mode.
5. But I could only boot in UEFI mode, not in BIOS mode alias CSM.
I did not even get to the grub menu in BIOS mode. Did I miss something? Have you managed to boot in BIOS mode with this system? Or is it an UEFI-only system?
6. My computer has problems with the graphics when UEFI mode and rescue mode, I think it is because of nomodeset and I do not blame your multiboot system for it. I tried with and without gfxpayload without success.
7. My modified grub.cfg:
Code:
submenu "Boot em HD " {
#menuentry "Reboot em USB" {
# set root="(hd0)"
# chainloader +1
#}
menuentry "HD1 MBR" {
set root="(hd1)"
chainloader +1
}
menuentry "HD1 Particao 1" {
set root="(hd1,msdos1)"
chainloader +1
}
menuentry "HD1 Particao 2" {
set root="(hd1,msdos2)"
chainloader +1
}
menuentry "HD1 Particao 3" {
set root="(hd1,msdos3)"
chainloader +1
}
menuentry "HD2 MBR" {
set root="(hd2)"
chainloader +1
}
menuentry "HD2 Particao 1" {
set root="(hd2,msdos1)"
chainloader +1
}
menuentry "HD2 Particao 2" {
set root="(hd2,msdos2)"
chainloader +1
}
menuentry "HD2 Particao 3" {
set root="(hd2,msdos3)"
chainloader +1
}
}
menuentry "Grub4dos - HBCD+"{
# mudar (hd0,2) ou outros para diferentes computadores...
setroot=(hd0,1)
linux /boot/grub4dos/grub.exe
}
submenu "Teste de Memoria" {
menuentry "memtest86+ 4.20" {
linux16 /boot/memtest/memtest.bin
}
menuentry "memtest86+-5.01" {
linux16 /boot/memtest/memtest86+-5.01.bin
}
}
menuentry 'Kubuntu 14.04.1 amd64' {
set isofile="/iso/kubuntu-14.04.1-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile liveimg noprompt noeject quiet splash --
initrd (loop)/casper/initrd.lz
}
submenu "submenu Kubuntu 14.04.1" {
menuentry 'Kubuntu 14.04.1 amd64 (failsafe)' {
set isofile="/iso/kubuntu-14.04.1-desktop-amd64.iso"
loopback loop $isofile
# set gfxpayload=800x600x16,800x600
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile liveimg noeject nomodeset noapic --
initrd (loop)/casper/initrd.lz
}
}
menuentry 'Ubuntu 14.04.2 amd64' {
set isofile="/iso/ubuntu-14.04.2-desktop-amd64.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile liveimg noprompt noeject quiet splash --
initrd (loop)/casper/initrd.lz
}
submenu "submenu Ubuntu 14.04.2" {
menuentry 'Ubuntu 14.04.2 amd64 (failsafe)' {
set isofile="/iso/ubuntu-14.04.2-desktop-amd64.iso"
loopback loop $isofile
# set gfxpayload=800x600x16,800x600
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile liveimg noeject nomodeset noapic --
initrd (loop)/casper/initrd.lz
}
}
menuentry "Xubuntu 14.04.1 i386" {
set isofile="/iso/xubuntu-14.04.1-desktop-i386.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile liveimg noprompt noeject quiet splash --
initrd (loop)/casper/initrd.lz
}
submenu "submenu Xubuntu 14.04.1 i386" {
menuentry 'Xubuntu 14.04.1 i386 (failsafe)' {
set isofile="/iso/xubuntu-14.04.1-desktop-i386.iso"
loopback loop $isofile
# set gfxpayload=800x600x16,800x600
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile liveimg noeject nomodeset noapic --
initrd (loop)/casper/initrd.lz
}
}
Bookmarks