Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I've just inherited a PC which suffered a catastrophic failure (power supply fritzed, blew out the motherboard). It sported two physical hard disks, "hda" was the root of a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    14

    File system type


    Hi,

    I've just inherited a PC which suffered a catastrophic failure (power supply fritzed, blew out the motherboard). It sported two physical hard disks, "hda" was the root of a red-hat install and "hdb" simply stack of shared data.

    I've put both disks onto into a slackware 8.1 machine in an attempt to rescue as much data as possible. The partitions on hda all mount fine, using swap/ext2/ext3. But I can't mount the single partition on hdb, it just gives me "bad superblock" even when mounted with "-t auto". Partition type is 83 according to fdisk. Worse, the owner knows he put a non-ext filesystem on it, but he doesn't remember which one!

    So, my question is - is there any way I can find out what file system is on that partition without having to mount it? Because I can't mount it until I know! Or is there a way to prove that it is basically fried?

    Thanks, nic

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    not sure how to find out, but you could look up the common fs(s) used under linux and test each one of those independantly, e.g. reiserfs is pretty common now. also in fstab is can you could try "auto" in the stead of the particular fs, not sure if that will work for drives other than cdrom's though.
    Operating System: GNU Emacs

  3. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    You could try it without the t option, with
    Code:
    mount /dev/hdb /mnt/hdb
    , but I doubt this will work,

    You could check the integrety of the disk with
    Code:
    fsck --check /dev/hdb
    as root (I think is syntax is correct, if it doesn't work try
    Code:
    man fsck
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •