On Sun, Mar 06, 2011 at 04:14:33PM +0100, Jens A. Griepentrog wrote: > On 03/06/11 02:25, Matthew Dempsky wrote: > > [...] Jens A. Griepentrog <griep...@wias-berlin.de> wrote: > >>What went wrong? The procedure works for usual hard disks and memory > >>sticks with sectors of 512 bytes. I would be grateful for any hint. > >>(As a final aim I would like to have some bootable magneto-optical > >>disk with root partition a: and two more partitions d: and e: ...) > > > >When you say "The procedure works for usual hard disks and memory > >sticks [...]", do you mean it works on this same system when attached > >to the same ahc(4) controller? E.g., if you replace this sd0 with a > >standard SCSI disk, will the same set of fdisk/disklabel/newfs > >commands work correctly? > > Thanks, Matthew, I just checked this again with some 16-year old SCSI > disk to give a rigorous proof of my above statement: > > ... > ahc0 at pci6 dev 2 function 0 vendor "Adaptec", > unknown product 0x0082 rev 0x02: apic 7 int 21 (irq 3) > scsibus0 at ahc0: 8 targets, initiator 7 > sd0 at scsibus0 targ 4 lun 0: <QUANTUM, FIREBALL1080S, 1Q09> > SCSI2 0/direct fixed > sd0: 1042MB, 512 bytes/sec, 2134305 sec total > ...
> > a e > offset: [64] ^^ That was 32 in your earlier example. Did you try some appropriately-large offsets? (AFAIK, that shouldn't help, but maybe the first sectors are "magical" or maybe the disk barfs on "unaligned" access?) Joachim