Hello list!

I am trying to mount a second HDD on my 4.5-stable box, to copy the
data from ext2 and ntfs partitions on it to my A6 partitioned disc.

However, fdisk reports two partition tables (offset 0 and offset
16065) and mount returns input/output error.

I assume I shouldn't do neither fsck_ffs nor newfs on foreing
filesystems with the data on it. Am I wrong here? What would be the
proper way to get around the issue?

Any suggestion is greatly appreciated, and thank you in advance for
your help. Below is the output of disklabel, fdisk and mount. In case
of RTFM, just please point me to the appropriate man.

$ sudo disklabel -E wd1
Password:
# Extended partition 0: type 0F start 16065 size 80341065
disklabel: warning, DOS partition table with no valid OpenBSD partition
Treating sectors 63-160084415 as the OpenBSD portion of the disk.
You can use the 'b' command to change this.

Initial label editor (enter '?' for help at any prompt)
> p m
OpenBSD area: 0.0M-78166.2M; size: 78166.2M; free: 38937.2M
#                size           offset  fstype [fsize bsize  cpg]
  c:         78166.2M             0.0M  unused
  j:         39229.0M             7.9M    NTFS
> x
$ sudo fdisk wd1
Disk: wd1       geometry: 9964/255/63 [160084415 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 0F      1   0   1 -   5001 254  63 [       16065:    80341065 ] Extended LBA
 1: 83   5002   0   1 -   9963 254  63 [    80357130:    79714530 ] Linux files*
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Offset: 16065   Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 07      1   1   1 -   5001 254  63 [       16128:    80341002 ] HPFS/QNX/AUX
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
$ sudo mount -t ext2fs /dev/wd1j /mnt/disk2
Password:
mount_ext2fs: /dev/wd1j on /mnt/disk2: Input/output error
$

Reply via email to