LinuxQuestions.org
Help answer threads with 0 replies.
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
 
Search this Thread
Old 05-08-2010, 05:09 AM   #1
fau
LQ Newbie
 
Registered: May 2010
Posts: 3

Rep: Reputation: 0
Recovering ext3 partition after unsuccessful resizing


Hello,
I've tried to resize my home partition using parted. Prior to it I had removed ext3 flags following some advices found on net. Resizing failed and I ended up with filesystem bigger than partition. Then I managed to enlarge the partition using fdisk but it didn't help. When I run fsck on it it prints:
Code:
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)
fsck.ext2: Group descriptors look bad... trying backup blocks...
fsck.ext2: Bad magic number in super-block when using the backup blocks
fsck.ext2: going back to original superblock
fsck.ext2: Device or resource busy while trying to open /dev/sda6
Filesystem mounted or opened exclusively by another program?
(Same message when fscking from live cd).
I had a backup of most important data and it was a new system, but there where some notes that I had made whilst setting my linux up and it would be nice to have it back.
 
Old 05-08-2010, 05:26 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
In future use gparted (from a liveCD) and don't worry about removing the journal.
Try photorec - plenty of threads here about what it does and how to use it.
 
Old 05-08-2010, 05:56 AM   #3
fau
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
I know that best way to do such things is by live cd but I haven't had external cd back then .
edit: It works for me, thank you

Last edited by fau; 05-08-2010 at 06:05 AM.
 
Old 05-08-2010, 08:44 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Some nitpicks in the original post--maybe not relevant, but:

I was not aware that it would be possible to make the filesystem bigger than the partition.

fdisk does not re-size partitions.
 
Old 05-08-2010, 02:18 PM   #5
fau
LQ Newbie
 
Registered: May 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Yes, but parted does. (I was persistent when I shouldn't be)
 
  


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
Recovering a deleted and formatted over ext3 partition? Soniku Linux - General 4 04-02-2007 07:12 PM
Recovering A Destroyed Ext3 Rh6.2 Partition sam-zee Linux - Hardware 0 01-30-2005 05:46 PM
need help resizing an ext3 partition with an underlying partition... spiroth10 Linux - Software 1 07-30-2004 12:21 PM
success: resizing ext3 partition Berhanie Slackware 3 01-18-2004 04:44 AM
Resizing a partition (ext3) herc Linux - Hardware 1 12-26-2003 04:17 PM


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

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