Comment 3 for bug 230331

Revision history for this message
Loïc Minier (lool) wrote :

Where do the "boot=disk" and "resume=/dev/sda3" come from in the initial menu.lst found in MIC generated images? This is the place that needs fixing.

From a quick grep, this is in libs/InstallImage.py, in apply_hd_kernel_cmdline(self). What this function does is that it changes the "kernel" commands in menu.lst, but doesn't change the place where the parameters are really defined ("# kopt=").

Instead, MIC should change "#kopt=" as shown above and should then call update-grub which will regenerate the "kernel" commands.