Stoopid but pressing backup question

Mikkel L. Ellertson mikkel at infinity-ltd.com
Fri Dec 14 15:39:40 UTC 2007


craigni wrote:
> 
> I get this stuff
> 
> ls /mnt/f7
> config-2.6.21-1.3194.fc7      lost+found
> config-2.6.22.9-91.fc7        System.map-2.6.21-1.3194.fc7
> grub                          System.map-2.6.22.9-91.fc7
> initrd-2.6.21-1.3194.fc7.img  vmlinuz-2.6.21-1.3194.fc7
> initrd-2.6.22.9-91.fc7.img    vmlinuz-2.6.22.9-91.fc7
> 
> So I imagine there are files, I expect in the boot sector, that
> are important to backup and restore.
> 
> So my current questions are:
> What are those files?
> How do I back them up?
> How do I restore them?
> Does this strategy of restore the boot sector, mount the external
> disk with the rsync'd system, then rsync back to the new system
> disk, make sense?
> 
> Many TIA,
> Craig
> 
lost+found - This is a directory that is created with the file
system. It is used when repairing a file system, and does not need
to be backed up.

grub - This is a directory that has all the files Grub uses to boot
to the Grub menu, and load the selected OS.

The config-*, initrd-*, System.map-*, and vmlinuz-* are the
different kernels, and the files that go with them.

Your backup plan should work. But you may want to consider using
grub-install to restore the boot sector, and rebuild the /boot/grub
directory. This will insure that the Grub first stage knows where to
find the next stage.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071214/c14a3b32/attachment-0001.sig>


More information about the fedora-list mailing list