Author: bdubbs Date: 2010-03-08 09:45:47 -0700 (Mon, 08 Mar 2010) New Revision: 1116
Modified: trunk/backing-up-lfs.txt Log: Correction to backup hint Modified: trunk/backing-up-lfs.txt =================================================================== --- trunk/backing-up-lfs.txt 2010-03-05 22:26:40 UTC (rev 1115) +++ trunk/backing-up-lfs.txt 2010-03-08 16:45:47 UTC (rev 1116) @@ -1,4 +1,4 @@ -AUTHOR: Mike McCarty [email protected] +AUTHOR: Mike McCarty Mike dot McCarty at sbcglobal dot net DATE: 2010-03-04 @@ -150,7 +150,7 @@ If you are not marking / as rw, and putting the backup in /home/var/backups, for example, you would use - # mount -n /dev/hda1 /boot + # mount -n -o ro /dev/hda1 /boot # mount -n /dev/hda5 /home In this case, you need the -n to prevent attempting to modify /etc/mtab @@ -315,7 +315,10 @@ your system up, and some of the details are in the LFS book. When you have your disc set up where it is ready to accept the restored files, then copy the restore scripts you intend to use, and use them to pull -all files back from the backup. You then need to reinstall and set up +all files back from the backup. Recreate any directories you have on +your system which are not on the backup proper, but are needed for +boot. This is usually just /dev, which you don't back up, but udev +needs in order to get set up. You then need to reinstall and set up your boot block, like GRUB, per its needs. At this point, you should have a bootable system. @@ -334,8 +337,9 @@ Include timestamped changes that have occurred in the hint. Add latest entries at the end. Entries in this section should be as follows: - * [YYYY-MM-DD] - * * Changed A - * * Changed B + * 2010-03-08 + * * slightly obfuscate e-mail address + * * fix error in mount of /dev/hda1 to indicate read only + * * add information about recreating some necessary directories + * which may not be present on the backup, but necessary for boot - -- http://linuxfromscratch.org/mailman/listinfo/hints FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
