Re: Grub: per Etch occorre modificare /etc/kernel-img.conf
Il giorno sab, 16/09/2006 alle 19.29 +0200, ambro ha scritto:
> In questo file mi trovo le seguenti righe:
> postinst_hook=/sbin/update_grub
> postrm_hook=/sbin/update_grub
> Sono queste le righe da eliminare ?
> Oggi ho fatto un upgrade, posso già fare la modifica al file?
Non vanno eliminate le righe ma va cambiato il percorso da /sbin a /usr/sbin.
csurchi@fry:~$ zcat /usr/share/doc/grub/NEWS.Debian.gz
grub (0.97-16) unstable; urgency=low
grub-install and update-grub has change location.
There's a wrapper available in /sbin to keep backward compatibility but
it'll be remove once Etch is release as stable. You _must_ edit your
/etc/kernel-img.conf and remove the full paths from it. For example:
,----[ /etc/kernel-img.conf ]
| ...
| postinst_hook = /sbin/update-grub
| postrm_hook = /sbin/update-grub
`----
Should be change to:
,----[ /etc/kernel-img.conf ]
| ...
| postinst_hook = /usr/sbin/update-grub
| postrm_hook = /usr/sbin/update-grub
`----
ciao
Christian
Reply to: