You are not logged in.
to the physical hard drive of the machine?
If I install Arch in the vm will I be able to transfer that install to the physical drive of the machine?
Last edited by georgelappies (2012-03-24 12:21:59)
Offline
Short answer: Don't bother.
Longer answer:
While Arch installations are highly portable and doing such a transfer is definitely possible, it's usually just as quick to install from scratch.
What I'd suggest you do instead is generate a list of installed packages and use that to install the same in a new install.
If you really want to transfer, it would be easiest to do from within VBox itself. Just attach a physical HDD in addition to your vdi, then either dd over the partition or tar - untar it.
Offline
Thanks, reason I am asking is that I am not on uncapped internet connection. I would like to try out Arch Linux very much. If I decide to use it downloading all the packages for KDE and X etc. again will eat heavily into my data plan.
How much download is involved with a standard KDE installation?
Your dd method sounds good.
Offline
Pacman stores downloaded packages in /var/cache/pacman/pkg. You can just copy the packages from the virtual system's cache over to the new system's cache to reuse them (assuming both systems are the same architecture).
If your virtual system is accessible on the LAN, you can also use pacserve to avoid redundant downloads.
If you want to install the same packages on the new system, run this on the virtual system:
pacman -Qet > pkglist.txt
then copy the pkglist.txt file to the new system and run
pacman -S $(cat pkglist.txt)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
The one time I have recommended a VB installation to subsequently migrate is to prepare a pendrive version. It's much faster to install in VB and then copy to a pendrive than to install directly to the pendrive.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
Offline
Pacman stores downloaded packages in /var/cache/pacman/pkg. You can just copy the packages from the virtual system's cache over to the new system's cache to reuse them (assuming both systems are the same architecture).
If your virtual system is accessible on the LAN, you can also use pacserve to avoid redundant downloads.
If you want to install the same packages on the new system, run this on the virtual system:
pacman -Qet > pkglist.txt
then copy the pkglist.txt file to the new system and run
pacman -S $(cat pkglist.txt)
Thanks, this looks like the preferred method to do it. I can install in virtualbox and play around until I get it just right and then move the packages over to a partition on the host.
P.S. how do we mark the threads solved here
Last edited by georgelappies (2012-03-24 12:14:51)
Offline
Just edit the first post and prefix the subject with "[SOLVED]".
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline