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

Re: grub list non cambia i kernel che scarico



Michele Faresin <mi.fare@inwind.it>
15/04/2005 20.36
 
        Per:    debian-italian@lists.debian.org
        Cc: 
        Oggetto:        Re: grub list non cambia i kernel che scarico


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

proverò a fare questo
ieri invece ho provato ad aggiungere il nome della kernel image e dove 
punta nel menu.lst di grub sia in debian (sarge) che ubuntu (hoary)
ma quando riavvio i kernel sono sempre gli stessi
ciao e grazie

Attachment: att03icn.dat
Description: Binary data


Reply to: