Re: emergency disks
"Mark W. Eichin" <firstname.lastname@example.org> writes:
>>Dirk.Eddelbuettel@qed.econ.queensu.ca writes ?
>>Does anyone in the audience have a good script for creating a boot/root
>>emergency disk set? I backup every night but should probably also have a set
>I found the install boot/root set to be fairly useful... given a
>second system to make floppies on if you need debugfs, for example.
I just created a third floppy with an ext2fs on it, and shoved a bunch of
binaries I need on it like vim, e2fsck, ls (if you really need it), dd, and so
on. Then, after the normal Debian boot/root duo, I execute a shell, mount
that third floppy on /mnt, change my PATH
and then do what I need to do.
Right now, that means deploying machines by dd'ing a 'pure' harddrive to an
empty one, editing the host-specific files, and moving on.
>Most Useful bit of Learning: 8195. Remember that number. (On a
>1024byte block size filesystem, that seems to be the default location
>for the first backup-superblock -- and fsck won't guess or tell you
I thought it was 8193, but I can't check right now.