On Thu, Jun 26, 2003 at 01:29:26PM -0400, [EMAIL PROTECTED] wrote:

> 1) Is there some form of mkinitrd?  I need to create a ramdisk to load some
> modules (like reiserfs, evms, etc).  However I've installed stage1 and stage2
> and I don't see the program anywhere.

Hmm...  I always just build the stuff I need for booting into my kernel
rather than as modules, but I was surprised to see that mkinitrd doesn't
seem to exist nonetheless.

Fortunately mkinitrd is just a script.  You should be able to just copy
mkinitrd from another distribution (possibly requiring some edits).
Alternately emerge lvm-user and use lvmcreate_initrd.  Perhaps a better
solution is the LFS mkinitrd referred to in this post:

    http://forums.gentoo.org/viewtopic.php?t=17695

> 2) Is there a way to search the portage tree for a paticular program?  In this
> case it would be nifty if I could search for mkinitrd even if it is in a
> package that doesn't have the name in its title.

I think the -s and -S options to emerge may be what you are looking for.

> 3) I made a Raid 1 partition for /boot.  Can i do this and boot with grub?

I don't think so (md needs the linux kernel), but why even try?  Gentoo
wisely leaves /boot unmounted.  I have two drives in my system,
/dev/hda1 is my /boot partition.  I created /dev/hdb1 the same size as
/dev/hda1 and just use "dd if=/dev/hda1 of=/dev/hdb1 bs=8192b" to back
it up (while unmounted).  Kind of a poor man's raid1, but more than
sufficient for backing up something that changes as rarely as /boot
(only takes a few seconds to back it up, too).  [NOTE: wisest to only do
your backup immediately AFTER succesfully booting a new kernel!]

I'm in the process of putting together a disk-based backup scheme (tapes
are too much hassle, and drives are pretty cheap these days).  I use LVM
for everything except /boot so I can shrink/grow on demand.  (Actually,
I've still got root on /dev/hda5, but I plan to move it to a raid1
volume REAL SOON NOW... :-).

I've got drive space to burn (two 80GB drives) and wanted the
performance of raid0, but I also wanted to be able to survive a drive
failure: so I backup my raid0 volumes to (normally unmounted) raid1
volumes.  3X the drive space normally required (at least for the stuff I
backup) but, hey, it's darn fast.  :-)

Once I get things set up the way I like with completely automated
backups (and successfully simulate a drive failure and recovery) I'll
post my experiences to the documentation forum.

Regards,
-- 
Rex

--
[EMAIL PROTECTED] mailing list

Reply via email to