PDA

View Full Version : [SOLVED] Install hardy by copying files



amsterdamharu
January 13th, 2010, 10:21 AM
I have Ubuntu Hardy (8.04) on my desktop and want to put it on my laptop, currently my laptop has Fedora and win xp.

I was thinking not to go through a lengthy setup and just copy the ubuntu files from my desktop to my laptop (untar a backup made with a tiny core boot usb).

My guess is that I have to delete the xorg.conf and re setup my videocard. But is there any other hardware that ubuntu won't initialize on startup?

Thanks for reading.

barnex
January 13th, 2010, 10:25 AM
I guess your bootloader won't work, so unless you know how to clone disk images, I would just suggest to do the clean 'lengthy' setup anyway. It will probably be faster than trying to clone your system and then having to fix many issues afterwards.

amsterdamharu
January 13th, 2010, 10:41 AM
System already has grub (fedora) thinking of just restoring an Ubuntu backup to the partitions that are currently in use for fedora. If it doesn't work I will do a lenghty install.

barnex
January 13th, 2010, 02:43 PM
Well, I guess that can't hurt. Let me know if it worked!

wkulecz
January 13th, 2010, 03:32 PM
Should work fine, unless you've installed a hardware specific kernel instead of the "generic" one.

I do this a lot to "clone" systems using rsync. Keep a live CD handy to reinstall grub and edit /etc/fstab to fix the UUID disk mount errors or the mysterious /dev/hda vs. /dev/sda IDE drive assignments I see on some systems. If both systems will be on-line at the same subnet you'll have to change the hostname of one of them. Not as issue for me as the clones are shipped off other locations.

--wally.

amsterdamharu
January 22nd, 2010, 05:59 PM
It worked, no need to change the fstab or xorg.conf, just booted in recovery and choose fix x. The Intel Mobile 945gme does not have 3d effects (as it had in fedora) but that can be fixed.

Needed to change the menu.lst since this uses uuid for root drive that is invalid.

Thanks all for your help