[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving Debian from one HD to another



I have moved systems by running something like this:

	# As root, and with the new system destination mounted on /new_system.
	cd /
	ls > list
	# edit list to not contain "list", "proc", and "new_system"
	mkdir /new_system/proc
	tar cbf 256 - `cat list` | (cd /new_system; tar xvlpbf 256 -)
	cd /new_system
	/var/lib/dpkg/info/lilo.postinst

Of course, you _must_ be root. That "p" flag to tar is critical.
Back up your system first, just in case you mess something up.

	Bruce
--
Pixar Animation Studios: Reality is not our business.
Pixar's "Toy Story" $184.5M domestic, $66M overseas and counting.



Reply to: