LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-20-2003, 06:11 PM   #1
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Rep: Reputation: 15
Shrinking a ext3 partition


Using GNU parted I shrank my /usr partition, when I rebooted my computer, RedHat (I was using and still using RedHat 7.3) gave a error message saying something like: error on /dev/hda2, is corrupted or has a wrong size. I installed all my operating system again, but now I want reseize again the partition (only 'cos I want do it successfully ) without error giving.


Which step did I miss?
What have I to do after the GNU parted resizing?


I'll appreciate your help, Thnx.

Radicalm16
 
Old 01-20-2003, 06:37 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Did you write the new partition table to disk before rebooting? Does partd do it for you?
 
Old 01-20-2003, 09:47 PM   #3
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
I don't think so...

I've read the parted documentation and dont said anything about it...


Could you tell me a way to do this???



Radicalm16
 
Old 01-20-2003, 10:48 PM   #4
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Well, usually it gets done when using fdisk or cfdisk. I am guessing that you are getting these errors because the partition table for your HD do not match reality...

After you use partd, fire up fdisk and see what it says. If it reports your changes correctly then write them to disk(type 'm' for options and commands). Otherwise I am out of ideas.

Good Luck.
 
Old 01-21-2003, 10:37 PM   #5
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
Well... I used parted to resize, later I try to do "fdisk -R" but this told me to use e2fsck to repair my partion, but it told me that in the repair process It could do damage to my partion, then I used a parted option to make a new partition label and...

I messed it Up....

So... Im now reinstalling Linux....

It was a good attemp.

the next time I'll have a better luck.

Thnx for everything.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shrinking Root Partition celticdaddio SUSE / openSUSE 1 10-06-2005 11:00 AM
Shrinking the Windows partition trainee Linux - Software 8 07-06-2005 10:37 PM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 04:46 PM
Shrinking a ext3 partition (/usr) Radicalm16 Linux - General 4 01-21-2003 10:56 PM
partition or shrinking? M@tt Linux - Newbie 2 11-12-2001 10:35 AM


All times are GMT -5. The time now is 05:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration