LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-09-2008, 04:23 PM   #1
shivang
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Rep: Reputation: 0
memory allocation problem


i have hardisk of 80GB...and while installing Fedora-9 i deleted all the partitions and installed.
but after installing the disk management is only showing 54 GB...
the output of the fdisk -l command is---


Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb0d8b0d8

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 2612 9728 57167302+ f W95 Ext'd (LBA)
/dev/sda5 2612 2742 1052226 82 Linux swap / Solaris
/dev/sda6 2743 9728 56115013+ 83 Linux

i am not getting where my 20Gb has gone and also what is dis /dev/sda2 partition
 
Old 08-09-2008, 04:30 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by shivang View Post

i am not getting where my 20Gb has gone
The 20 Gb has not been allocated to any partition so it does not show up when you list the partitions. If you wanted to you could allocate another partition up to 20G in size.

Quote:
Originally Posted by shivang View Post

what is dis /dev/sda2 partition
It is a primary partition which is used to hold up to three logical partitions. It is simply an artifact of the way the partitioning scheme has been expanded over the years.

-------------------------
Steve Stites
 
Old 08-09-2008, 04:54 PM   #3
shivang
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Can u tell me how to allocate that 20GB partition....
 
Old 08-09-2008, 06:50 PM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Use Gparted or the partedmagic CD

Or
#su
#parted /dev/sda
#p
You must make an extra primary partition in the freespace from
13 to 2612 (parted will see it differently)
 
Old 08-09-2008, 07:48 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Better to use a livecd in this case. In general, it is not a good idea to edit a filesystem that is mounted.
 
Old 08-16-2008, 05:54 AM   #6
shivang
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Original Poster
Rep: Reputation: 0
@amani

i am not geting the procedure that tou hav given...
How to do the partition..i tried the commands that u gave but dint get it..
 
Old 08-17-2008, 02:09 PM   #7
shivang
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Original Poster
Rep: Reputation: 0
hey plzzz help me.......nobody here or wat???
 
Old 08-17-2008, 02:20 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Download and burn the gparted livecd. Or install gparted in your distro so you can format while you are using it.
 
Old 08-17-2008, 02:50 PM   #9
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
FYI: Your subject mentions "memory", but this topic is about hard disk space. Memory != Disk Space.
 
Old 08-17-2008, 03:51 PM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Are you sure? Isn't a hard drive persistent memory?
 
Old 08-17-2008, 04:03 PM   #11
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Yes, I'm sure.

+ Memory almost always means RAM, fast, short term non-persistent storage,
+ Hard disk always means slower, long-term persistent storage.

We have distinct words to mean distinct things. It is best to use the word that best fits the topic. I read "memory' in the subject and think RAM, not HD.

Many people make the mistake of calling their HD "memory".
 
Old 08-18-2008, 04:02 PM   #12
shivang
LQ Newbie
 
Registered: Aug 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Hey thanx...the problem is fixed....using gparted is very easy...
 
  


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
kernel memory page allocation problem erik_wout_ew2 Linux - Kernel 0 10-31-2006 11:27 AM
C programming: memory allocation / pointer problem I think sterrenkijker Programming 2 04-17-2005 04:07 AM
Memory Allocation Problem? lanky666 Linux - Software 3 02-14-2004 07:27 PM
memory allocation docGonzo2000 Linux - General 1 05-16-2003 10:24 PM
memory allocation docGonzo2000 Linux - General 1 05-16-2003 10:22 PM


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