LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 06-23-2004, 10:03 AM   #1
charris
LQ Newbie
 
Registered: Oct 2003
Distribution: Linux tuxstar 2.6.10-gentoo-r6
Posts: 8

Rep: Reputation: 0
Resize an EXT3


I removed my EXT3 partition with CFDisk, and wrote the table. Then I restarted. Then I made a new partition (32GB) and wrote it as a Linux Partition.

I then restarted the computer again. When I came back, I used tune2fs -j /dev/hda7 to make the filesystem a ext3 type. Then I mounted it with no problem.

I took a quick look inside this new mountpoint, and all my old files were still there. I looked at df, and it said the partition was only 5 gb, the old size, even though cfdisk said it was 31.

So how do I fix this? I want a fresh ext3 parition.
 
Old 06-23-2004, 10:10 AM   #2
fluppi
Member
 
Registered: Oct 2003
Location: Switzerland (Europe)
Distribution: OpenSuSE, RedHat, Knoppix, IRIX + MacOSX
Posts: 198

Rep: Reputation: 30
Don't ! If there is no data, do not resize: erase and make all new.
Avoid resizeing if you can, it's safer !
 
Old 06-23-2004, 10:30 AM   #3
charris
LQ Newbie
 
Registered: Oct 2003
Distribution: Linux tuxstar 2.6.10-gentoo-r6
Posts: 8

Original Poster
Rep: Reputation: 0
That's what I want to do....But how do I erase my partition and start from scratch??
 
Old 06-23-2004, 01:43 PM   #4
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
Just drop the partition, recreate it, then reformat it using mkisofs. That ought to do it. -- J.W.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
resize ext3 filesystem DaWallace Slackware 8 10-10-2007 06:15 AM
Can't resize ext3 Partition crack Linux - General 2 09-04-2005 07:39 AM
How to resize ext3 partitions? VincentB Linux - General 1 05-26-2005 11:56 AM
Ext3 Partition Resize nerotique Slackware 15 11-12-2004 04:44 PM
need to resize ext3 filesystem clsonnt Linux - Newbie 2 07-09-2003 10:59 AM


All times are GMT -5. The time now is 08:00 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration