VirtualBox/Preparing a disk image: Difference between revisions

No edit summary
No edit summary
Line 18: Line 18:
# su -
# su -
# parted /dev/sda
# parted /dev/sda
# mklabel msdos -- make partition table
# mklabel msdos
#: This makes a partition table.
# mkpart primary ext2 0 2048
# mkpart primary ext2 0 2048
# toggle 1 boot
# toggle 1 boot
Line 37: Line 38:
# Open Terminal
# Open Terminal
# su -
# su -
# yum install dkms gcc make
# yum install dkms gcc  
#: (Other dependencies will be called into the installation.)
#: (Other dependencies will be called into the installation.)


Line 184: Line 185:
# Edit /etc/X11/xorg.conf to match the following section:  (This is for 1200x900 (XO) and other resolutions.)
# Edit /etc/X11/xorg.conf to match the following section:  (This is for 1200x900 (XO) and other resolutions.)
<pre>
<pre>
Section "Device"
# VirtualBox generated configuration file
        Identifier "VirtualBox Video Card"
# based on /etc/X11/xorg.conf.
        Driver "vboxvideo"
 
EndSection
Section "Monitor"
  Identifier  "Monitor[0]"
Section "Screen"
  ModelName    "VirtualBox Virtual Output"
        Identifier "Default Screen"
  VendorName  "Sun Microsystems Inc"
        Device "VirtualBox Video Card"
EndSection
        Monitor "Generic Monitor"
 
        DefaultDepth 16
Section "Device"
        SubSection "Display"
  BoardName    "VirtualBox Graphics"
                Depth 16
  Driver       "vboxvideo"
                Modes "1200x900" "1024x768" "800x600" "640x480"
  Identifier  "Device[0]"
        EndSubSection
  VendorName  "Sun Microsystems Inc"
EndSection
EndSection
 
Section "Screen"
  Identifier   "Screen[0]"
  Device       "Device[0]"
  Monitor     "Monitor[0]"
  DefaultDepth 16
  SubSection "Display"
    Depth     16
    Modes     "1200x900" "1024x768" "800x600"
  EndSubSection
EndSection
</pre>
</pre>
==Clear user data==
==Clear user data==