vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi all, I'm trying to mount an external 250GB USB disk under OpenBSD 4.0 (macppc). First of all, I reinitialized the disk using fdisk: --- # fdisk -e sd0 Enter 'help' for information fdisk: 1> reinit In memory copy is initialized to: Offset: 0 Signature: 0xAA55 Starting Ending LBA Info: #: id C H S - C H S [ start: size ] ------------------------------------------------------------------------ *0: 06 0 0 2 - 1 0 1 [ 1: 2048 ] DOS > 32MB 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: A6 2 0 1 - 239370 63 32 [ 4096: 490227712 ] OpenBSD Use 'write' to update disk. fdisk:*1> write Writing MBR at offset 0. fdisk: 1> quit --- Then I tried to create a partition using disklabel: --- # disklabel -E sd0 # Inside MBR partition 3: type A6 start 4096 size 490227712 Treating sectors 4096-490231808 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) > b Starting sector: [4096] Size ('*' for entire disk): [490227712] * > r Recalculated free space. > a a offset: [4096] size: [490228736] FS type: [4.2BSD] > p m device: /dev/rsd0c type: SCSI disk: SCSI disk label: OneTouch bytes/sector: 512 sectors/track: 32 tracks/cylinder: 64 sectors/cylinder: 2048 cylinders: 239371 total bytes: 239371.5M free bytes: 0.0M rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 239369.5M 2.0M 4.2BSD 2048 16384 16 # Cyl 2 -239371* c: 239371.5M 0.0M unused 0 0 # Cyl 0 -239371* > w disklabel: ioctl DIOCWDINFO: Operation not permitted disklabel: unable to write label --- How can I write this partition table to disk? Best regards, Dennis |