LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-14-2013, 07:48 AM   #1
LittleGreyCat
LQ Newbie
 
Registered: Oct 2011
Posts: 4

Rep: Reputation: Disabled
Using a pendrive Linux long term.


O.K. - followed the instructions (some time back) and built a pendrive Linux on a 16GB stick.

Nice fast stick, worked well.

So I ran it as a normal Linux, updating as new patches etc. were released.

Then one day I ran out of space.
Then I realised that the pendrive was configured with a pretend CD formatted as FAT32 and was only 713MB capacity (as reported by Windows).

So the basic question is:
does the first (boot) partition have to be CD size?
If I shrink the rest of the partitions and expand the FAT32 partition will it still boot?

I know I can suck it and see but I was wondering if anyone had already tried this and knew what constraints applied.

Cheers

LGC
 
Old 01-14-2013, 08:28 AM   #2
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 3,911

Rep: Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044Reputation: 1044
The installer of most distributions gives you the capability to do a full upgradable install to USB stick, controlling a) the partition size, b) the partition filesystem.

For example if you are using Ubuntu see post #5 of this thread (the author C.S. Cameron is an expert on the topic):

http://ubuntuforums.org/showthread.php?t=2060493
 
Old 01-14-2013, 08:32 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
I assume that you use it as a live-medium with persistance feature (created with Unetbootin, Lili USB or other tools). If you really want to use the OS long-term I would recommend to create a real installation instead of the live system.
 
Old 01-14-2013, 09:50 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,139

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Not sure what is going on. "I ran it as a normal Linux, " Usually a "pendrive" install will/sometimes fail on updates. It simply can't change some of the files and use the casper file for changes.

If you are careful, a real install to a usb flash drive is very easy. I use a virtual machine so that there is not way to bork the normal hard drive but if you are careful and the distro is OK then you can boot to a cd/dvd and install directly to your usb just as if it were a real hard drive.

There may be some hacks or other ways to change the flash drive to ext2 and run a unetbootin type pendrive install. There are ways to run from an iso image even and then to a second partition for ext2 for persistent changes I believe also. See pendrivelinux.com for more ideas.

I agree with the others that you should consider a normal real install. Almost all modern linux distro's use the usb just like a hard drive.

Be warned that you can bork your main install if you are not careful. Boot from cd/dvd to start your distro installer. Remove power from internal hard drives if you feel you need that data.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Long term Linux for corporate and science Mario Blunk Linux - Distributions 9 05-13-2012 08:24 AM
Looking for a long-term upgradable Linux distro Malbrouck Debian 5 03-03-2009 07:51 AM
Long Term File Archiving with Linux chaoswings Linux - Software 1 11-01-2008 06:24 PM
LXer: Ubuntu updates long-term Linux LXer Syndicated Linux News 0 01-22-2008 02:20 PM
What Linux distributions have long-term support? jhsu Linux - Newbie 5 03-11-2007 03:52 PM


All times are GMT -5. The time now is 12:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration