Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Iron penguin on usb?
Date: Tue, 25 Nov 2014 08:46:58
Message-Id: 20141125084650.170b026f@digimed.co.uk
In Reply to: Re: [gentoo-user] Iron penguin on usb? by Fernando Rodriguez
1 On Tue, 25 Nov 2014 03:17:07 -0500, Fernando Rodriguez wrote:
2
3 > You can also make a multiboot USB (for most live CDs) like that, Just
4 > use syslinux as your bootloader, to install a new live CD (in a
5 > nutshell):
6 >
7 > 1. Create a FAT partition big enough to store the Live CD. If the CD
8 > has a volume label that's less that 8 chars set the label of the new
9 > partition to the same (some live CDs use it to find the live medium).
10 > 2. Mount the ISO image as a loop device and copy all the files to your
11 > new partition.
12 > 3. Install Syslinux on top of Isolinux (usually /isolinux).
13 > 4. Create a syslinux.cfg as follows: "echo 'include isolinux.cfg' >
14 > /mnt/isolinux/syslinux.cfg (assuming your new partition is mounted
15 > on /mnt). 5. Add an entry to your Gentoo's syslinux.cfg to chainload to
16 > the new partition.
17
18 Alternatively, you can use GRUB, which boots directly from the ISOs, so
19 you don't even need to unpack them. Just chuck them all on the stick, no
20 need to partition, and create a menu entry for each one. The details of
21 the menu entry vary according to how the ISO boots, but there are plenty
22 of samples at https://help.ubuntu.com/community/Grub2/ISOBoot/Examples
23
24
25 --
26 Neil Bothwick
27
28 A positive attitude may not solve all your problems, but it will annoy
29 enough people to make it worth the effort.