2018年2月8日 星期四

Ubuntu on mac :Use VB in the end


From
https://www.linuxpilot.com/macbook-air-ubuntu
https://blog.gtwang.org/mac-os-x/create-a-ubuntu-linux-usb-stick-on-mac-osx/

(1) Download the iso image file from Ubuntu official website
(2) Transfer iso image file to dmg image file
$hdiutil convert /path/to/ubuntu.iso -format UDRW -o /path/to/ubuntu.dmg
(3)
Insert usb disk and check where it mount
$diskutil list
you will figure out where usb disk mount
(4)
Unmount and burn image file into usb disk (change /dev/diskN to the location you get from last step)
$diskutil unmountDisk /dev/diskN
$sudo dd if=/path/to/ubuntu.dmg of=/dev/rdiskN bs=1m
If you see "dd: Invalid number ‘1m’ ", use 1M instead 1m in command
(5) Disconnect the usb disk
$diskutil eject /dev/diskN
(6) Insert usb disk and reboot mac. Press "Option" key when booting

Problem I met:
(a) Disk partition, DO NOT install on wrong partition, I cover my host OSX at the first time
(b) No network: Solution from internet is to re-setup the driver. I setup all version of bcmwl-kernel-source and still no wife. In the end, I re-setup and connect the wife in the disk-choosing list ( the list when you enter with "Option" key). And click auto-setup driver when setup Ubuntu























Turn out there is still problem ( mac doesn't recognize format of fat32). Use VirtualBox as final choice. Nothing special, just follow the http://blog.xuite.net/yh96301/blog/432341564

Addition feature after setup:
( Insert guest addition CD image before going on)
(1) Synchronize clip board
http://blog.xuite.net/yh96301/blog/300815666-VirtualBox+5.2%E5%AE%89%E8%A3%9DUbuntu+16.04%E8%88%87Windows+10%E5%85%B1%E7%94%A8%E5%89%AA%E8%B2%BC%E7%B0%BF















$vim /etc/group
vboxsf:x:125: => vboxsf:x:125:[use name]


(2) Share folder:
https://blog.gtwang.org/tips/virtualbox-shared-folder/
( use sudo to modify /etc/group)


沒有留言:

張貼留言