* Re: [gentoo-user] Iron penguin on usb?
2014-11-19 22:15 [gentoo-user] Iron penguin on usb? James
@ 2014-11-20 0:18 ` Neil Bothwick
2014-11-20 0:26 ` David Abbott
` (2 subsequent siblings)
3 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2014-11-20 0:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 784 bytes --]
On Wed, 19 Nov 2014 22:15:38 +0000 (UTC), James wrote:
> Are these the best instructions to follow to createa usb bootable
> live gentoo image? It has to be able to install new packages and
> save those to the usb stick.
>
> I remember some time back (Neil) mentioned a package I was
> not aware of (and naturally cannot remmber the name of) that
> made creating USB bootable, usable, images on a usb stick
> straightforward?
Do you mean isohybrid? That converts an ISO image to make it suitable for
copying to a USB drive with dd and booting it as if it were a CD. it's
not suitable for your needs as it uses the whole drive as an ISO9660
filesystem, leaving nowhere to save your files.
--
Neil Bothwick
Friends may come and go, but enemies accumulate.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Iron penguin on usb?
2014-11-19 22:15 [gentoo-user] Iron penguin on usb? James
2014-11-20 0:18 ` Neil Bothwick
@ 2014-11-20 0:26 ` David Abbott
2014-11-20 19:21 ` thegeezer
2014-11-25 8:17 ` Fernando Rodriguez
3 siblings, 0 replies; 12+ messages in thread
From: David Abbott @ 2014-11-20 0:26 UTC (permalink / raw
To: gentoo-user
On Wed, Nov 19, 2014 at 5:15 PM, James <wireless@tampabay.rr.com> wrote:
> Hello,
>
> Ok the latest release of livedvd is here:
>
> https://www.gentoo.org/news/20140826-livedvd.xml
>
> So my understanding is you can put this on a usb stick. Run
> gentoo live, download packages, set flags, install packages
> and save them to the USB stick? So it's a portable gentoo
> workstation on a usb stick?
Use dd to put it on a usb stick.
For persistence I would ask likewhoa;
https://forums.gentoo.org/viewtopic-t-995118.html
>
> https://wiki.gentoo.org/wiki/LiveUSB/HOWTO
>
>
> Are these the best instructions to follow to createa usb bootable
> live gentoo image? It has to be able to install new packages and
> save those to the usb stick.
>
> I remember some time back (Neil) mentioned a package I was
> not aware of (and naturally cannot remmber the name of) that
> made creating USB bootable, usable, images on a usb stick
> straightforward?
>
> It even handled grub2, uefi and such?
>
> suggestions?
>
>
> James
>
>
Regards,
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Iron penguin on usb?
2014-11-19 22:15 [gentoo-user] Iron penguin on usb? James
2014-11-20 0:18 ` Neil Bothwick
2014-11-20 0:26 ` David Abbott
@ 2014-11-20 19:21 ` thegeezer
2014-11-20 19:36 ` David Abbott
2014-11-25 8:17 ` Fernando Rodriguez
3 siblings, 1 reply; 12+ messages in thread
From: thegeezer @ 2014-11-20 19:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]
On 19/11/14 22:15, James wrote:
> Hello,
>
> Ok the latest release of livedvd is here:
>
> https://www.gentoo.org/news/20140826-livedvd.xml
from the forum link from the news article
http://forums.gentoo.org/viewtopic-t-995118.html
"One of the great things about this new livedvd besides that it contains
over 1200 packages is that it now supports full / persistency meaning
that you can boot this livedvd, make tweaks as you like and reboot while
retaining those changes. It's more like a Gentoo to Go if you ask me. "
and
"Another great feature which will be ported to all minimal install cds
is support for UEFI. This image even boots on MAC OSX hardware! Yes you
heard it right! "
nice pie, well done to the gentoo devs
>
> So my understanding is you can put this on a usb stick. Run
> gentoo live, download packages, set flags, install packages
> and save them to the USB stick? So it's a portable gentoo
> workstation on a usb stick?
>
> https://wiki.gentoo.org/wiki/LiveUSB/HOWTO
>
>
> Are these the best instructions to follow to createa usb bootable
> live gentoo image? It has to be able to install new packages and
> save those to the usb stick.
>
> I remember some time back (Neil) mentioned a package I was
> not aware of (and naturally cannot remmber the name of) that
> made creating USB bootable, usable, images on a usb stick
> straightforward?
>
> It even handled grub2, uefi and such?
>
> suggestions?
>
>
> James
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2340 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Iron penguin on usb?
2014-11-20 19:21 ` thegeezer
@ 2014-11-20 19:36 ` David Abbott
0 siblings, 0 replies; 12+ messages in thread
From: David Abbott @ 2014-11-20 19:36 UTC (permalink / raw
To: gentoo-user
On Thu, Nov 20, 2014 at 2:21 PM, thegeezer <thegeezer@thegeezer.net> wrote:
> On 19/11/14 22:15, James wrote:
>
> Hello,
>
> Ok the latest release of livedvd is here:
>
> https://www.gentoo.org/news/20140826-livedvd.xml
>
> from the forum link from the news article
> http://forums.gentoo.org/viewtopic-t-995118.html
> "One of the great things about this new livedvd besides that it contains
> over 1200 packages is that it now supports full / persistency meaning that
> you can boot this livedvd, make tweaks as you like and reboot while
> retaining those changes. It's more like a Gentoo to Go if you ask me. "
> and
> "Another great feature which will be ported to all minimal install cds is
> support for UEFI. This image even boots on MAC OSX hardware! Yes you heard
> it right! "
>
> nice pie, well done to the gentoo devs
>
>
> So my understanding is you can put this on a usb stick. Run
> gentoo live, download packages, set flags, install packages
> and save them to the USB stick? So it's a portable gentoo
> workstation on a usb stick?
>
> https://wiki.gentoo.org/wiki/LiveUSB/HOWTO
>
>
> Are these the best instructions to follow to createa usb bootable
> live gentoo image? It has to be able to install new packages and
> save those to the usb stick.
>
Likewhoa just put this together for the LiveDVD media, he is the one
who builds them;
https://wiki.gentoo.org/wiki/LiveDVD-Persistence-Mode
--
David Abbott (dabbott)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Iron penguin on usb?
2014-11-19 22:15 [gentoo-user] Iron penguin on usb? James
` (2 preceding siblings ...)
2014-11-20 19:21 ` thegeezer
@ 2014-11-25 8:17 ` Fernando Rodriguez
2014-11-25 8:46 ` Neil Bothwick
3 siblings, 1 reply; 12+ messages in thread
From: Fernando Rodriguez @ 2014-11-25 8:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2655 bytes --]
On Wednesday, November 19, 2014 10:15:38 PM James wrote:
> Hello,
>
> Ok the latest release of livedvd is here:
>
> https://www.gentoo.org/news/20140826-livedvd.xml
>
> So my understanding is you can put this on a usb stick. Run
> gentoo live, download packages, set flags, install packages
> and save them to the USB stick? So it's a portable gentoo
> workstation on a usb stick?
>
> https://wiki.gentoo.org/wiki/LiveUSB/HOWTO
>
>
> Are these the best instructions to follow to createa usb bootable
> live gentoo image? It has to be able to install new packages and
> save those to the usb stick.
>
> I remember some time back (Neil) mentioned a package I was
> not aware of (and naturally cannot remmber the name of) that
> made creating USB bootable, usable, images on a usb stick
> straightforward?
>
> It even handled grub2, uefi and such?
>
> suggestions?
>
>
> James
>
>
>
>
You can install Gentoo to a USB drive following the installation guide on the
wiki. I've done it Arch cause it's quicker but it will work with Gentoo as
well. Just make sure to compile the kernel with everything as modules and
install all the xorg drivers if you want a desktop.
You can also make a multiboot USB (for most live CDs) like that, Just use
syslinux as your bootloader, to install a new live CD (in a nutshell):
1. Create a FAT partition big enough to store the Live CD. If the CD has a
volume label that's less that 8 chars set the label of the new partition to
the same (some live CDs use it to find the live medium).
2. Mount the ISO image as a loop device and copy all the files to your new
partition.
3. Install Syslinux on top of Isolinux (usually /isolinux).
4. Create a syslinux.cfg as follows: "echo 'include isolinux.cfg' >
/mnt/isolinux/syslinux.cfg (assuming your new partition is mounted on /mnt).
5. Add an entry to your Gentoo's syslinux.cfg to chainload to the new
partition.
I recently tried this and it worked with Arch, Knoppix, Kali, and Ubuntu CDs
(for Ubuntu distros create the partition and then use Ubunutu's startup disk
creator to install it to the new partition, then do step #5).
I create a FAT32 parition for my files and set the type of all other paritions,
including the ext2 partion to "Hidden FAT32" (more modern software doesnt care
about the type) so when you plug it in on a desktop (even windows) only that
partition is visible. Just make sure not to mount your it on your /home
directory cause it'll give you problems.
--
Fernando Rodriguez
PGP Key: http://keys.gnupg.net/pks/lookup?op=get&search=0xF6CE157FF9525C1C
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Iron penguin on usb?
2014-11-25 8:17 ` Fernando Rodriguez
@ 2014-11-25 8:46 ` Neil Bothwick
0 siblings, 0 replies; 12+ messages in thread
From: Neil Bothwick @ 2014-11-25 8:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]
On Tue, 25 Nov 2014 03:17:07 -0500, Fernando Rodriguez wrote:
> You can also make a multiboot USB (for most live CDs) like that, Just
> use syslinux as your bootloader, to install a new live CD (in a
> nutshell):
>
> 1. Create a FAT partition big enough to store the Live CD. If the CD
> has a volume label that's less that 8 chars set the label of the new
> partition to the same (some live CDs use it to find the live medium).
> 2. Mount the ISO image as a loop device and copy all the files to your
> new partition.
> 3. Install Syslinux on top of Isolinux (usually /isolinux).
> 4. Create a syslinux.cfg as follows: "echo 'include isolinux.cfg' >
> /mnt/isolinux/syslinux.cfg (assuming your new partition is mounted
> on /mnt). 5. Add an entry to your Gentoo's syslinux.cfg to chainload to
> the new partition.
Alternatively, you can use GRUB, which boots directly from the ISOs, so
you don't even need to unpack them. Just chuck them all on the stick, no
need to partition, and create a menu entry for each one. The details of
the menu entry vary according to how the ISO boots, but there are plenty
of samples at https://help.ubuntu.com/community/Grub2/ISOBoot/Examples
--
Neil Bothwick
A positive attitude may not solve all your problems, but it will annoy
enough people to make it worth the effort.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread