Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have my server running under Debian using ext3. All the whole root is into a single main partition on a single hard drive.

I would like to create a second ext3 partition on the same hard drive.

So is there a way to resize a live partition and create a new one without loosing data?

share|improve this question
add comment

1 Answer

There is a utility called resize2fs that will let you resize an ext3 partition, but not while it is mounted. Most likely you'll have to shut off the machine and boot if off external media.

share|improve this answer
    
To be more specific, you can't shrink a mounted partition. Under a specific set of conditions, a partition can be enlarged while mounted. –  Zoredache Jan 26 '11 at 3:16
    
Which boot cd offers a graphical interface for partitionning? –  Jonathan Rioux Jan 26 '11 at 3:18
    
sysresccd.org/Main_Page. Once it is booted follow the onscreen directions to start gparted. –  Zoredache Jan 26 '11 at 3:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.