LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05:18 PM   #1
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Rep: Reputation: 15
Shrinking a ext3 partition (/usr)


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, 05:52 PM   #2
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
" Which step did I miss? ".............

Which step did you follow?
 
Old 01-20-2003, 08:38 PM   #3
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
1.- run ($ parted /dev/hda -i )

2.- ( parted ) resize 2 50 5510

3.- parted warned me saying: you are attemting to resize a mounted a partition.

4.- I confirmed the operation.

5.- parted performed the resize operation.

6.- After a while it's finihs the operation told me that I shall edit /etc/fstab if was required and reboot my computer befor attemp to do any other operation.

7.- As I didn't move or delete any partition, I didn't edit the fstab table.

8.- reboot my machine...

9.- TRAGEDY.

Radicalm16.
 
Old 01-20-2003, 09:10 PM   #4
d_daywalker
LQ Newbie
 
Registered: Jan 2003
Location: Philippines
Distribution: Red Hat
Posts: 6

Rep: Reputation: 0
Always take note that before you resize your partition (using parted), you need to unmount your partition first.

I suggest that you go to the rescue mode first, and make sure that the partition that you are going to resize isn't mounted.

Cheers...
 
Old 01-21-2003, 09:56 PM   #5
Radicalm16
Member
 
Registered: Jan 2003
Location: Venezuela
Distribution: Debian, Ubuntu
Posts: 75

Original Poster
Rep: Reputation: 15
ok, I used the parted boot disk to made my partition resizing, I resized my /usr partition and reboot my machine, When the linux kernel performed its filesystem verifcation, it told me that there was an error in my /usr partition and I had to enter my root password to recue it. It asked me to use e2fsck to repair the partition damage but when I ran the program, it told me that that operation could damage the partition's filesystem, so...

I messed it Up, and now Im installing again Linux.

Radicalm16
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shrinking the Windows partition trainee Linux - Software 8 07-06-2005 09:37 PM
Shrinking an extended partition lobo78 Linux - General 1 12-02-2004 11:59 AM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 03:46 PM
Shrinking a ext3 partition Radicalm16 Linux - Newbie 4 01-21-2003 09:37 PM
partition or shrinking? M@tt Linux - Newbie 2 11-12-2001 09:35 AM

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

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