:: Re: [DNG] Bootloaders (was: SystemD…
Góra strony
Delete this message
Reply to this message
Autor: Peter Olson
Data:  
Dla: dng, Rick Moen
Temat: Re: [DNG] Bootloaders (was: SystemD's brownie points over non-systemd OSs)
> On August 9, 2016 at 11:06 PM Rick Moen <rick@???> wrote:
>
> Quoting Peter Olson (peabo@???):
>
> > 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