You are not logged in.
Pages: 1
I now made a clean Installation of "my" archlinux with gnome3 and all packages I usually use. Now I want to pack my whole /-dir to a tar.bz2 which i then can extract over a gentoo-livecd into new systems. So I only have to install the grub2 and the kernel.
I thought I use
tar cvjf /stage4.tar.bz2 / --exclude=/stage4.tar.bz2 --exclude=/home/* --exclude=/dev/* --exclude=/mnt/* --exclude=/tmp/* --exclude=/proc/* --exclude=/sys/* --exclude=/etc/mtab --exclude=/etc/ssh/ssh_host_* --exclude=/media/* --exclude=/var/cache/pacman/pkg/*
Would this work?
Last edited by archer42 (2011-10-13 15:09:56)
Offline
Any reason this process might be preferrable to using partition cloning software? Something like Clonezilla would definitely be more convenient for this. Also, unless both machines are identical you may need to change other config files.
Offline
I'm not sure about stageX terminology, but if the tar is any representation it only contains files, not partition data,
so the difference between doing that and cloning the partition would be in the latter influencing partition
size and file system type. ...Which one may or may not want...
I need a sorted list of all random numbers, so that I can retrieve a suitable one later with a binary search instead of having to iterate through the generation process every time.
Offline
Sure I have to create the partitions and mount them before I can extract the stage4-image. But then I just have to chroot, change rc.conf and install grub2 and the kernel via pacman (and the xf86-video-* driver)
I find this is a really easy way... better then any clone software where you can't see what happens...
I made the Image and will try it the coming days.
Offline
Don't forget to look at your fstab..
Offline
Pages: 1