alvakoldo10 wrote:VirtualBox could be, what about the profiles? does l-h handle it?
I do that in Vbox with live-helper and -in general- it does work.
(in general: i got problems to set the keyboard to german and keep it on the live/install-CD i create. -> easy password required. As an example).
Nothing of that is kind of a drawback, but a bit "annoying".
The good thing: I keep the VBox installation, but don't do much with it. If i want to add stuff i boot into VBox, add the stuff, run the two lh commands and got my new iso/live-CD. That way it is getting better and better
. I use
Refracta for that, but it is not necessary (only comfortable, and only for me, cause i use 17 anyway)
Make sure to have got enough space in Vbox (about 3x the space your installation in Vbox is. Squashfs-stuff gets unpacked and moved around, hence you need much space. For me that are about 8GB)
I know none of the other tools (besides remastersys), but live-helper does a nice job for such stuff.
I use it on a low-level. Depending on what you want your mileage may vary.
-----------------------------------------------------------------------------------------------------------------------
site note (Dean is the live-helper master, just give you some of my experiences here:)
Instead of installing and re-configuring again you might also
rsync your installation from hard-disk to vbox-disk, but leave away the huge users-data. Then rsync the hidden home-configs and then run the two live-helper commands. You need to boot into VBox from a live-cd, mount the vbox-disk-installation, rsync the OS, kinda like this:
Code: Select all
mount /dev/vbox_sda /media/backup
rsync -auv -e ssh -n --delete-after \
--exclude="/home/username/[a-zA-Z0-9]*
--exclude="/proc/*" --exclude="/lost+found/*" \
--exclude="/dev/*" \
--exclude="/mnt/*" \
--exclude="/media/*" \
--exclude="/sys/*" \
--exclude="/tmp/*" \
root@debian-harddisk-ip:/ /media/backup >dry.txt
Remove -n and >dry.txt if you are ready to go.
Then rsync the users hidden configs (seems more easy to mv the data to a backup-dir then to go for --exclude:
Code: Select all
rsync -auv -e ssh debian --exclude="all data" --exclude=".VirtualBox" root@debian-harddisk-ip:/home/username/ /media/backup/username
chroot into it and re-install grub. edit fstab. perhaps edit or remove /etc/udev/rules/70-persistent-net.rules
This, of course, is the short/wrong version.
This is just to give you the idea. Don't simply copy and paste. For a long time project it is worth the trouble. It is rather easy, but not that easy to explain. Rsync is the way to go.
PS: in case this post was confusing: sorry.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.