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

Re: Grub dilemma



* Osamu Aoki <osamu@debian.org> 18.10.2008
 
> This is for grub package /boot/grub/menu.lst.  If you are installing
> grub-pc, you have /boot/grub/grub.cfg
> 
> menuentry "Debian GNU/Linux" {
>         set root=(hd0,1)
>         linux /vmlinuz root=/dev/sda1 ro
>         initrd /initrd.img
> }

Hello Osamu,

these are the first lines in my /boot/grub/grub.cfg on Debian

# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub

So I think it's not the right way to edit /boot/grub/grub.cfg. Better
edit the templates in /etc/grub.d and then run "update-grub".

Just my 2 cents
Michael

-- 
"Every production of genius must be the production 
 of enthusiasm."
                --Benjamin Disraeli 


Reply to: