Lost boot drive, howto reinstall from backups w/ apt?
I lost my boot drive (sounds crunchy!). I was running Ubuntu Edgy, and I had /var and /home mounted on a RAID5. I also backed up /etc daily to /var/backup so I have all of that.
Here's the relevant lines from /etc/fstab: Code:
root@ubuntu:/mnt/var/backup/CURRENT/etc# cat ./fstab (Note, I am a little unsure of those lines pointing to /dev/hda since I have replaced that disk and I am not using the same partitions). What is the best way to restore this? One method: 1) Install dapper to the disk. 2) From the live CD boot, update the dapper fstab to mount the old /var and /home. Copy over the backup /etc. 3) Boot into the new installation, run apt to update the system. Obviously, I am a little short on the details, but is this the way to go? If so, what is the command to force apt to glabally reinstall? If you know a good HOWTO for this, please let me know. I am looking around, but I haven't seen anything that involves backups for /var and /etc. Thanks! |
All times are GMT -5. The time now is 09:55 PM. |