Unix Technical Forum

partition size problem?

This is a discussion on partition size problem? within the Linux Operating System forums, part of the Unix Operating Systems category; --> I recently installed Mandrake 9.2. When I installed Mandrake I had it partition automatically and it formatted the unused ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 06:07 PM
lagagnon
 
Posts: n/a
Default partition size problem?

I recently installed Mandrake 9.2. When I installed Mandrake I had it
partition automatically and it formatted the unused 63 GB of my IDE hard
disc, the other 49GB is WinXP. However, upon doing "df" I discover that "/"
is only 5.8GB large! Here is the output

Device Mount Point Size
======== ============ ======
hda1 /mnt/windows 48GB
hda5 / 5.8GB
hda6 swap 494MB
hda7 56GB

hda7 is unmounted but is formatted as a journalised ext3 filesystem.
Why would Mandrake choose to give me only 5.8GB (already about 75% used)?
How can I use hda7 space?

Larry Gagnon
*** remove "fake" from mail address to reply direct ***
--
*** remove "fake" from mail address to reply direct ***
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 06:07 PM
Andreas Janssen
 
Posts: n/a
Default Re: partition size problem?

Hello

lagagnon (<lagagnon@fakeuniserve.com>) wrote:

> I recently installed Mandrake 9.2. When I installed Mandrake I had it
> partition automatically and it formatted the unused 63 GB of my IDE
> hard disc, the other 49GB is WinXP. However, upon doing "df" I
> discover that "/" is only 5.8GB large! Here is the output
>
> Device Mount Point Size
> ======== ============ ======
> hda1 /mnt/windows 48GB
> hda5 / 5.8GB
> hda6 swap 494MB
> hda7 56GB
>
> hda7 is unmounted but is formatted as a journalised ext3 filesystem.
> Why would Mandrake choose to give me only 5.8GB (already about 75%
> used)? How can I use hda7 space?


You can simply mount it somewhere, for example in /home. You move the
contents of that directory somewhere else, mount hda7 there, and move
everything back. Now you only have to add a line for that partition in
your /etc/fstab to mount it automatically at boottime. The space on
your / should be enough for any normal desktop linux system, if you
keep your personal files somewhere else, like on /dev/hda7. You can of
course also divide hda7 into more partitions, format them and mount
them where ever you need, like in /usr. There is plenty of information
on the web regarding partitioning, and I think there is also a Howto.
Just use google or some other search engine.

best regards
Andreas Janssen

--
Andreas Janssen
andreas.janssen@bigfoot.com
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 06:07 PM
Keith Keller
 
Posts: n/a
Default Re: partition size problem?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2003-12-16, Andreas Janssen <andreas.janssen@bigfoot.com> wrote:
>
> You can simply mount it somewhere, for example in /home. You move the
> contents of that directory somewhere else, mount hda7 there, and move
> everything back.


Or, eliminate a move step by mounting hda7 somewhere else, moving the
contents of home there, then umount hda7 and remount at /home.

- --keith

- --
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/35xuhVcNCxZ5ID8RAp32AJ9VdjtxrzXgH6M0Y/CSbn9xvwIwGACeIgfV
M6IObSUpOEnNNX9fBLdHS4Y=
=siNh
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 06:07 PM
Leon.
 
Posts: n/a
Default Re: partition size problem?


"Andreas Janssen" <andreas.janssen@bigfoot.com> wrote in message
news:bro23l$jdb$04$1@news.t-online.com...
> Hello
>
> lagagnon (<lagagnon@fakeuniserve.com>) wrote:
>
> > I recently installed Mandrake 9.2. When I installed Mandrake I had it
> > partition automatically and it formatted the unused 63 GB of my IDE
> > hard disc, the other 49GB is WinXP. However, upon doing "df" I
> > discover that "/" is only 5.8GB large! Here is the output
> >
> > Device Mount Point Size
> > ======== ============ ======
> > hda1 /mnt/windows 48GB
> > hda5 / 5.8GB
> > hda6 swap 494MB
> > hda7 56GB
> >
> > hda7 is unmounted but is formatted as a journalised ext3 filesystem.
> > Why would Mandrake choose to give me only 5.8GB (already about 75%
> > used)? How can I use hda7 space?

>
> You can simply mount it somewhere,



or you can resize the / partition to have more space, no particular problem
with that.

First, run "fdisk /dev/hda" and "p" and check that the swap space and
unusused space is on the drive (at higher cylinders/sectors) than hda5

Then

uswap /dev/hda6

fdisk /dev/hda
and delete the 6 and 7th partition.

then reboot, and at the lilo or grub menu, add some options to the
kernel...

init=/bin/sh

and run
e2fsresize /dev/hda5

Or you can boot a linux floppy or cd, and run a static binary of
e2fsresize...

Leon



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 06:10 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: partition size problem?


"Keith Keller" <kkeller-usenet@wombat.san-francisco.ca.us> wrote in message
news:g96orb.2dg.ln@goaway.wombat.san-francisco.ca.us...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2003-12-16, Andreas Janssen <andreas.janssen@bigfoot.com> wrote:
> >
> > You can simply mount it somewhere, for example in /home. You move the
> > contents of that directory somewhere else, mount hda7 there, and move
> > everything back.

>
> Or, eliminate a move step by mounting hda7 somewhere else, moving the
> contents of home there, then umount hda7 and remount at /home.
>
> - --keith


Or since it's very early in the setup of this setup of this system,
re-install the Linux with the partitions set up the way you want them. To
me, and many others, making too many Linux parititions is like putting every
pot in a different cupboard. It's awkward and *wasteful*, and you can't use
the space efficiently without a lot of work.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com