LinuxQuestions.org
Help answer threads with 0 replies.
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 07-09-2009, 02:47 AM   #1
emerset
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 07-09-2009, 02:53 AM   #2
karamarisan
Member
 
Registered: Jul 2009
Location: Illinois, US
Distribution: Fedora 11
Posts: 374

Rep: Reputation: 55
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.
 
Old 09-06-2009, 08:05 PM   #3
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
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.
 
Old 09-06-2009, 08:09 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
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.
 
Old 09-06-2009, 08:18 PM   #5
windtalker10
Member
 
Registered: Nov 2007
Location: Kentucky
Distribution: Slackware13.1
Posts: 214

Rep: Reputation: 38
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.

Last edited by windtalker10; 09-06-2009 at 08:26 PM.
 
  


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
HDD partitioning: How to? OstermanA Linux - Hardware 2 12-10-2006 10:59 PM
hdd partitioning deggial Linux - Newbie 4 03-05-2006 03:17 AM
Partitioning NEW HDD Thanotos Linux - Hardware 2 12-30-2005 11:35 PM
partitioning a large HDD powadha Linux - General 1 03-05-2004 03:59 AM
partitioning hdd Nick5449 Linux - Hardware 1 06-29-2003 07:35 PM

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

All times are GMT -5. The time now is 08:17 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