Did you try....

# dd if=/dev/rsd0a of=/root/rsd0.mbr bs=512 count=1

?

(Note the "a" partition in /dev/rsd0a ... assuming that the MBR is located
at the beginning of that partition.)



On Mon, Apr 19, 2010 at 3:13 PM, Umarzuki Mochlis <[email protected]>wrote:

> when i checked with
> # disklabel sd0
>
> i got these output:
>
> # Inside MBR partition 3: type A6 start 63 size 70766262
> # /dev/rsd0c:
> type: SCSI
> disk: SCSI disk
> label: Host drive  #00
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 255
> sectors/cylinder: 16065
> cylinders: 4405
> total sectors: 70770688
> 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]
>   a:         69207957               63  4.2BSD   2048 16384    1
>   b:          1558305         69208020    swap
>   c:         70770688                0  unused      0     0
>
> but when i tried
>
> # dd if=/dev/rsd0 of=/root/rsd0.mbr bs=512 count=1
>
> it says:
> dd: /dev/rsd0: No such file or directory
>
> but that would be the normal way i'd do with linux, maybe there's other way
> with obsd?
>
> --
> Regards,
>
> Umarzuki Mochlis
> http://debmal.my
>
> _______________________________________________
> myoss mailing list
> [email protected]
> http://lists.foss.org.my/mailman/listinfo/myoss
>
>
_______________________________________________
general mailing list
[email protected]
http://lists.foss.org.my/mailman/listinfo/general

Reply via email to