All pastes #2070689 Raw Edit

Miscellany

public text v1 · immutable
#2070689 ·published 2011-05-28 03:50 UTC
rendered paste body
SARs-Mac-mini:~ SAR$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:     FDisk_partition_scheme                        *160.0 GB   disk0
   1:               Windows_NTFS System Reserved         104.9 MB   disk0s1
   2:               Windows_NTFS                         86.9 GB    disk0s2
   3:                  Apple_HFS OSX                     32.2 GB    disk0s3
   4:                    OpenBSD                         40.8 GB    disk0s4


Here are the cmds I'm running; (Number 4. below says the resource is busy, so is that normal output or it's not working? How do I use these cmds when dual booting to keep from killing Win7?

1. cd /usr/standalone/i386/fdisk

2. sudo /usr/standalone/i386/fdisk -f boot0 -u -y /dev/rdisk0
3. sudo dd if=boot1h of=/dev/rdisk0s3
4. sudo dd if=boot0 of=/dev/rdisk0 bs=440 count=1 (Can't run this, it says in the terminal dd: /dev/rdisk0: Resource busy)
5. sudo cp boot /

6. sudo /usr/standalone/i386/fdisk -e /dev/disk0
7. f 3
8. write
9. y
10. exit