Linux-Noob Forums

Full Version: Hard Drive Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I just partitioned my second slave IDE HD from NTFS to ext3 and moved all my files... when I restarted Linux couldn't find the Hard Drive, it's not under /dev/ at all. I checked in the bios and its still there, some I think it has to do with the way I partitioned it... I just used mkfs.ext3 -b 4096 /dev/...

 

Please Help!


paste the results of the following (as root)

 



Code:
fdisk -l




 

that's l as in larry

 

cheers

anyweb


[root@localhost ~]# fdisk -l

 

Disk /dev/hdb: 160.0 GB, 160041885696 bytes

255 heads, 63 sectors/track, 19457 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

/dev/hdb1 * 1 19457 156288321 7 HPFS/NTFS

 

Disk /dev/sda: 122.9 GB, 122942324736 bytes

255 heads, 63 sectors/track, 14946 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

/dev/sda1 * 1 13 104391 83 Linux

/dev/sda2 14 12761 102398310 83 Linux

/dev/sda3 12762 14946 17551012+ 8e Linux LVM

 

Disk /dev/dm-0: 15.8 GB, 15837691904 bytes

255 heads, 63 sectors/track, 1925 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

Disk /dev/dm-0 doesn't contain a valid partition table

 

Disk /dev/dm-1: 2080 MB, 2080374784 bytes

255 heads, 63 sectors/track, 252 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

 

Disk /dev/dm-1 doesn't contain a valid partition table

 

Disk /dev/sdd: 2007 MB, 2007498752 bytes

29 heads, 28 sectors/track, 4828 cylinders

Units = cylinders of 812 * 512 = 415744 bytes

 

Device Boot Start End Blocks Id System

/dev/sdd1 1 4829 1960320+ 6 FAT16

Its the 160 GB, I partitioned it from ntfs to ext3... :S hmm, can't mount it right now, and I want to keep my files

 

[root@localhost ~]# mount /dev/hdb /mnt/documents -t ntfs

mount: wrong fs type, bad option, bad superblock on /dev/hdb,

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

 

[root@localhost ~]# dmesg | tail

NTFS-fs error (device hdb): read_ntfs_boot_sector(): Primary boot sector is invalid.

NTFS-fs error (device hdb): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.

NTFS-fs error (device hdb): ntfs_fill_super(): Not an NTFS volume.

VFS: Can't find ext3 filesystem on dev hdb.

FAT: invalid media value (0xb9)

VFS: Can't find a valid FAT filesystem on dev hdb.

NTFS-fs warning (device hdb): is_boot_sector_ntfs(): Invalid boot sector checksum.

NTFS-fs error (device hdb): read_ntfs_boot_sector(): Primary boot sector is invalid.

NTFS-fs error (device hdb): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.

NTFS-fs error (device hdb): ntfs_fill_super(): Not an NTFS volume.

NVM it re-named my hard drive, that's why it couldn't find it, then I was using the wrong partition to re-mount it, thx for the help anyway.