I recently installed gentoo with lvm2 for my root partition and a
separate data partition.  Everything works wonderfully when I cleanly
umount and either reboot or poweroff my system; however, hard reboots
gives me an error about the root device not being available (because
it hasn't been fsck'ed).  I'm then left with a 'boot:' prompt and type
'shell' which drops me into ash with very few utils.

If I run the following string of commands frome the live cd, I can
reboot without any problem.

# vgscan && vgchange -a y && jfs_fsck /dev/vga/root && jfs_fsck
/dev/vga/video && reboot

Here's what I'm looking for:
I'd like to know if there is a prebuilt rescue kernel that would drop
me into either an ramdisk environment or my /boot partition with the
tools listed above.  My cdrom is only temporarily installed otherwise,
I would probably just use the livecd on the rare occasions of bad
poweroff.  I've googled for rescue kernels and tried grabbing the
kernel from the livecd but none dropped me into a prompt.  My
bootloader is grub and my boot partition is ext2 if that is important.
 Thank you for your time.

-- Travis Osterman

--
[email protected] mailing list

Reply via email to