NetBSD-Users archive

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

Re: Re: 4kb sector disks on NetBSD?



more information....

I'm using the distibuted 5.1 from about a year ago....

/netbsd: NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010
/netbsd: 
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC
/netbsd: total memory = 2039 MB
/netbsd: avail memory = 1992 MB

/netbsd: umass0 at uhub3 port 6 configuration 1 interface 0
/netbsd:
/netbsd: umass0: Iomega eGo USB, rev 2.10/0.00, addr 2
/netbsd: umass0: using SCSI over Bulk-Only
/netbsd: scsibus0 at umass0: 2 targets, 1 lun per target
/netbsd: sd0 at scsibus0 target 0 lun 0: <OEM, Ext Hard Disk, 0000> disk fixed
/netbsd: sd0: fabricating a geometry
/netbsd: sd0: 465 GB, 59616 cyl, 64 head, 32 sec, 4096 bytes/sect x
122094086 sectors
/netbsd: sd0: fabricating a geometry


evo:tmp> fdisk sd0

fdisk: Can't read primary partition table: Invalid argument
Disk: /dev/rsd0d
NetBSD disklabel disk geometry:
cylinders: 59616, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 122094086

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 625142448

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
No active partition.


I also formatted this to ntfs using gparted on systemrescue 2.3.1
and XP can see it and use it, but again NetBSD cannot:

evo:~> ntfs-3g /dev/sd0e /mnt

Error reading bootsector: Invalid argument
Failed to mount '/dev/sd1e': Invalid argument
The device '/dev/sd1e' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?

evo:~> disklabel sd0

# /dev/rsd0d:
type: SCSI
disk: Ext Hard Disk
label: fictitious
flags:
bytes/sector: 4096
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 59616
total sectors: 122094086
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d: 122094086         0     unused      0     0        # (Cyl.      0 -  59616*)
 e: 122093824       256       NTFS                     # (Cyl.      0*-  59616*)
disklabel: boot block size 0
disklabel: super block size 0

This thing was a freebie... think I know why...



On Thu, Mar 1, 2012 at 3:36 AM, Julian Fagir <gnrp%komkon2.de@localhost> wrote:
> Hi,
>
>> 5 partitions:
>> #        size    offset     fstype [fsize bsize cpg/sgs]
>>  d: 122094086         0     4.2BSD      0     0     0  # (Cyl.      0 -
>> 59616*)
> could you please provide the whole disklabel and mbr (fdisk(8)) information?
>
> Regards, Julian


Home | Main Index | Thread Index | Old Index