Date: Mon, 19 Feb 2007 16:29:52 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-questions@FreeBSD.ORG, knizek@volny.cz Subject: Re: Backup using dump and restore from dvd - restore cd loaded to ram ?drive? Message-ID: <200702191529.l1JFTqnI072474@lurza.secnetix.de> In-Reply-To: <85498fe9045f9a3cc8170fbca19a9787@www1.mail.volny.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
knizek@volny.cz wrote: > [...] > The restore method will then require to boot from a bootable CD. The > rescue CD system should load itself into RAM drive, so that I can dismount > it and replace it with the CD/DVDs with the backup files. > > The rescue CD should provide basic commands and programs like mount*, > newfs, bsdlabel, fdisk, vi, restore, gzip, ... > > I have tried the installation CD with FreeBSD 6.2, but its "holographic" > shell does not have the commands needed and the FixIt shell depends > on the CD. Building such a bootable CD is possible (I've done it), but it's not easy. Bascially you have to do it similar to the FreeBSD install CD. I suggest you have a look at it. What you have to do is prepare a kernel for the CD which has the MD_ROOT option, so it can use an "mfs image" as the root file system. The create such an image and put it onto the cd. On the FreeBSD install CD it is located in /boot/mfsroot.gz (you can uncompress it and then mount it via mdconfig). Actually you should be able to make a bigger mfsroot image and add the tools that you need. However, be aware that the image will eat up physical RAM, so don't be too wasteful. A simpler solution for your restore problem would be to simply use a standard FreeBSD installation CD, then make a minimal installation on your hard disk so you have all the tools that you need, then restore your actual backups. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C++ is to C as Lung Cancer is to Lung." -- Thomas Funke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702191529.l1JFTqnI072474>