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 | # 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 | # 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> | ||
# VirtualBox generated configuration file | |||
# based on /etc/X11/xorg.conf. | |||
Section "Monitor" | |||
Identifier "Monitor[0]" | |||
ModelName "VirtualBox Virtual Output" | |||
VendorName "Sun Microsystems Inc" | |||
EndSection | |||
Section "Device" | |||
BoardName "VirtualBox Graphics" | |||
Driver "vboxvideo" | |||
Identifier "Device[0]" | |||
VendorName "Sun Microsystems Inc" | |||
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== | ||