Bug#338371: What is wrong?

Otavio Salvador otavio at debian.org
Thu Nov 10 12:21:59 UTC 2005


Hello,

I didn't understand what update-grub did wrong. kopt comment express
exactly what it intend to do and looks like it did its job.

If you want to have a different root entry, you should fix  the
menu.lst comments. For example, in my i386 system I have:

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda2 ro vga=791

and update-grub worked fine. It made the following entry:

## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.14-1-k7
root            (hd0,0)
kernel          /vmlinuz-2.6.14-1-k7 root=/dev/hda2 ro vga=791 <= LOOK HERE
initrd          /initrd.img-2.6.14-1-k7
savedefault
boot

As you can see, update-grub used the kopt comment to fill the need
option to my kernel.

Please, explain what you did, and maybe, include your menu.lst file to
me be able to see what and why it fail.

Thanks

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://www.freedom.ind.br/otavio
---------------------------------------------
"Microsoft gives you Windows ... Linux gives
 you the whole house."




More information about the Pkg-grub-devel mailing list