Ubuntu from boot camp partition

Discussion in 'Linux Virtual Machine' started by shuhart, May 4, 2012.

  1. shuhart

    shuhart Bit poster

    Messages:
    3
    Found a script to make Parallels Tools working with Ubuntu installed in Boot Camp partition. Just run the script after Parallels Tools installation and that's it.

    Now Ubuntu works in Parallels VM with Parallels Tools and start OK through reEFIt. At least it worked out on my mac.

    There is a post in russian about it.
     
  2. nightalon

    nightalon Bit poster

    Messages:
    4
    I lost the ability to resize my guest after running this script. Re-installing Parallels Tools had no impact. Anyone have any suggestions other than a re-install of Ubuntu? It looks like the script just injects a different xorg.conf at boot.
     
  3. shuhart

    shuhart Bit poster

    Messages:
    3
    Have you enabled x-org-edgers-ppa? Script seems to stop working after that.

    Anyway, I don't think you need to reinstall Ubuntu. Please attach your *xorg* files from /etc/X11/.

    And paste

    cat /sys/class/dmi/id/product_name

    into command line and let me know the output
     
  4. nightalon

    nightalon Bit poster

    Messages:
    4
    Boot Camp Ubuntu Graphics Tools Error

    brwillia@tutonic-server-u:~$ cat /sys/class/dmi/id/product_name
    Parallels Virtual Platform

    Then I backed up the X11 directory and attached it as X11-pre.zip.

    http://dl.dropbox.com/u/2128051/X11-pre.zip

    Then I ran the script and attached the X11 dir as X11-post.zip

    http://dl.dropbox.com/u/2128051/X11-post.zip

    Then I rebooted and ran cat /sys/class/dmi/id/product_name again:
    brwillia@tutonic-server-u:~$ cat /sys/class/dmi/id/product_name
    H61N-USB3
    which is a Gigabyte motherboard.


    And archived X11 again:
    http://dl.dropbox.com/u/2128051/X11-post-nativebootcampboot.zip

    Note that I did not save X11 from my system via native bootcamp boot prior to running the script. My X11 directory should be whatever it is for the Intel HD3000 GPU standard configuration.
     
    Last edited: May 30, 2012
  5. nightalon

    nightalon Bit poster

    Messages:
    4
    Now it seems to be a purely resolution-dependent issue! The Intel GPU driver now appears to load. Do you know of any way of having the system redetect the native resolution, or hardcoding 1920x1200 during native boot only?
     
  6. shuhart

    shuhart Bit poster

    Messages:
    3
    You're running a Hackintosh?

    The problem is that the script is intended for MBA only, as far as I understand. May be that's the problem.

    Unfortunately, you didn't provide X11 before the parallels tools installation.

    I think the best option to boot natively is to delete xorg.conf completely. Make

    cd /etc/X11
    sudo mv xorg.conf xorg.conf.old

    Then reboot. If you don't get back your native resolution, try to reconfigure xorg.

    sudo stop lightdm

    then press Alt-Ctrl-F1
    login

    sudo X -configure
    sudo cp ~/xorg.conf.new /etc/X11/xorg.conf

    startx

    Hope that'll help.

    P.S. If that won't work out, make

    sudo cp xorg.conf.old xorg.conf

    and try to change or to delete

    SubSection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubSection

    in your current xorg.conf
     
  7. nightalon

    nightalon Bit poster

    Messages:
    4
    Actually I did post the X11 directory from before the script install, under Parallels; just not under native boot (pre- or post-Parallels install). Maybe I can get it from another machine with the same GPU, or do a reinstall if I come across another hard drive lying around. Resize now works in Parallels...kind of strange, given that it didn't work last time! Will keep testing and reading. ;-)
     

Share This Page