Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 2nd January 2009, 21:55
kevinluu kevinluu is offline
Junior Member
Join Date: Jan 2009
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default Bad magic number in super-block while trying to open /dev/sda2

Dear Mr. Falko,

First of all, i would like to thank you for the steps on "How To Resize ext3 Partitions Without Losing Data" that you post on the web-site.

I am very very new to Linux.

After cloning the original disk 250GB (/dev/sda2 in this disk has about 224GB) to a new 500GB disk, i then re-partition the /dev/sda2 to have about 490GB.

I then following the steps that show how to "Enlarging An ext3 Partition" from this link:


One of these steps ask me to enter the command: fsck -n /dev/sda2
i got the error message as shown below:

fsck.ext2: Bad magic number in super-block while trying to open /dev/sda2

However, if i enter command: fsck -n /dev/sda1
i got:

/boot: clean, 36/26104 files, 17488/104388 blocks

The comand : tune2fs -o^has_journal /dev/sda2
also shows error:

Bad magic number in super-block while trying to open /dev/sda2
Couldn't find valid filesystem superblock.

The /dev/sda2 in this new 500GB is the filesystem that i need to enlarge so that it can use the rest of the available space in this /dev/sda2 partition.

The "fdisk -l" command shows that the /dev/sda2 has about 490GB.

But when i do the "df -h" command shows that:

/dev/mapper/VolGroup00-LogVol00 (for some reason the original person who set up this system made the /dev/sda2 mapped to this /dev/mapper/VolGroup00-LogVol00) is about 224GB.

I was trying to follow the steps so that i can use the resize2fs command in the steps to enlarge the /dev/sda2 filesystem to have 490GB.

Would you please show me how can i fix this error:

"Bad magic number in super-block while trying to open /dev/sda2"

in my /dev/sda2 so that i can continue to follows the steps to successfully enlarge my /dev/sda2 to have 490GB.

Thank you very much.

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 15:51
ISPConfig Instalations problems ggarcia24 Installation/Configuration 12 13th November 2007 01:07
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 17:05
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
open ports rayit General 6 18th January 2006 15:23

All times are GMT +2. The time now is 09:42.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.