Sunday, September 4, 2011

Installing ArchLinux as Host on Virutalbox

These are the following steps I followed to setup a minimal ArchLinux installation. The detailed instructions are present at the excellent wiki of Arch.
  1. Downloaded the latest Net Install Image via torrent.
  2. Created a 512MB and 16GB Virtual Drive in VirtualBox 5.1
  3. Followed the steps to complete a minimal installation.
  4. On reboot, I tried to install openbox with the command pacman -S openbox which failed with error: 
    1. error: could not open file /var/lib/pacman/sync/extra.db: failed to open '/var/lib/pacman/sync/extra/db'...
  5. I ran the following command: pacman -Syy
  6. Create an account using: adduser
    1. Give the addional groups as 'audio,lp,optical,storage,video,wheel,games,power,scanner'
  7. Now I was able to get the option
  8. Do a system update: pacman -Syu
  9. Installing LXDE 
    1. # pacman -S lxde
    2. Copying the config files to 
  10. Installing slim
    1. # pacman -S slim
  11. After some command line fun, I eventually decided to install wicd for network management.
Post these steps I had a working after configuring /etc/rc.conf to include the services I need to run on boot.


No comments: