[wplug] trying to mount hdb

Peter Williams broadway at city-net.com
Sat Apr 24 13:00:06 EDT 2004


I appreciate the help with this.  Here's the latest:

> First off, can you say what version of Windows this hard drive was
> formatted on?

This I don't know...

> > # mount -t auto /dev/hdb1 /mnt/hdb
> > [MS-DOS FS Rel. 12,FAT 12,check=n,conv=b,uid=0,gid=0,umask=022]
> > [me=0xf8,cs=1,#f=0,fs=0,fl=0,ds=0,de=0,data=0,se=0,ts=0,ls=512]
> > Transaction block size = 512
> > VFS: Can't find a valid MSDOS filesystem on dev 03:41.
> 
> I wouldn't use the "auto" type to mount a hard drive partition. I
> would specify "vfat" for FAT32 and "ntfs" for NTFS. 

I've tried specifying various types.  "fat" ""vfat" and "ntfs" all reply:
fs type <type> not supported by kernel

Is this the avenue I need to head down perhaps?  Did this suddenly 
become a project to (learn how to) rebuild a kernel?

This is a rather old linux box, version (2.0.30), distro (Slack 3.3.0), 
etc.

> That second line bugs me. /dev/hdb1 should be 03:65 according to my /dev/
> directory.
> Could you give us

# ls -la /dev/hdb*

brw-r-----   1 root     disk       3,  64 Apr 27  1995 /dev/hdb
brw-r-----   1 root     disk       3,  65 Apr 27  1995 /dev/hdb1
brw-r-----   1 root     disk       3,  66 Apr 27  1995 /dev/hdb2
... etc, to /dev/hdb16

> Also, depending on how the original machine was setup, /dev/hdb1 might be
> a diagnostic or hibernation partition. Try mounting /dev/hdb2.

I've been trying everything on both hdb1 and hdb2.  I know one's 10 
GB and the other's 30 GB, but beyond that I don't know how they 
were set up.

> If that fails, could we have fdisk -l /dev/hdb ?

# fdisk -l
...
Disk /dev/hdb: 16 heads, 63 sectors, 16383 cylinders
Units = cylinders of 1008 * 512 bytes

   Device Boot   Begin    Start      End   Blocks   Id  System
/dev/hdb1   *        1        1    19859 10008463+   7  OS/2 HPFS
Partition 1 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 15, 63)
/dev/hdb2        19456    19859    79401 30009420    f  Unknown
Partition 2 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 15, 63)
...
end_request: I/O error, dev 16:00, sector 0


This led me to try mounting with hpfs.  Once again:
fs type hpfs not supported by kernel

My copy of man fdisk has some cautious things to say about 
OS/2.  Am I just dealing with a drive and a dinosaur linux box, that 
are too far removed from each other to make this work?  I'd like to 
believe that there's a solution.  Plan B is to wipe the drive, forget 
what's on it, and start a new installation.

Peter



More information about the wplug mailing list