# Lee Harr:
> dd if=iso of=/dev/ad0s1
> 
> but what I am getting now is ...
> 
> dscheck(#ad/0x200002): fixlabel: invalid magic
> fixlabel: invalid magic
> dd: /dev/ad0s1: Read-only filesystem

This error isn't new, it just, well, doesn't happen very
often:

kern/subr_diskslice.c:
| static char *
| fixlabel(sname, sp, lp, writeflag)
[...]
|   /* These errors "can't happen" so don't bother reporting details. */
|       if (lp->d_magic != DISKMAGIC || lp->d_magic2 != DISKMAGIC)
|               return ("fixlabel: invalid magic");

Prior reports seem to indicate this fails if non-ufs slices
somehow got themselves a disklabel.

According to <URL:http://makeashorterlink.com/?S37C2186B>[1]
a workaround might be using

  dd if=/dev/foo of=/dev/ad0 oseek=63


 HTH,
Mario
___________
[1]: This is really
<URL:http://groups.google.de/group/mailing.freebsd.questions/browse_frm/thread/46bc3662805a349c/146b0cdc6e294288?q=dscheck+fixlabel&rnum=3&hl=de#146b0cdc6e294288>.
  
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to