14

升级到Snow Leopard的时候,找到的是dmg文件。
Mac自带的磁盘工具支持将dmg写入到USB stick,并用USB stick来引导安装。

当时就想,是不是iso文件也可以这样做?
今天准备装Ubuntu 10.10的时候,在Ubuntu的安装向导中找到了答案:

  1. Download the desired file
  2. Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight)
  3. Convert the .iso file to .img using the convert option of hdiutil (e.g.,hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso)
  4. Note: OS X tends to put the .dmg ending on the output file automatically.
  5. Run diskutil list to get the current list of devices
  6. Insert your flash media
  7. Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
  8. Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)
  9. Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.img or ./ubuntu.dmg).
  10. Using /dev/rdisk instead of /dev/disk may be faster.
    If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.
    If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the ‘Disk Utility.app’ and unmount (don’t eject) the drive.
  11. Run diskutil eject/dev/diskN and remove your flash media when the command completes
  12. Restart your Mac and press alt while the Mac is restarting to choose the USB-Stick

从第5步起,也可以直接用“磁盘工具”代替
原文地址:http://www.ubuntu.com/desktop/get-ubuntu/download

另外,上文也提到了在Windows下将iso做成可引导USB stick的方法。用这个小工具应该比UltraISO要方便吧。

Tagged with:
18

之所以说终于,是有两个意思的。
一、某些软件只能在非虚拟机的Windows下运行,虽然坚持尝试各种方法,均不成功,所以不得不装;
二、安装的过程一波三折,颇为费时费事,但毕竟最后是成功了,值得庆幸。

从昨晚开始尝试,到今晚装好,总共尝试了两个版本的Windows XP,反复安装了6次。
前5次,不是提示Disk Error,就是说missing hal.dll,无论我是直接用Boot Camp的分区,还是先Delete再Create。

很多所谓的Solution都语焉不详,没有明确的步骤,也就无法实行了。Apple的Boot Camp文档更是只字不提。

Thanks for Google,答案通过GoogleBlogspot上找到了。

步骤有4:

  1. 通过Mac里的Boot Camp重新分区
  2. 塞入Windows安装盘,开始重启安装
  3. 在两次蓝屏之间的短暂黑屏时,按下F10,进入Console。输入format c: /Q /FS:NTFS将分区格式化,然后exit,重启
  4. 再次进入安装界面,等待出现分区列表,选择C,保留分区格式。后面就是正常流程了
Tagged with:
preload preload preload

无觅相关文章插件,快速提升流量