Re: Creating a copy of debian set-up
b701 wrote:
> I have Debian sarge loaded and running fine on a Thinkpad (laptop). I
> now want to copy my setup onto another hard drive, so I can try some
> things out without ruining this setup (which took a lot of effort to get
> running). How do I go about doing that? The laptop can only run one
> hard drive at a time. I can connect to another Debian machine (running
> woody). The laptop started with woody (same CDs used as the other
> machine) and I think I kept all the downloaded deb files used to upgrade.
> Is there any way to copy the setup rather than setting up a new hard
> drive from scratch?
Do 'dpkg --getselections > /etc/selections' and then back up all of /etc.
To restore, restore /etc and then do
'dpkg --set-selections < /etc/selections', run dselect,
and go directly to 'install'.
Copy your home directory over seperately, if needed.
--
John Hasler
Reply to: