You are not logged in.

#1 2016-05-19 14:56:03

entodoays
Member
From: Malta
Registered: 2014-10-25
Posts: 118

Multiboot USB [SOLVED]

I'm trying to create an external USB hard-disk with multiple iso files to boot from.

I followed the https://wiki.archlinux.org/index.php/Mu … _USB_drive page but I already had an external hard disk with grub installed in it.
I simply created the /boot/iso/ folder, copied the iso files and tried modifying grub.cfg.

The iso's I'm trying to add are Ubuntu 64 bit, Xubuntu 32 bit and Lubuntu 32 bit.

Ubuntu booted properly but not the other two. They simply start doing something but the screen remained blank and then the PC shuts down.

These are my menu entries:

menuentry '[loopback]Ubuntu-16.04-desktop-amd64' {
	set isofile='/boot/iso/ubuntu-16.04-desktop-amd64.iso'
	loopback loop $isofile
	linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile locale=en_US.UTF-8 quiet splash
	initrd (loop)/casper/initrd.lz
}
menuentry '[loopback]Xubuntu-16.04-desktop-i386' {
	set isofile='/boot/iso/xubuntu-16.04-desktop-i386.iso'
	loopback loop $isofile
	linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=en_US.UTF-8 vmalloc=1300M
	initrd (loop)/casper/initrd.lz
}
menuentry '[loopback]Lubuntu-16.04-desktop-i386' {
	set isofile='/boot/iso/lubuntu-16.04-desktop-i386.iso'
	loopback loop $isofile
	linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile locale=en_US.UTF-8 vmalloc=1024M
	initrd (loop)/casper/initrd.lz
}

How do I make this work?

Last edited by entodoays (2016-05-19 15:47:24)

Offline

#2 2016-05-19 15:02:12

frostschutz
Member
Registered: 2013-11-15
Posts: 1,409

Re: Multiboot USB [SOLVED]

maybe it's because vmlinuz.efi vs. vmlinuz? loop mount the iso and check what's on it

Offline

#3 2016-05-19 15:47:02

entodoays
Member
From: Malta
Registered: 2014-10-25
Posts: 118

Re: Multiboot USB [SOLVED]

I solved this issue myself by opening the iso file with archive manager, finding the /boot/grub/loopback.cfg file and copying the menuentry adding (loop) to the linux and initrd lines. Updatedcode as follows:

menuentry '[loopback]Xubuntu-16.04-desktop-i386' {
	set isofile='/boot/iso/xubuntu-16.04-desktop-i386.iso'
	loopback loop $isofile
	linux	(loop)/casper/vmlinuz  file=/cdrom/preseed/xubuntu.seed boot=casper iso-scan/filename=$isofile quiet splash ---
	initrd	(loop)/casper/initrd.lz
}
menuentry '[loopback]Lubuntu-16.04-desktop-i386' {
	set isofile='/boot/iso/lubuntu-16.04-desktop-i386.iso'
	loopback loop $isofile
	linux	(loop)/casper/vmlinuz  file=/cdrom/preseed/lubuntu.seed boot=casper iso-scan/filename=$isofile quiet splash ---
	initrd	(loop)/casper/initrd.lz
}

Offline

Board footer

Powered by FluxBB