* [gentoo-user] LiveUSB
@ 2008-01-22 6:25 Jason Dusek
2008-01-22 22:42 ` b.n.
0 siblings, 1 reply; 6+ messages in thread
From: Jason Dusek @ 2008-01-22 6:25 UTC (permalink / raw
To: gentoo-user
I've recently created LiveUSB sticks from the Gentoo LiveDVD
and LiveCD. (I'm trying to put Gentoo on an OQO.) It was
pretty easy -- I was able to use ext3 even -- and I thought
I'd share how I did that with everyone.
The three steps are:
. Format the stick.
. Put the Gentoo stuff on there.
. Slap on the boot loader and configure it.
Prepare The Stick
-----------------
For the DVD, you need a big stick -- for the CD, not so much.
Let's say the stick is at `/dev/sda`. Using fdisk, create one
partition on it, marking it bootable. (That part is explained
all over the place.) When that is over, run
mkfs.ext3 /dev/sda1
and then put the master boot record on the device:
cat /usr/lib/syslinux/mbr.bin > /dev/sda
Copy The Gentoo Material
------------------------
Mount the ISO of your choice -- say it's at `/media/iso` --
along with `/dev/sda1` at `/media/usb`. All you have to do is:
cp -pPR /media/iso/* /media/usb
Setup The Bootloader
--------------------
This is where my process differs from the tutorials for
Gentoo. I lifted the idea from the Pentoo distribution (now
defunct). You install the `extlinux` loader _to the directory_
where the bootable stuff -- so it's okay to leave it all in
isolinux.
cd /media
cp usb/isolinux/isolinux.cfg usb/isolinux/extlinux.conf
extlinux -i usb/isolinux
There will be a `extlinux.sys` file in there along side the
configuration file after you install.
That's it. I wanted to go with ext3 so I could have links and
a large filesystem -- FAT16 won't take more than 2GB -- and
I'm glad this was so easy with Gentoo 2007.0! It's too bad
the tutorials out there don't make it clear the progress that
has been made in the last year. USB booting is great -- I will
likely exploit the ease of 'remastering' my image to good
effect when installing on my OQO -- and I hope this email
helps others out there who are interested in the topic.
--
_jsn
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] LiveUSB
2008-01-22 6:25 [gentoo-user] LiveUSB Jason Dusek
@ 2008-01-22 22:42 ` b.n.
2008-01-23 7:47 ` Jason Dusek
0 siblings, 1 reply; 6+ messages in thread
From: b.n. @ 2008-01-22 22:42 UTC (permalink / raw
To: gentoo-user
Jason Dusek ha scritto:
> I've recently created LiveUSB sticks from the Gentoo LiveDVD
> and LiveCD. (I'm trying to put Gentoo on an OQO.) It was
> pretty easy -- I was able to use ext3 even -- and I thought
> I'd share how I did that with everyone.
Cool!
Post it on the Gentoo wiki!
m.
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] LiveUSB
2008-01-22 22:42 ` b.n.
@ 2008-01-23 7:47 ` Jason Dusek
2008-01-23 11:28 ` 443-653-1569
0 siblings, 1 reply; 6+ messages in thread
From: Jason Dusek @ 2008-01-23 7:47 UTC (permalink / raw
To: gentoo-user
Posted -- please let me know what you think:
http://gentoo-wiki.com/HOWTO_LiveUSB
--
_jsn
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] LiveUSB
2008-01-23 7:47 ` Jason Dusek
@ 2008-01-23 11:28 ` 443-653-1569
2008-01-23 12:12 ` Jerry McBride
0 siblings, 1 reply; 6+ messages in thread
From: 443-653-1569 @ 2008-01-23 11:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
Wow!
Didn't know it would be that simple, I've always had trouble with live usb
in the past, guess I'll give it a try.
Bill Roberts
On 23:47 Tue 22 Jan , Jason Dusek wrote:
> Posted -- please let me know what you think:
>
> http://gentoo-wiki.com/HOWTO_LiveUSB
>
> --
> _jsn
> --
> gentoo-user@lists.gentoo.org mailing list
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] LiveUSB
2008-01-23 11:28 ` 443-653-1569
@ 2008-01-23 12:12 ` Jerry McBride
2008-01-23 18:46 ` Jason Dusek
0 siblings, 1 reply; 6+ messages in thread
From: Jerry McBride @ 2008-01-23 12:12 UTC (permalink / raw
To: Bill Roberts, gentoo-user
On Wednesday 23 January 2008 06:28:51 am 443-653-1569 wrote:
> Wow!
>
> Didn't know it would be that simple, I've always had trouble with live usb
> in the past, guess I'll give it a try.
>
> Bill Roberts
>
> On 23:47 Tue 22 Jan , Jason Dusek wrote:
> > Posted -- please let me know what you think:
> >
> > http://gentoo-wiki.com/HOWTO_LiveUSB
> >
The only thing I could add is to mention the ebuilds for the tools you used.
That said, it works for me.
Cheers.
--
From the Desk of: Jerome D. McBride
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] LiveUSB
2008-01-23 12:12 ` Jerry McBride
@ 2008-01-23 18:46 ` Jason Dusek
0 siblings, 0 replies; 6+ messages in thread
From: Jason Dusek @ 2008-01-23 18:46 UTC (permalink / raw
To: gentoo-user
Please mention this kind of thing on the talk page.
I will go ahead and post your email this time, as well as make
the necessary changes.
--
_jsn
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-01-23 18:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 6:25 [gentoo-user] LiveUSB Jason Dusek
2008-01-22 22:42 ` b.n.
2008-01-23 7:47 ` Jason Dusek
2008-01-23 11:28 ` 443-653-1569
2008-01-23 12:12 ` Jerry McBride
2008-01-23 18:46 ` Jason Dusek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox