LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HDD Partitioning (https://www.linuxquestions.org/questions/linux-newbie-8/hdd-partitioning-738826/)

emerset 07-09-2009 02:47 AM

HDD Partitioning
 
I'm a virgin in linux so forgive my ignorance. I believe I have two partitions in my savage distro of linux. My new laptop has the copacity for 160 GB HD and only 20 is being used, (at least thats what my computer says it has the space for!) so I checked into it, and came up with this:
--------------------------------------
root@fenix-desktop:/home/fenix# fdisk -l

Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c229592

Dispositivo Boot Start End Blocks Id System
/dev/hdc1 * 1 65 522081 82 Linux swap / Solaris
/dev/hdc2 66 2295 17912475 83 Linux
--------------------------------------
Now, I believe hdc2 is virgin property being bloody wasted!
And now my question is: how do I get rid of hdc2 so I can use hdc1 to its full potential?
At first I thought I was bilked, now I realize it's a software problem.
Cheers

karamarisan 07-09-2009 02:53 AM

hdc2 may be a formatted partition in use; are you sure it's not mounted somewhere? Check with `mount` (no arguments). If it's not, you still don't want to expand hdc1 to cover it, as that's swap memory (used when your system is running low on RAM) and I promise you don't need anywhere near 160 gigs of it.

Fred Caro 09-06-2009 08:05 PM

hdc
 
does it still boot to windows?
Perhaps use a partition disk to check the real partitions once changing the boot order in the bios. It maybe to do with the bootloader on Windows that acts like a thug. Perhaps make new partitions and install from there.

chrism01 09-06-2009 08:09 PM

The fact that your swap disk is marked as being bootable is very odd. I can't imagine why that is.

As mentioned, run

mount

and also

df -h

from a cmd line and post the results.

windtalker10 09-06-2009 08:18 PM

Quote:

/dev/hdc1 * 1 65 522081 82 Linux swap / Solaris
/dev/hdc2 66 2295 17912475 83 Linux

hdc1 is your swap space and is labeled as such
Think of it as ram.
Unless you already have a ton of ram, it's needed.

hdc2 is where your operating system is installed and again is labeled as such.
Not exactly wasted space.

Quote:

At first I thought I was bilked, now I realize it's a software problem.
It's not a software problem and you weren't bilked.
Linux installations normally only use about 20 gigs of space unless someone elects to install pretty much every known Linux program in existence.
Linux installs normally have 2,3 or more partitions as well depending on a users needs.
The norm is a swap space, / for the root partition and /home for the users space.
In your case you have a swap space and another that holds / and /home on one partition but is acceptable.
hdc1 may be flagged as boot as that may be where the boot sector is located as it's normally at the beginning of the hd.


All times are GMT -5. The time now is 04:40 AM.