LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2013, 02:34 AM   #1
linux_walker
LQ Newbie
 
Registered: Sep 2012
Posts: 26

Rep: Reputation: Disabled
How to partition file system for linux installation?


Hi,
I have a 8 GB pen drive, where i am planning to install scientific linux. I need guidelines and help to partition this 8GB drive. I will be using it for programming java with the help of eclipse IDE.

So after the installation SC Linux, i will install JDK and Eclipse IDE only. Please help me at the earliest.
 
Old 01-19-2013, 05:31 AM   #2
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 291Reputation: 291Reputation: 291
With only 8GB of space, I would install just a 500MB swap partition and the rest as root. This will give you 7.5GB for the root partition, which should be enough as long as you do not install lots of data on the home folder.
If you plan to install data, then perhaps you could mount a partition on the internal hard drive under media to store your data.
 
Old 01-19-2013, 09:28 AM   #3
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 782
Blog Entries: 2

Rep: Reputation: 75
Quote:
Originally Posted by tommcd View Post
With only 8GB of space, I would install just a 500MB swap partition and the rest as root. This will give you 7.5GB for the root partition, which should be enough as long as you do not install lots of data on the home folder.
If you plan to install data, then perhaps you could mount a partition on the internal hard drive under media to store your data.
500MB swap on a USB Memory? Dont think its a good Idea.
I would simply start the live CD and it should automatically suggest a partition (probably with a menu USB install).
Or install it with unetbootin ? (use of the full size)
 
Old 01-19-2013, 09:46 AM   #4
linux_walker
LQ Newbie
 
Registered: Sep 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thanks for the suggestions. I would go with 500MB of Swap and rest for root. So i don't need to have /boot partition correct?
 
Old 01-19-2013, 09:58 AM   #5
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,192

Rep: Reputation: 339Reputation: 339Reputation: 339Reputation: 339
You don't want your system swapping to a slow pen drive, for performance reasons. So I'd configure minimal swap, and then add more physical memory to your computer so you can (for the most part) alleviate the need for frequent swapping. How much memory does your computer currently have?

For a pen drive installation, everything should just go under /root. No need for seperate partitions for the various filesystems.
 
Old 01-19-2013, 10:09 AM   #6
headrift
Member
 
Registered: Sep 2005
Distribution: Gentoo, Sabayon, Puppy, Arch
Posts: 165

Rep: Reputation: 29
There are other considerations beyond partition types and sizes, such as if the drive will take partitions at all. Some do not. I personally don't worry about partitioning USB drives, and certainly not swap space as that would probably just wear out the drive. You do not need a /boot partition.

You seem to want it bootable, which means you need to know about the target machine and if it's a UEFI machine, which will determine your filesystem and bootloader. There is also the target CPU architecture to consider. (x86, x86_64, ARM, whatever)

Another idea is to track down a copy of Qemu (or similar) which will run in the host OS and load your Linux in that. I like to do that, as well as make the stick bootable. If you set it up right, they can both use the same kernel.

You will probably also want some outside storage to back up on. Anything from FTP to Dropbox would work.

Basically, I would put "just enough" on the USB drive to make it functional, and do the rest online.
 
  


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
[SOLVED] [ask] Try to understand installation behavior and Linux file system ethereal1m Linux - Newbie 1 01-25-2010 12:08 AM
eeexubuntu file system error during installation - creating ext2 partition gordon__1 Linux - Newbie 6 01-13-2008 05:39 PM
lost windows partition file system after mounting under linux ahafeel Linux - Newbie 2 09-16-2007 09:12 AM
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 09:11 PM
Proper Partition Style for Linux File System when installing Mandrake 9.2 bobsmith48 Mandriva 5 12-26-2003 07:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:21 AM.

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