LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-20-2003, 09:28 PM   #1
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Rep: Reputation: 15
Resizing EXT3 partition using parted???


I was woundering about how i go about using parted to resize a partition, i downloaded, compiled and installed it. I type
Code:
parted /dev/hdf1
type resize, it askes for the partition number so i type 0 then it wants a start number, is this also 0?? after that it wants an end number however i am unable to go higher that the current size.

This is how the drive looks in cfdisk.
Code:
                              Disk Drive: /dev/hdf
                        Size: 30738677760 bytes, 30.7 GB
              Heads: 255   Sectors per Track: 63   Cylinders: 3737

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hdf1                    Primary   Linux ext3                        8217.06 
                            Pri/Log   Free Space                       22249.39
    hdf5                    Logical   Linux swap                         271.44
And this is it when i do print 1 in parted
Code:
Minor: 1
Flags: 
File System: ext2
Size:           7836.363Mb (100%)
Minimum size:   6893.602Mb (87%)
Maximum size:   7836.363Mb (100%)
(parted)
 
Old 01-21-2003, 12:59 AM   #2
Hegemon
Member
 
Registered: Jan 2002
Location: Australia
Distribution: Gentoo
Posts: 103

Original Poster
Rep: Reputation: 15
I think i might have worked it out, Do i need to resize my partition in cfdisk befoure using parted?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
partition resizing using parted...bad memories of fdisk rextor Linux - General 1 07-30-2005 10:34 AM
new /opt partition from / without resizing with parted everal Linux - Hardware 1 12-16-2004 01:50 AM
Resizing a linux partition using parted Ofvitinn Linux - General 5 10-04-2004 10:22 PM
Resizing a partition (ext3) herc Linux - Hardware 1 12-26-2003 04:17 PM
Resizing Partition on RH9 using Parted Sticks Linux - Newbie 0 07-26-2003 12:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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