[j-nsp] Building install media on OS X?

Dave Diller dave at maxgigapop.net
Sat Jan 5 08:28:06 EST 2008


>
>
> OS X doesn't have premade /dev entries for devices, and it deletes /
> dev entries when you unmount a FS, so how do you create a /dev entry
> that is attached to a CF card in a USB reader so you can use dd??

I last did this when I was on a G4 and had a PCMCIA slot to use  
directly.  I have not tried this via a USB CF reader on the MBP, so  
YMMV.

My notes say:

Only tricky part was figuring out how the laptop saw the PCMCIA card -  
turned out it just treated it as a disk so I just had to repartition  
it as Free space, which then allowed me to:

dhcp11:~ dave$ sudo  dd if=/dev/zero of=/dev/disk3 count=20
20+0 records in
20+0 records out
10240 bytes transferred in 0.091395 secs (112041 bytes/sec)

dhcp11:~ dave$ sudo  dd if=Documents/junos/install-media-8.0R1.9- 
domestic of=/dev/disk3 bs=64k
1208+1 records in
1208+1 records out
79173632 bytes transferred in 154.118571 secs (513719 bytes/sec)

and it worked fine in the router.

HTH,

-dd


More information about the juniper-nsp mailing list