OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Dave Horsfall (dave_at_horsfall.org)
Date: Tue Aug 06 2002 - 23:17:15 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    I'm doing a Penguinectomy from RedHat 7.1 to OpenBSD 3.1, and it looks
    like BSD cannot handle an extended Linux partition (type 0x85); this
    partition contains /usr, /var and /home. Searched the web for references
    to this, and found all sorts of interesting things, but nothing applicable
    here.

    Here's the output of several commands:

    gate# fdisk wd1
    Disk: wd1 geometry: 19857/16/63 [20015856 Sectors]
    Offset: 0 Signature: 0xAA55
             Starting Ending LBA Info:
     #: id C H S - C H S [ start: size ]
    ------------------------------------------------------------------------
    *0: 83 0 1 1 - 1039 15 63 [ 63: 1048257 ] Linux files*
     1: 85 1040 0 1 - 19856 15 63 [ 1048320: 18967536 ] Linux ext.
     2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
     3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused

    gate# disklabel wd1
    disklabel: warning, DOS partition table with no valid OpenBSD partition
    # /dev/rwd1c:
    type: ESDI
    disk: ESDI/IDE disk
    label: FUJITSU MPF3102A
    flags:
    bytes/sector: 512
    sectors/track: 63
    tracks/cylinder: 16
    sectors/cylinder: 1008
    cylinders: 16383
    total sectors: 20015856
    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: 20015856 0 unused 0 0 # (Cyl. 0 - 19856)
      i: 1048257 63 ext2fs # (Cyl. 0*- 1039)
      j: 18967536 1048320 unknown # (Cyl. 1040 - 19856)

    The "wd1i" partition checks out OK (it's the Penguin root), but I can't
    seem to peer inside the extended "wd1j" partition to mount the partitions
    within. Any ideas?

    -- 
    Dave Horsfall  DTM  VK2KFU  daveesi.com.au  Ph: +61 2 9906-3377 Fx: 9906-3468
    (Unix Guru) Pacific ESI, Unit 22, 8 Campbell St, Artarmon, NSW 2065, Australia