I've got a working installation of arch linux in virtualbox in ubuntu 9.10. Its fully updated with kdemod as the desktop env. Now, I want to replace ubuntu with this arch installation. Is there any way to do this without installing again. I think there should be someway to copy my virtual machine root directory to my real harddisk root partition. Also, I've concerns about graphics as my laptop has ati graphics card while virtualbox uses vesa drivers. And what about installing grub on my mbr.
In Ubuntu mount vdf with vdfuse.
cp -a contents of root-dir to external hd.
Boot live-cd and cp -a from external hd to /dev/sd(where you want your root system to placed).
Mount /devsd(rootfilesystemplacement) to somewhere.
Adjust fstab and menu.lst according to setup - reboot and cross fingers.
This is not tested and is purely theoretical so it may leave your setup unbootable.
Before rebooting I believe you should do a 'mkinitcpio -p kernel26' otherwise the modules you may need to boot will be missing (I guess the fallback image would still work though).
Thanks. Just what I needed.
I made this into a Wiki entry. Can anyone confirm this works?