NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mounting trouble



On Mon, Jan 21, 2013 at 12:50:22PM -0800, George Georgalis wrote:
> Hi -
> 
> I'm trying to mount this partition and having some issues.
> 
> mount_ffs gives me incorrect super block. I think this is ffs2 made
> with netbsd-5.
> 
> the below data comes from attaching the SATA drive to usb 2.0
> interface on netbsd 6.0,  Any ideas?
> 
> -George
> 
>  root@:/root disklabel sd0
> # /dev/rsd0d:
> type: ATAPI
> disk: 01FALS-00J7B
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 64
> sectors/cylinder: 2048
> cylinders: 953869
> total sectors: 1953525165
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 4 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  a: 1953525165         0     4.2BSD      0     0     0  # (Cyl.      0
> - 953869*)
>  d: 1953525165         0     unused      0     0        # (Cyl.      0
> - 953869*)
> disklabel: boot block size 0
> disklabel: super block size 0
> 
>  root@:/root file -s /dev/sd0a
> /dev/sd0a: x86 boot sector; partition 1: ID=0xa9, starthead 1,
> startsector 63, 1953525105 sectors, code offset 0xc0

And what would fdisk tell about this disk ?
disklabel shows a partition starting at 0 (which probably means
no disklabel or fdisk-style partition was found), but file 
claims that there is a 0xa9 partition (this is NetBSD id) starting at
sector 63.
On what architecture are you trying to mount the disk ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index