Alle 14:25, venerdì 15 aprile 2005, destefano@lispa.it ha scritto: > al successivo riavvio non mi vede le kernel image nuove e lascia invece > nella lista quelle rimosse Non so se fa al caso tuo, ma io ho fatto così (debian sid, ma non credo faccia ifferenza): After you've installed grub, run "grub-install /dev/hda" (substitute your boot device for "/dev/hda"). Then run "update-grub". Edit /boot/grub/menu.lst and substitute your defaults on the "#groot" and "#kopt" lines (and any other lines you need for your situation). Run "update-grub" again. Create the file /etc/kernel-img.conf and insert the following lines: postinst_hook=/sbin/update-grub postrm_hook=/sbin/update-grub Now whenever you install a new kernel image, update-grub will scan your /boot directory, inventory the kernels there, and write a new boot menu. If you took my suggestion and used "--append-to-version=.yymmdd", your kernels will be sorted by kernel version and date. The grub default is to start the first kernel in the list (your newest kernel), unless you choose a different one before the menu times out. When you remove a kernel, update-grub will remove its entry from the boot menu. Ciao. -- Dio, quando ama, chiama. Quando dona, chiede. -- Luigi Sartori
Attachment:
pgpLxW38_wLRW.pgp
Description: PGP signature