> On August 9, 2016 at 11:06 PM Rick Moen <r...@linuxmafia.com> wrote:
> 
> Quoting Peter Olson (pe...@peabo.com):
> 
> > Of course, it is difficult to shoot yourself in the foot with GRUB ...
> > </sarcasm>
> > 
> > I have a machine in that state right now, and rather than try to debug
> > it at the Grub prompt, I am just going to reinstall the system.  My
> > data is all in another partition, so it is really the easiest way to
> > proceed.
> 
> Seriously, have you considered just booting a live CD, chrooting to the
> system root, looking around to find the filenames of the correct kernel
> binary and initrd, installing the lilo deb, constructing a minimal
> /etc/lilo.conf, and running '/sbin/lilo -v'?  It might be the painless
> alternative.
> 
> Something like:
> 
> prompt  
> boot=/dev/sda
> root=/dev/sda1
> map = /boot/map
> timeout = 50
> default = linux
> vga = normal
> 
> image = /boot/bzImage 
>         initrd=/boot/initrd.img
>         label  = linux
>         read-only

That would be a cool way to do it, but it's a machine where I work, so I would 
have to document it and support it (different from all our other machines).

Thanks for the advice though.  It could be helpful for others.

Peter Olson
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to