Roland wrote: > I would like to know if it is possible to continue restoring partitions > after having restored the root partition. > > The FAQ mentions that the new root filesystem should be ready enough so > you can reboot and continue restoring the rest of the filesystems in > single user mode. > > I tried to restore without rebooting but I get errors relating to > hardlinks when restoring the /usr partition.(I mount every partition to > /mnt and umount after every partition has been restored)
I really can't tell what you problem is from your report there. > Would mounting to /usr instead of /mnt be possible? > > The reason I ask this is because I try to make the disaster recovery > procedure as simple as possible, by booting a customized install cd with > an added restore script that uses fdisk and disklabel to recreate all > partitions based on the size of the new harddisk and uses restore to > retrieve the dumped partitions backups from tape. > > Can I avoid to reboot in single user mode? Almost certainly, but we'd have to know much more about what you are doing. Keep in mind: the install media (CD, floppy, bsd.rd) manages to boot the system and install everything without any mid-way reboots, so obviously it is possible using tar... On the other hand, the usual tape restore process for a lot of OSs is: 1) Load the basic OS to disk, Reboot 2) Load the backup/restore program, maybe reboot again, 3) Restore "everything else", reboot. so you aren't doing too bad even if you have to reboot mid-process. Nick.

