How to Make Your Fedora 7 or 9 works in Parallels Desktop 9 (Mac Book 13")

Discussion in 'Linux Virtual Machine' started by CodeWarriorAQ, Aug 30, 2008.

?

It is useful for you?

  1. Yes :)

    2 vote(s)
    100.0%
  2. Yes :

    0 vote(s)
    0.0%
  3. |No :(

    0 vote(s)
    0.0%
  1. CodeWarriorAQ

    CodeWarriorAQ Bit poster

    Messages:
    2
    I write "Fedora 7 or 9" because i don't test it with Fedora 8, but, may be work too.

    My Notebook: Mac Book (White), 13", 2.4Ghz Core 2 Duo, 2Gb Ram, 160 HD and with the lastest updates of Leopard (10.5.4).

    First Step: Create your VM indicating that the OS is Linux and Fedora. I create my VM with 20Gb for storage (i judge it good for me, custom for your need) and 512Mb or RAM (i think that less than it's impossible to run in a descent mode). I configurate my network to Bridge and appoint to my Air Port, configure like your need.

    Second Step: Insert a TESTED DVD of Fedora 7 or 9. You can do this test in the installation. Remember to set to Boot via DVD / CD-ROM first. Run the VM. With Fedora 7 i experiment various errors in Graphical Install Mode, then, i install it in text mode, works fine. For the Fedora 9, i do the same (lessons learned), i believe that this errors occurs because the Graphical mode don't run correctly here.

    Third: After install, the system returned the prompt of Login for me in Text Mode. I login with root then i edit the xorg.conf. This file stay in the /etc/X11. Edit with vi with this command: vi xorg.conf

    *If you never used the Vi Editor, use this site for Commands Reference -> http://www.cs.rit.edu/~cslab/vi.html

    Follow the xorg.conf file content. Let your file equal this.

    # Xorg configuration created by system-config-display. Edited by CodeWarriorAQ

    Section "ServerLayout"
    Identifier "single head configuration"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection

    Section "InputDevice"

    # keyboard added by rhpxl
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    #I initiate with 1024x768, after test 1024x768 in FullScrenn, if OK, try 1280x768 and finally 1280x768 in FullScreen.
    #Today i use 1280x768 in Fullscreen, OK.
    ModelName "LCD Panel 1280x800"
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    #I tried to use other drivers (Intel) here, but nothing that functions for our Intel GMA X3100
    Driver "vesa"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    #For Fedora 7 the Depth = 24 functions OK, but for Fedor 9, only function if Depth = 16.
    DefaultDepth 16
    SubSection "Display"
    Viewport 0 0
    Depth 16
    #I initiate with 1024x768, after test 1024x768 in FullScrenn, if OK, try 1280x768 and finally 1280x768 in FullScreen.
    #Today i use 1280x768 in Fullscreen, OK.
    Modes "1280x800"
    EndSubSection
    EndSection

    Fourth: After it, the command startx must function and you will enter in the Graphical Mode. To finalize our install you will need to change the file inittab located at /etc/ Follow the content:

    # inittab is only used by upstart for the default runlevel.
    #
    # ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
    #
    # System initialization is started by /etc/event.d/rcS
    #
    # Individual runlevels are started by /etc/event.d/rc[0-6]
    #
    # Ctrl-Alt-Delete is handled by /etc/event.d/control-alt-delete
    #
    # Terminal gettys (tty[1-6]) are handled by /etc/event.d/tty[1-6] and
    # /etc/event.d/serial
    #
    # For information on how to write upstart event handlers, or how
    # upstart works, see init(8), initctl(8), and events(5).
    #
    # Default runlevel. The runlevels used are:
    # 0 - halt (Do NOT set initdefault to this)
    # 1 - Single user mode
    # 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
    # 3 - Full multiuser mode
    # 4 - unused
    # 5 - X11
    # 6 - reboot (Do NOT set initdefault to this)
    #

    #Here are the Change. The original is 3, change to 5 (X11).
    id:5:initdefault:

    Fifth and last: If we look at the file /etc/prefdm that run in the startup, they look inside the file /etc/sysconfig/desktop to find this line: DISPLAYMANGER = XXX where XXX = GNOME, KDE, WDM or XDM. In our fresh Fedora (7 i don't know if it exist) 9 install, this file don't exist. Then go to /etc/sysconfig and create the file with this command "vi desktop" and write this line: DISPLAYMANAGER=KDE For new Linux or Vi users follow the exact thing that you will need to do:

    1) cd /etc/sysconfig
    2) vi desktop
    3) Press "i" to enter in insert mode.
    4) digite DISPLAYMANAGER = KDE
    5) Press ESC to out of insert mode
    6) Press the shift and press the "z" twice times or press one time CAPS LOCK and press "z" twice time. Don't forget to disable CAPS LOCK pressing one time again the CAPS LOCK.

    After do it, give a cat in the desktop file to check if all its ok. Follow a list of reference of DISPLAYMANAGER var.

    GNOME = GDM
    KDE = KDM
    WDM = WDM
    XDM = XDM

    I use the KDE (KDM) and GNOME with my Desktop. You can use other. I test DISPLAYMANAGER=GNOME and its OK too. I attach the xorg.conf, inittab and the desktop files for this post in the file HowToParallelsFedora.zip
     

    Attached Files:

    Last edited: Aug 30, 2008
  2. murphy

    murphy Member

    Messages:
    64
    If you find that ESC will not get vi out of input mode, try Command-C.
    Once out of input mode :x will save your work and exit from vi.
     
  3. CodeWarriorAQ

    CodeWarriorAQ Bit poster

    Messages:
    2
    Thankx for you cooperation!
     

Share This Page