![]() ![]() So it is recommended that you move/rename or delete the following: Having an nvidia, nouveau, radeon, intel, etc., entry in the Device section from one of the Xorg configuration files will prevent it from starting, since you will be using emulated hardware (including the video card). dev/sda1 / ext4 defaults,noatime 0 1 Disable any Xorg-related files etc/fstab tmpfs /tmp tmpfs nodev,nosuid 0 0 For now, /dev/sda1 for your entire system is just fine. You may use the UUID or label if you want, but those are more useful in multi-drive, multi-partition configurations (to avoid confusions). Since your entire root tree has been transferred to a single partition, edit the fstab file. For GRUB, it is recommended that you automatically re-generate a grub.cfg.For Syslinux, it should be APPEND root=/dev/sda1 ro in syslinux.cfg.Do not forget to update its configuration file: the latest Arch Linux ISO) in the virtual machine's virtual CD-ROM, then start the virtual machine and chroot into it: $ VBoxManage convertfromraw -format VMDK /media/backup.img /media/backup.vmdkĬonnect the container to the virtual machine, along with a Linux LiveCD (e.g. To convert into a VMware container, use virtualbox with the following command line: $ VBoxManage convertfromraw -format VDI /media/backup.img /media/backup.vdi To convert into a VirtualBox container, use virtualbox with the following command line: $ qemu-img convert -c -f raw -O qcow /media/backup.img /media/backup.qcow2 To convert into a KVM container, use qemu-desktop with the following command line: # rsync -aAXHSv /* /path/to/shared/folder -exclude=Ĭonvert the container to a compatible formatĬhoose the appropriate command depending on the desired virtual machine. If you are on Windows, install Ext2Fsd to be able to mount ext volumes.įrom the virtual machine, open a terminal and transfer the system: (Discuss in Talk:Moving an existing install into (or out of) a virtual machine) Last job is just to change the permissions on the shared folder so that we can access the host (replace username with your username).Reason: Ext2Fsd 0.66 does not support extended attributes and ACL. Note: If full screen doesn’t work, try typing “sudo depmod -a” in a terminal and then reboot again In nano uncomment the desktop environment you want to be the default, in my case it was this line ” Now we need to get the display manager to load automatically at boot, and set the default desktop (note you can install multiple desktops environments lxdm will give you options to boot into them instead of the default if you should wish) sudo systemctl enable lxdm Installing the lxde group using pacman also installs the display manager (called lxdm). I’m all for saving resources so I’m installing the lightweight LXDE. You can choose from a bunch of different environments, from fancy feature rich to bare-bones, see the arch desktop page for the options. This consists of two parts, first the display manager that will log us in and kick off the desktop, and then the desktop environment itself. Reboot using “sudo reboot”, once you are back into the environment type “startx”, and some very basic windows should open confirming that x is working! Type exit in these windows to return to the terminal.įinally, we will install the desktop environment. Sudo nano /etc/modules-load.d/nfĪfter nano opens, add these to these lines to the nf file: I got some good ideas from this post ( ), it might be worth checking it out for a second way of doing this. Sudo pacman -S xorg-twm xorg-xclock xtermīecause we are using virtualbox, we need to install some helper tools that will allow the graphics to work properly. sudo pacman -S xorg-server xorg-xinit xorg-server-utils mesa Once you are at the line you want to insert your username, type “i” to insert, once you have finished type and then colon “:” and to save and exit (ie “:wq”). ![]() Note that visudo uses VI, which can be a little tricky to use for the uninitiated. After typing the visudo command scroll down to the line that contains “root ALL=(ALL) ALL”, and underneath that add your username and the “ALL=(ALL) ALL” part. Sudo has a special editor to change it called “visudo”, we should always use this modify the config file. Useradd -m -G wheel -s /bin/bash dwheeler Obviously substitute for your username and password. Enter a password after the passwd command. This first command creates a home directory called “dwheeler” using the -m flag, adds this user to the administrator group (wheel) with the -G flag and links us to bash. But first off we will setup sudo so we can stop being root. Now that we have our base system installed, its time to add some tools that will give us a nice GUI desktop. **This continues on from the previous post that can be found here** ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |