← Back to team overview

sslug-teknik team mailing list archive

Re: Diverse: UBUNTU 10.04 GRUP bootmanager

 

Michael Schmidt wrote:
Den 10.05.2010 kl. 23:13 skrev Jørgen Heesche <heesche@xxxxxxxxxxx>:

<klip>

  - tillad mig at korrekse...og skæld mig blot ud, hvis det jeg siger
alligevel ikke er rigtigt :-)
 - U10.04 anvender GRUB2 og ikke standard legacy GRUB.
 - der findes mig bekendt ikke nogen menu.lst i GRUB2.
Se https://wiki.ubuntu.com/Grub2
I grub2 må det være filen /boot/grub/grub.cfg der svarer til menu.lst
Ja men med et lille "men". Fra https://wiki.ubuntu.com/Grub2#grub.cfg :
"DO NOT EDIT THIS FILE This is the main Grub 2 file. It "replaces" Grub Legacy's /boot/grub/menu.lst. This file contains the Grub menu instructions. Unlike Grub Legacy's menu.lst file, grub.cfg is NOT MEANT TO BE EDITED!!! * grub.cfg is automatically generated or updated whenever "update-grub" is executed. The command must be run as root. * The scripts used to generate grub.cfg include the files contained in /etc/grub.d and information gathered from /etc/default/grub
... "

Manuelle tilføjelser til "menu.lst", der jo ikke er der mere, skal tilsyneladende laves i '/etc/default/grub'
Fra https://wiki.ubuntu.com/Grub2#grub :
"This file contains information previously found in the upper section of /boot/grub/menu.lst. It contains settings primarily affecting Grub's menu display. This file can be edited by root to make changes to these settings; they will be imported into grub.cfg when "update-grub" is executed."

Se også:
http://www.dedoimedo.com/computers/grub-2.html#mozTocId920681

/etc/default/grub - This file contains the GRUB menu settings that are read by the GRUB scripts and written into grub.cfg. It is the customization part of the GRUB, similar to the old menu.lst, except the actual boot entries.

Jeg har desværre i et tidligere indlæg her i tråden opfordret til at rette i grub.cfg
Det er, ser jeg nu, forkert.





--
Med venlig hilsen

Jørgen Heesche
mailto:heesche@xxxxxxxxxxx


References