東川印記

一本東川,笑看爭龍斗虎;寰茫兦者,度橫佰昧人生。

ubuntu14.04x64黑苹果安装(第三次)

2014年8月18日星期一



第一次是学习性安装成功。
第二次是安装成功后因内核崩溃果断格盘。
现在是第三次。

前面都一样,挂的变色龙的引导。
第一步:格盘分区,安装到磁盘。


第二步:安装内核
截图少了第一行 umount /Volumes/Mavericks


第三步,进入系统,安MultiBeast-Mavericks-Edition-6.1.0.zip,启用EFI,从此不用再挂引导盘。


 安装Xcode
设备--分配光驱--挂载
xcode_5.0.1_gm_seed.dmg
和command_line_tools_os_x_mavericks_for_xcode__late_october_2013.dmg
分别安装

拖动以安装


目测又一个hello world来袭


然后是另一个


上面俩安装完成后,开启终端输入命令以取消强制签名
  1. SDKFILE="$(xcode-select --print-path)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/SDKSettings.plist"
  2. sudo /usr/libexec/PlistBuddy -c "Set :DefaultProperties:CODE_SIGNING_REQUIRED NO" "$SDKFILE"
  3. sudo /usr/bin/plutil -convert binary1 "$SDKFILE"


VirutalBox虚拟黑苹果没声音
这个试试VirtualBox ICH AC97 Audio Driver.zip


安装过程中发现这句

This driver supports both Leopard and Snow Leopard guests
(Please note this driver is for 32-bit mode only)
安装后果然不行!!!

好吧,下载x64位的源码,自己编辑
https://forums.virtualbox.org/download/file.php?id=2869&sid=b00305b6bb15f442d7de78f7681bf8d7


点击这个.xcodeproj会自动打开Xcode....


Build Faild

编译半天,死活报错
然后,哪个报错删哪个target

然后就build susses
为什么不能Run......


修改分辨率
virutalbox安好后分辨率是1024x768,大屏时代,看着闹心

声卡驱动未果,分辨率调整未果
  1. senrsl@senrsl-desktop:~$ sudo apt-get remove virtualbox-4.3
  2. [sudo] password for senrsl:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 下列软件包将被【卸载】:
  7.   virtualbox-4.3
  8. 升级了 0 个软件包,新安装了 0 个软件包,要卸载 1 个软件包,有 0 个软件包未被升级。
  9. 解压缩后将会空出 154 MB 的空间。
  10. 您希望继续执行吗? [Y/n] Y
  11. (正在读取数据库 ... 系统当前共安装有 177296 个文件和目录。)
  12. Removing virtualbox-4.3 (4.3.6-91406~Ubuntu~precise) ...
  13. Stopping VirtualBox kernel modules ...done.
  14. Processing triggers for hicolor-icon-theme (0.13-1) ...
  15. Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
  16. Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
  17. Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
  18. Rebuilding /usr/share/applications/bamf-2.index...
  19. Processing triggers for mime-support (3.54ubuntu1) ...
  20. Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
安最新版的4.3.14试试
http://download.virtualbox.org/virtualbox/4.3.14/

删掉Mavericks,卸掉vb4.3.6,删掉~/.config/virutalbox

然后重新安装,加载插件Oracle_VM_VirtualBox_Extension_Pack- 4.3.14-95030.vbox-extpack

内存 3072,硬盘30G

引导盘界面的时候,下方向键,按q退出,输入
"Graphics Mode"="1366x768x32″可以切换分辨率

使用MultiBeast-Mavericks-Edition-6.1.0.zip安装了Easy模式,

还需要的
1,分辨率;
2,声音;   
3,xcode;

分辨率
查看宿主机分辨率
  1. senrsl@senrsl-desktop:~$ xrandr
  2. Screen 0: minimum 320 x 200, current 1366 x 768, maximum 32767 x 32767
  3. VGA1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 410mm x 230mm
  4.    1366x768       59.8*+
  5.    1360x768       60.0 
  6.    1024x768       75.1     72.0     70.1     60.0 
  7.    832x624        74.6 
  8.    800x600        72.2     75.0     60.3     56.2 
  9.    640x480        75.0     72.8     66.7     60.0 
  10.    720x400        70.1 
  11. HDMI1 disconnected (normal left inverted right x axis y axis)
  12. DP1 disconnected (normal left inverted right x axis y axis)
  13. VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1366x768

挂引导启动时输入命令"Graphics Mode"="1366x768x32"可行,但麻烦 VBoxManage setextradata "Mavericks" VBoxInternal2/UgaHorizontalResolution 1366 VBoxManage setextradata "Mavericks" VBoxInternal2/UgaVerticalResolution 768 VBoxManage setextradata "Mavericks" VBoxInternal2/EfiGopMode 4 官方说明http://www.virtualbox.org/manual/ch03.html#efividmode

3.12.1. Video modes in EFI

EFI provides two distinct video interfaces: GOP (Graphics Output Protocol) and UGA (Universal Graphics Adapter). Mac OS X uses GOP, while Linux tends to use UGA. VirtualBox provides a configuration option to control the framebuffer size for both interfaces.
To control GOP, use the following VBoxManage command:
VBoxManage setextradata "VM name" VBoxInternal2/EfiGopMode N
Where N can be one of 0,1,2,3,4,5 referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.
To change the UGA resolution:
VBoxManage setextradata "VM name" VBoxInternal2/UgaHorizontalResolution 1440 VBoxManage setextradata "VM name" VBoxInternal2/UgaVerticalResolution 900
The video mode for both GOP and UGA can only be changed when the VM is powered off and remains persistent until changed.
官方的模式没有1366x768,自己建个
senrsl@senrsl-desktop:~$ VBoxManage setextradata "Mavericks" "CustomVideoModel1" "1366x768x32"  
看来只能是挂回引导在引导界面命令方式启动才行 光驱已无力。。。。 安装QQ输入法,火狐浏览器。 XCode -->hello world xcode里包含了ios sdk,所以不用单独下载。 IDE里内置了git 跟ubuntu一样的 先放下git,看程序 点击左上角Run,build susses后会自动启动Iphone模拟器 运行结果为一个白屏,OK 拖个label然后打字 运行起来,OK 增加这一样,可以隐藏状态栏。 git 需要ssh-keygen先生成证书,然后配置到server. 这俩货跟ubuntu一样。 取消隐藏文件 然后左上角苹果图标,强制退出iFinder,重启,就显示隐藏文件。 senrsl@senrsl-desktop:~$ emulator -avd g19x86 ioctl(KVM_CREATE_VM) failed: 16 Device or resource busy ko:failed to initialize KVM virutalbox下的mac问题依旧没解决,寻求新方案。 2014年08月18日09:17:19
--
senRsl
@Beijing TongZhou

没有评论 :

发表评论