عربيEnglishDeutschItaliano
   
Home Notes Computer Mac Os command line
Mac Os command line PDF Print E-mail
Notes - Computer
Friday, 30 January 2009 09:08

Here I will add useful commands to use in the Macintosh command line:



Windows Unattended Setup on Intel Based Macs

When Installing Windows XP on an intel-based mac using an unattended cd, you are not asked how to format the Hard Drive, it installs directly using the default FAT32 Format, XP tries then to convert  to NTFS after the setup is done, which makes the drive unreadable.
The Trick explained here will add some blocks to the Windows Partition, which will make the CD ask for formatting the Drive.

After Partitioning with Boot Camp Run the Following commands

First use the following command to identify the Windows Partition:

diskutil list

Then After identifying the ID of the Windows partition run the following command to write the blocks to the Partition. In this example the identified Windows Drive is /dev/rdisk0s3


sudo dd if=/dev/zero of=/dev/rdisk0s3 bs=1m counts=100

Now you can boot from the Unattended CD and you should be asked for Formatting.



Reading Mac Serial Number with Terminal

ioreg -l | grep IOPlatformSerialNumber | awk '{ print $4 }' | tr -d \"
/usr/sbin/system_profiler SPHardwareDataType | grep Serial | awk '{ print $4 }'
Mac Os command line
Last Updated on Wednesday, 11 December 2013 15:16
 

Add comment


Security code
Refresh