LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 06-07-2006, 11:43 AM   #1
LSOsheriff
LQ Newbie
 
Registered: Jun 2005
Location: Lincoln NE
Distribution: Kubuntu
Posts: 10

Rep: Reputation: 0
Increasing size of mount


I've read "man mount" but it doesn't cover this situation so I'm hoping you folks can assist:

I did my Mandrake 10.1 install originally to allow for -

Device Size Mount Point Free
/dev/hda1 5.8gb / 2.8
/dev/hda6 224.4gb /home 222.3

Now, of course, I discover that I need to reconfigure so that hda1 has something on the order of 200 gb available while only allowing /home to have about 20 gb.

Can I do this withOUT destroying the existing data? If so, how, please?

Many thanks.
 
Old 06-07-2006, 12:09 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
which filesystems did you format with?

if you have reiserFS, it's easier to delete the partitions and create them again.
if you have ext2 or ext3, you can resize the partitions almost painlessly, I believe that GNU parted can do that.

FWIW, you should always have a backup at hand when messing up with disk partitions
 
Old 06-07-2006, 01:17 PM   #3
LSOsheriff
LQ Newbie
 
Registered: Jun 2005
Location: Lincoln NE
Distribution: Kubuntu
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your very prompt response.

The two use ext3, so now I'm anxious to try the "painless" part. <grin>

Having to install yet another program, GNU Parted, is anything but painless, and in fact failed miserably, so I'm back to wondering if the MOUNT command can't somehow be used to resize partitions.

Anybody know the syntax?

Many thanks
 
Old 06-07-2006, 01:50 PM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
no, mount only mounts. to resize, you have to use something like parted, or else redo your partitions. maybe if you describe the problems you were having installing parted, someone can help you install it. suse probably has a package for it, so i wouldn't imagine it would be that hard to install.
 
Old 06-07-2006, 01:53 PM   #5
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31

<out of fresh ideas>

there's a graphical version of parted, called gparted, but don't know if that could work

I didn't think that mount could resize partitions, as the man page says

Quote:
NAME
mount - mount a file system
though in that man there are options for resizing but for JFS and reiserFS
 
Old 06-07-2006, 02:20 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
LSOsheriff - I have split your question off into it's own thread.
 
  


Reply



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
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 07:16 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 1 12-24-2005 04:25 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM

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

All times are GMT -5. The time now is 06:03 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
Open Source Consulting | Domain Registration