Computing.Net > Forums > Linux > Can't Mount a partition

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can't Mount a partition

Reply to Message Icon

Name: singh_ravinder
Date: September 8, 2009 at 01:59:53 Pacific
OS: Linux
CPU/Ram: Intel C2D
Subcategory: Software Problems
Comment:

I have a LInux Firewall Server which is not boooting but I have some scripts on it which I want to backup.
So I have used knnopix Live CD to boot & got these observations.
Any Idea to do next.

root@Knoppix:~# fdisk -l

Disk /dev/hda: 5368 MB, 5368709120 bytes
255 heads, 63 sectors/track, 652 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3 24066 83 Linux
/dev/hda2 4 652 5213092+ 5 Extended
/dev/hda5 4 134 1052226 82 Linux swap / Solaris
/dev/hda6 135 224 722893+ 83 Linux
/dev/hda7 225 288 514048+ 83 Linux
/dev/hda8 289 626 2714953+ 83 Linux

oot@Knoppix:~# mount -t ext3 /dev/hda1 /mnt/hda1
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

root@Knoppix:~# fsck /dev/hda1
fsck 1.40-WIP (14-Nov-2006)
e2fsck 1.40-WIP (14-Nov-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hda1

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

Thanks,

Ravinder Singh



Sponsored Link
Ads by Google

Response Number 1
Name: ernie
Date: September 8, 2009 at 08:15:12 Pacific
Reply:

First, try replacing ext3 with ext2 in your mount command line:
mount -t ext2 /dev/hda1 /mnt/hda1

If that fails, follow the direction at the end of the fsck output
. . . try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

HTH,

Ernie Registered Linux User 247790


1

Response Number 2
Name: singh_ravinder
Date: September 14, 2009 at 03:54:30 Pacific
Reply:

Thanks ernie,

I have tried these options.

mount -t ext3 /dev/hda1 /mnt/hda1
mount -t ext2 /dev/hda1 /mnt/hda1

e2fsck -b 8193 /dev/hda1

The error is same. Is there any command to see which type of filesystem it is & which block size it is using.

Thanks & regards,
Ravinder Singh


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Can't Mount a partition

I can't mount a fat32 drive www.computing.net/answers/linux/i-cant-mount-a-fat32-drive/15907.html

linux can't mount winxp partition www.computing.net/answers/linux/linux-cant-mount-winxp-partition/28778.html

can't mount partition www.computing.net/answers/linux/cant-mount-partition/19201.html