Find the answer to your Linux question:
Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 11 to 20 of 37
doh! well: Code: fsck /dev/hdb/ might do the trick...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035

    doh!
    well:
    Code:
    fsck /dev/hdb/
    might do the trick

  2. #12
    Just Joined!
    Join Date
    Jan 2005
    Posts
    26
    Already grasped that same straw....tried ext2, same thing.

    Is there another way to view the contents of a drive without mounting it??
    as I'm typing that I realize how absurd it sounds but I'm not gonna erase it just incase!!

  3. #13
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    so you have fsck'd it?
    -lakerdonald

  4. #14
    Just Joined!
    Join Date
    Jan 2005
    Posts
    26
    Quote Originally Posted by lakerdonald
    doh!
    well:
    Code:
    fsck /dev/hdb/
    might do the trick
    isnt that just for ext2 fs's??

  5. #15
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    no. fsck is filesystem check works on most filesystems
    -lakerdonald

  6. #16
    Just Joined!
    Join Date
    Jan 2005
    Posts
    26
    fsck 1.34 (25-Jul-2003)
    e2fsck 1.34 (25-Jul-2003)
    Couldn't find ext2 superblock, trying backup blocks...
    fsck.ext2: Bad magic number in super-block while trying to open /dev/hdb

    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>

  7. #17
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    hm
    i've run fsck on reiserfs and ext3 before, so i don't know what's going on. are you absolutely positive you want ALL of hdb. are you sure there's no partioning going on?
    -lakerdonald

  8. #18
    Just Joined!
    Join Date
    Jan 2005
    Posts
    26
    there are three partitions on it but I dont know whats on each because the drive was attached to a linksys NSLU2 (network storage link). The NSLU2 broke and I have to get the data off of the drive. I never used linux before but had a copy of mandrake 10 so I installed it and now I am trying to access the drive from the storage link.

    Should I try to mount just one of the partitions??
    If so , how?

  9. #19
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    ah yes:
    Code:
    mkdir /mnt/hdb1
    mkdir /mnt/hdb2
    mkdir /mnt/hdb3
    mount /dev/hdb1 /mnt/hdb1
    mount /dev/hdb2 /mnt/hdb2
    mount /dev/hdb3 /mnt/hdb3
    -lakerdonald

  10. #20
    Just Joined!
    Join Date
    Jan 2005
    Posts
    26
    just figured it out.

    hdb1 hdb2 etc...

    anyway, hdb2 worked but its the system files not my personal data.

    hdb1 and 3 will not work. is there a way to find out what fs it actually is?

Page 2 of 4 FirstFirst 1 2 3 4 LastLast

Posting Permissions

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