LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-13-2007, 04:14 AM   #1
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Rep: Reputation: 15
Best method of running Linux distro from 4GB usb stick?


Im trying to understand how this should be done.

Do you run a live distro from stick or do you do an installation with swap and partitions as on a hard drive?

If you run a live distro how do you setup stick for storage and swap?


I currently run Mandriva 2007 on my PC so im using this for the memory stick since im familiar with this distro.

Confused usb stick newbie Any pointers on the issue will be greatfully recieved.
 
Old 04-13-2007, 04:28 AM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
You definitely don't want to just install to the flash device like it was a standard HDD. Flash has a limited amount of read/write operations that can be performed on it before it begins to fail. Installing a full operating system onto such a device will destroy it many times faster than under normal use.

The best way to go about it would be to place an initrd on the flash drive that holds the system itself, and then have a second partition on the drive that is mounted as /home. At the very least, if you were to install the distribution to the flash drive, you would want to mount the root partition as read-only. Of course that is likely to bring up a whole slew of other problems.

The easiest way about it would be to simply use a distribution that supports installing to USB devices, like SLAX or DSL.
 
Old 04-13-2007, 08:07 AM   #3
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks - DSL then.

One more question. On the machine im using to test usb stick it only has USB-FDD boot option in bios. Will this be ok???
 
Old 04-16-2007, 07:02 AM   #4
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Question progress

Ok this where im currently at.

I downloaded and burnt iso for DSL. Just to see what its like. Ok looks feels fine. Found option in desktop to install to USB-HDD, did that but it seems USB-FDD wont boot that on my machine so im stuffed for a direct boot test.

I have lilo on my machine so that i can dual boot between xp and mandriva 2oo7. Allows me to slowly migrate.

So I figure in this case to test my USB DSL stick I could just add to lilo options so in mandriva i tried to add /dev/sda1, ok, but it wants the location of kernal image, ok back into DSL ISO boot and find what looks like a location....KERNAL= /boot/linux24.

Back to Mandriva and tried ading /dev/sda1, linux OS, kernal location /boot/linux24.... i didnt like that...doesnt exist???

Now im stumped!

One last thing! Why does DSL insist on making my 4GB USB one single FAT partion. Tried everything I know in FDISK. If its only 50Mb it doesnt need all that.
 
Old 04-16-2007, 12:53 PM   #5
paul123
Member
 
Registered: Nov 2006
Location: UK
Distribution: Mandriva 2007
Posts: 93

Original Poster
Rep: Reputation: 15
Question Further progress

Hey I found this and putting link in for anybody else whos wondering

http://www.cyberwalker.com/forums/sh....php?tid/2222/

So thats over and out for USB-FDD and Floppy boot to USB.

Ok so how can I test my USB DSL pen on my machine? Lilo to my mind should work but wheres the kernal path for DSL pendrive...otherwise I can ttry LILO

Next question... can I get an emulator in my mandriva linux KDE desktop and boot the pen drive in that?

Sorry if im being a nob! I just aint overly geeky (but im getting there!)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux distro for Pentium166MHz, 64MB RAM and 4GB HDD rasputin_ylong Linux - Hardware 10 11-17-2008 04:44 PM
Linux on 2GB (or 4GB) external USB Flash Drive (Stick) [Bootable / Expandable] phi DamnSmallLinux 3 04-17-2007 02:27 AM
Linux distro to work with Windows Apps on 2 GB USB Stick Spaceduster Linux - Distributions 8 02-07-2007 02:44 AM
which linux distro for M-II 366-250MHz 4GB HD 128RAM vinny45 Linux - Newbie 6 03-02-2004 09:35 PM


All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration