Recovery disk using LVM2

Anton Markov anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Thu Mar 4 21:43:10 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> What's the purpose of recovery disks?  They hardly help if one
> accidentally deletes a file, or if a file system crashes because of the
> faulty hard drive. The only useful usage of recovery disks is rewriting
> of lilos's or grub's boot record after (re)installation of a poorly
> designed alternative OS, which doesn't recognize anything but its own
> stuff. All other problems are usually handled by journaling file systems.

Actually, if I accidentally delete a file, I will want to be able to
start the system RO or maybe not mount the root file system at all. I
know RO can be accomplished via a kernel parameter, but there are other
times that I may need to boot without the root partition. I have had
INIT and other important libraries fail, and I would like to have
something like a Mindi boot disk, or Redhat's "Recovery CD". Also, I
need something to let me restore from a Mondo backup disk, so I need to
be able to see and recreate LVM/DeviceMapper volumes.

> 
> Debian has `mkboot` utility for making boot floppies. There is a
> requirement - image kernel must fit 1.44 floppy, no initrd is allowed,
> otherwise they both exceed 1.44MB. Thus, compile your own minimal
> monolithic kernel and make a boot floppy with mkboot, pointing it to the
> "boot" kernel you've prepared.
I have had problems with custom kernels not working with the LVM setup.
 Apparently there is more to the new LVM system than kernel support.
Has anyone had any luck compiling a custom kernel to use the new LVM setup?


Thanks.

- -- 
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>

GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4

*** LINUX - MAY THE SOURCE BE WITH YOU! ***
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAR6L2RreNkzrRRLQRAl7lAJ91tc9L6Hg0UXKTc8KRitepud1dXQCfQZKx
RVi4ByyWautEMpD//7564mM=
=Krm/
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list