Hard drive partitions [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

Hard drive partitions [SOLVED]

Postby Dar-es-Salaam on Sat Nov 27, 2010 7:41 am

Hi

I have recently screwed up my hard drive and am trying to reinstall LMDE. my problem is that it keeps asking for me to make partitions and give them /, /boot etc and ext2, 3 or 4 and do i need a linux swap and what ext does it use
how many partitions do i need.

any help please

Cheers
Last edited by Dar-es-Salaam on Sun Nov 28, 2010 11:08 am, edited 1 time in total.
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Linux Mint is funded by ads and donations.
 

Re: Hard drive partitions

Postby sumski on Sat Nov 27, 2010 8:01 am

you need only one , for / mount point, but it wold be good if you make one swap partition , and a /home partition, but they are not neccessery
Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: Hard drive partitions

Postby cwsnyder on Sat Nov 27, 2010 8:03 am

If LMDE is going to be the only operating system installed on the drive, you can normally go with the installation defaults.

That said, what LMDE's default behaviour is to set up 2 partitions: / which is bootable, containing the file system which you are used to seeing, either ext3 or ext4, and a swap partition which is normally about twice the size of your physical memory to allow your computer to go into 'sleep' mode and to allow you to run more programs than will fit in your physical memory.

This is the way I understand the ext$ family of hard disk formats. Ext2 is the oldest Linux hard disk format still in general use, and is used mainly for thumb drives and SSDs at present. Ext2 does not have a journal written to the drive and is unable to recover from a power interruption during the middle of a write to the drive. You might have to reformat the entire drive if it is formatted ext2 and your power to the drive was interrupted in the middle of a write cycle, causing data corruption. Ext3 is basically ext2, but adds a journal to attempt to prevent the type of data corruption outlined in the previous sentences. Ext4 is a journaled ext3 type system, but adds optimization to make data access faster.

Ext3 is still the default file system for most Linux distributions, at present, although other proponents are pushing ZFS, BTRFS, and more layouts for the file system on the hard drive, many of which have drivers included in the Linux kernel.
LMDE Mate 64-bit, LM17 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 14.10 64-bit, Xubuntu 14.04 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1063
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Hard drive partitions

Postby sumski on Sat Nov 27, 2010 8:04 am

swap partition is useful if you run out of free ram , so your OS doesn't freeze. it uses its own filesystem ,not ext3/ext4

for other mount points ext4 is default , but you can put ext2/ext3 if you want
Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: Hard drive partitions

Postby lauren on Sat Nov 27, 2010 10:44 am

Hi Dar-es-Salaam!
To give optimal help we need to know more details:
1. You have Windows?
2. You could install Linux on only one partition, but that's no good idea. The minimum are: "/" and "/home" and maybe "swap" and a "DATA" partition.
lauren
lauren
Level 5
Level 5
 
Posts: 589
Joined: Thu Nov 26, 2009 10:50 am

Re: Hard drive partitions

Postby sgosnell on Sat Nov 27, 2010 11:11 am

One more opinion. Use ext4, it's faster and more reliable than ext3. Don't worry about the swap partition, it will be handled by the installer, just accept whatever it gives you. If you want a separate /home partition, you need to use gparted to make the partitions before you start the installation. From the liveCD boot, run gparted, partition your HDD into two partitions, whatever size you think you need (I tend to make them more or less the same size, but it's not essential, just make sure you have enough for /, 10GB or more is better in the long run), then run the installer, and select the proper partition for / and for /home. It's probably better to use sda1 or /, and sda2 for /home. The installer will resize the /home partition to put the swap partition at the end, perhaps into an extended partition. You can make more partitions if you want, but I've never seen the need. Keep in mind that you can have only 4 primary partitions, so if you want to use more than what I've recommended, make one an extended partition, so you can add logical partitions to it.
Asus eee-pc 900 w/ 32GB SSD.
sgosnell
Level 5
Level 5
 
Posts: 686
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma

Re: Hard drive partitions

Postby gjringo on Sat Nov 27, 2010 10:55 pm

sgosnell wrote:One more opinion. Use ext4, it's faster and more reliable than ext3. Don't worry about the swap partition, it will be handled by the installer, just accept whatever it gives you. If you want a separate /home partition, you need to use gparted to make the partitions before you start the installation. From the liveCD boot, run gparted, partition your HDD into two partitions, whatever size you think you need (I tend to make them more or less the same size, but it's not essential, just make sure you have enough for /, 10GB or more is better in the long run), then run the installer, and select the proper partition for / and for /home. It's probably better to use sda1 or /, and sda2 for /home. The installer will resize the /home partition to put the swap partition at the end, perhaps into an extended partition. You can make more partitions if you want, but I've never seen the need. Keep in mind that you can have only 4 primary partitions, so if you want to use more than what I've recommended, make one an extended partition, so you can add logical partitions to it.


Agreeing with the above, another option is to use the 4 available primary partitions to run 4 different Operating Systems without a Swap partition (a swap partition is counted as a primary) as I do.It is possible to run a Linux system without a swap space, and the system will run well if you have a large amount of memory. I have 4GB of RAM (LMDE counts it as 3 with the 32Bit kernel) and have not run into problems.
Image
User avatar
gjringo
Level 1
Level 1
 
Posts: 27
Joined: Fri Sep 10, 2010 3:39 am
Location: Upwey,Victoria,Australia

Re: Hard drive partitions

Postby Dar-es-Salaam on Sun Nov 28, 2010 5:29 am

Hi one and all,
thank you all for your help. I am only going to run LMDE on the drive I was on about, I have decided to go with the one partition scenario and hope for the best, I think that I tried it before and it seemed to get stuck on something called /target but i will give it another go.
cheers for now, I will keep you all posted on my success or lack of it.
Cheers

Gordon
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Re: Hard drive partitions

Postby sumski on Sun Nov 28, 2010 5:33 am

gjringo wrote: I have 4GB of RAM (LMDE counts it as 3 with the 32Bit kernel) and have not run into problems.

Did you try to install "bigmem" krenel ? It should recognize 4GB + RAM on a 32 bit system
Acer Extensa 5630G - Core2Duo T5800 2GHz , 4 GB ram, Ati Mobility 3650.
OpenSUSE 12.1 KDE 4.7.3
Debian Sid KDE 4.7.1/2
User avatar
sumski
Level 3
Level 3
 
Posts: 109
Joined: Fri Nov 26, 2010 6:36 am
Location: Zagreb, Croatia

Re: Hard drive partitions

Postby kx32 on Sun Nov 28, 2010 10:13 am

I have just installed LMDE on a new solid state drive. Had problems using ext 4 as it wouldn't work installed it on ext3 and it installed no problem.
kx32
Level 1
Level 1
 
Posts: 4
Joined: Sun Nov 28, 2010 10:09 am

Re: Hard drive partitions [SOLVED]

Postby Dar-es-Salaam on Sun Nov 28, 2010 11:07 am

Hi one and all

Success at last. thanks to you lot I went with one partition and ext4 and this time it worked. what the difference was this time I have no idea, still all's well that ends well.

Once again Thanks a lot

Cheers

Gordon
Cheers
Gordon :D

O/S. LMDE , Motherboard Asus A7N8X Delux , CPU AMD XP1500+ (1300Mhz) (overclocked running at 1866Mhz), Graphics Card GeForce Nvidia PNY 6200 (512 Meg), 2 40gig hard drives, 1 gig RAM
User avatar
Dar-es-Salaam
Level 3
Level 3
 
Posts: 152
Joined: Mon Mar 01, 2010 6:23 am
Location: Blackpool, Lancashire, England, UK.

Re: Hard drive partitions [SOLVED]

Postby sgosnell on Sun Nov 28, 2010 11:43 am

If you try to use a username that is anything but lowercase alpha characters, the install will hang and not succeed. No uppercase, no special characters other than a through z are allowed. It's not clearly explained, but that's the way it is. Other problems can cause hung installs, of course, but that seems to be one of the more common ones.
Asus eee-pc 900 w/ 32GB SSD.
sgosnell
Level 5
Level 5
 
Posts: 686
Joined: Fri Sep 10, 2010 9:32 pm
Location: Baja Oklahoma

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 4 guests