[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: i386 and sparc64 disks
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: i386 and sparc64 disks
- From: "Curtis H. Wilbar Jr." <bsd_(_at_)_hawkmountain_(_dot_)_net>
- Date: Sun, 01 Aug 2004 00:05:15 -0400
On Sat, 2004-07-31 at 14:18, scott wrote:
> hi
>
> my trusty Sun Ultra 10 running OBSD 3.4 died on me last week, and in the
> short term I have had to setup an Intel based box in it's place
>
> I've installed OBSD 3.5 onto the i386 system (have misplacd my 3.4
> CD's), and then cabled the EIDE drive from the Sun system in as a slave
> drive
>
> I've had a little read and tried a few things like fdisk wd1 and
> disklabel wd1, but the information it comes back with does not look too
> good (output below), it's finding MacOS volumes (the whole disk was
> allocated to OpenBSD under the Sun box)
>
> am I likely to be able to mount the ex Sparc64 drive in order to pull
> data across to the new drive, or do they use disk layout in a slightly
> different manner ?
Byte ordering on Sun and x86 are different. I would say this is why
it doesn't see your data.
You'll need to mount the disk another big-ending system to get at
your data.
-- Curt
>
> any suggestions appreciated
>
> thanks
>
> _scott
>
>
>
> mitzi# fdisk wd1
> Disk: wd1 geometry: 1177/240/63 [17796240 Sectors]
> Offset: 0 Signature: 0x7F85
> Starting Ending LBA Info:
> #: id C H S - C H S [ start: size ]
> ------------------------------------------------------------------------
> 0: 01 16644 149 30 - 16644 153 32 [ 251666696: 255 ] DOS
> FAT-12
> 1: A8 16644 214 35 - 16644 218 37 [ 251670796: 255 ] MacOS X
>
> 2: 01 106523 160 9 - 106527 110 23 [ 1610637848: 57345 ] DOS
> FAT-12
> 3: A4 0 0 1 - -72288 -235 -43 [ 0: -1093009408 ]
> <Unknown ID>
>
>
> mitzi# disklabel wd1
> # /dev/rwd1c:
> type: ESDI
> disk: ESDI/IDE disk
> label: ST39140A
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 17662
> total sectors: 17803440
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # microseconds
> track-to-track seek: 0 # microseconds
> drivedata: 0
>
> 16 partitions:
> # size offset fstype [fsize bsize cpg]
> c: 17803440 0 unused 0 0 # (Cyl. 0 -
> 17662*)
> i: 255 251666696 MSDOS # (Cyl.
> 249669*- 249669*)
> j: 255 251670796 unknown # (Cyl.
> 249673*- 249673*)
> k: 57345 1610637848 MSDOS # (Cyl.
> 1597855*- 1597911*)
> disklabel: partition i: offset past end of unit
> disklabel: partition i: partition extends past end of unit
> disklabel: partition j: offset past end of unit
> disklabel: partition j: partition extends past end of unit
> disklabel: partition k: offset past end of unit
> disklabel: partition k: partition extends past end of unit
Visit your host, monkey.org