Unix Technical Forum

Gentoo on a USB flash drive?

This is a discussion on Gentoo on a USB flash drive? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> I just got a nice USB flash drive from RatShack. (512mb). Units of 2GB are now available. Has anybody ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:57 AM
Ken Scharf
 
Posts: n/a
Default Gentoo on a USB flash drive?

I just got a nice USB flash drive from RatShack.
(512mb). Units of 2GB are now available.

Has anybody ever tried to put a bootable Linux system
on one of these? (Most bios probably won't boot a
usb drive, but could probably be done via a second stage
boot on a floppy).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:57 AM
ray
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

On Sun, 01 Jan 2006 18:55:47 -0500, Ken Scharf wrote:

> I just got a nice USB flash drive from RatShack.
> (512mb). Units of 2GB are now available.
>
> Has anybody ever tried to put a bootable Linux system
> on one of these? (Most bios probably won't boot a
> usb drive, but could probably be done via a second stage
> boot on a floppy).


Yes. I have a version of 'puppy' on a flash disk. To have it boot on my
system I had to tell the bios to boot from 'usb zip drive'. I would not
want to use one on a regular basis - they're not that fast, and flash
memory is good for a finite number of writes.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:57 AM
Ken Scharf
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

ray wrote:
> On Sun, 01 Jan 2006 18:55:47 -0500, Ken Scharf wrote:
>
>
>>I just got a nice USB flash drive from RatShack.
>>(512mb). Units of 2GB are now available.
>>
>>Has anybody ever tried to put a bootable Linux system
>>on one of these? (Most bios probably won't boot a
>>usb drive, but could probably be done via a second stage
>>boot on a floppy).

>
>
> Yes. I have a version of 'puppy' on a flash disk. To have it boot on my
> system I had to tell the bios to boot from 'usb zip drive'. I would not
> want to use one on a regular basis - they're not that fast, and flash
> memory is good for a finite number of writes.
>

True, a flash based system would have to be built in the same way
as a live CD. No writes to the boot media and use a ram disk for
the "working" image.

BTW I think a flash disk would be faster than the average CD
drive.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:57 AM
ray
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

On Mon, 02 Jan 2006 21:29:26 -0500, Ken Scharf wrote:

> ray wrote:
>> On Sun, 01 Jan 2006 18:55:47 -0500, Ken Scharf wrote:
>>
>>
>>>I just got a nice USB flash drive from RatShack.
>>>(512mb). Units of 2GB are now available.
>>>
>>>Has anybody ever tried to put a bootable Linux system
>>>on one of these? (Most bios probably won't boot a
>>>usb drive, but could probably be done via a second stage
>>>boot on a floppy).

>>
>>
>> Yes. I have a version of 'puppy' on a flash disk. To have it boot on my
>> system I had to tell the bios to boot from 'usb zip drive'. I would not
>> want to use one on a regular basis - they're not that fast, and flash
>> memory is good for a finite number of writes.
>>

> True, a flash based system would have to be built in the same way
> as a live CD. No writes to the boot media and use a ram disk for
> the "working" image.


I guess it could, but I don't think it's necessary. I haven't booted the
puppy flash drive for some time, but I believe it is indeed read/write.


>
> BTW I think a flash disk would be faster than the average CD
> drive.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 11:00 AM
Christian
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

Ken Scharf wrote:
> Has anybody ever tried to put a bootable Linux system
> on one of these? (Most bios probably won't boot a
> usb drive, but could probably be done via a second stage
> boot on a floppy).


It surely is possible to put a bootable Linux system on an USB-stick - you can
even buy preinstalled ones, and I think there are some kind of image files
somewhere on the net, which you can simply download to the stick.
But I don't think gentoo is a good choice for this purpose, since you can't take
any advantage of optimization since you probably use it on different machines
with possibly different CPUs. It will have to do a lot of hardware-detection and
stuff. I would suggest something like knoppix.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 11:00 AM
Arthur Hagen
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

Christian <derbrain@gmx.net> wrote:
> Ken Scharf wrote:
>> Has anybody ever tried to put a bootable Linux system
>> on one of these? (Most bios probably won't boot a
>> usb drive, but could probably be done via a second stage
>> boot on a floppy).

>
> It surely is possible to put a bootable Linux system on an USB-stick
> - you can even buy preinstalled ones, and I think there are some kind
> of image files somewhere on the net, which you can simply download to
> the stick.
> But I don't think gentoo is a good choice for this purpose, since you
> can't take any advantage of optimization since you probably use it on
> different machines with possibly different CPUs. It will have to do a
> lot of hardware-detection and stuff. I would suggest something like
> knoppix.


Also, there's no way to fit Gentoo and a multitude of drivers on any of
the commonly available memory sticks, without forgoing most of the X and
GUI. There's "Embedded Gentoo", but that's not really meant for this
kind of use.
There's multiple mini-distros specifically made for single CDs or memory
sticks. Damn Small Linux is another distro that's very popular, and
better suited for booting from an USB stick than Knoppix (which is
designed for booting from a CD).

Regards,
--
*Art

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 11:00 AM
I did not
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

On Fri, 20 Jan 2006 11:02:38 +0100, Christian wrote:

> Ken Scharf wrote:
>> Has anybody ever tried to put a bootable Linux system
>> on one of these? (Most bios probably won't boot a
>> usb drive, but could probably be done via a second stage
>> boot on a floppy).

>
> It surely is possible to put a bootable Linux system on an USB-stick - you can
> even buy preinstalled ones, and I think there are some kind of image files
> somewhere on the net, which you can simply download to the stick.
> But I don't think gentoo is a good choice for this purpose, since you can't take
> any advantage of optimization since you probably use it on different machines
> with possibly different CPUs. It will have to do a lot of hardware-detection and
> stuff. I would suggest something like knoppix.


or read http://www.gentoo.org/doc/en/liveusb.xml

Hth

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 11:00 AM
Arthur Hagen
 
Posts: n/a
Default Re: Gentoo on a USB flash drive?

I did not <NOSPAM@keepyourspam.com> wrote:
> On Fri, 20 Jan 2006 11:02:38 +0100, Christian wrote:
>
>> Ken Scharf wrote:
>>> Has anybody ever tried to put a bootable Linux system
>>> on one of these? (Most bios probably won't boot a
>>> usb drive, but could probably be done via a second stage
>>> boot on a floppy).

>>
>> It surely is possible to put a bootable Linux system on an USB-stick
>> - you can even buy preinstalled ones, and I think there are some
>> kind of image files somewhere on the net, which you can simply
>> download to the stick.
>> But I don't think gentoo is a good choice for this purpose, since
>> you can't take any advantage of optimization since you probably use
>> it on different machines with possibly different CPUs. It will have
>> to do a lot of hardware-detection and stuff. I would suggest
>> something like knoppix.

>
> or read http://www.gentoo.org/doc/en/liveusb.xml


That's for making a livecd to install from, not for making a full
working system like I think the OP was referring to. You can certainly
modify a livecd to have different packages, but it still won't have any
read/write area to store your data or tools for storing/restoring data
offsite, like a real keychain linux will. Adding that is the tough
part, and I would recommend using a distro that's designed for carrying
around.

Regards,
--
*Art

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:23 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com