[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kinit/resume - what's it mean? how to boot from failed sys??



On Fri, 2008-03-21 at 08:09 -0700, Daniel Burrows wrote:
> On Thu, Mar 20, 2008 at 08:30:08PM +0000, michael <cs@networkingnewsletter.org.uk> was heard to say:
> > Thanks for the ideas (eg using liveCD etc)... in the end from initramfs
> > I created /tmp/boot, told dmraid to not activate, and then mounted the
> > (known) /dev/hdaN partition as /tmp/boot and renamed the errant
> > (non-working dmraid)  initrd.img-${KERNEL} to ${WHATEVER} and renamed
> > the initrd.img.${KERNEL}.bak (that presumably dmraid had created) to
> > initrd.img and did a reboot so it picked up the old, working initrd
> > image and away I went to the working system (then apt-get remove dmraid)
> 
>   If you're using grub, you can avoid some of those steps by just
> adjusting the boot script (type "e" at the boot menu and change the
> initrd that gets loaded).

true, but since I didn't know what was happening in /boot let alone
initrd names I had to mount it first but thanks for pointing out one can
temp amend Grub boot options


Reply to: