| Summary: | Grub restart option does not parse menu.lst file correctly | ||
|---|---|---|---|
| Product: | [Unmaintained] kdm | Reporter: | Thomas De Schampheleire <kdebug> |
| Component: | general | Assignee: | kdm bugs tracker <kdm-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | fix. compiles, but otherwise totally untested. | ||
Created attachment 15992 [details]
fix. compiles, but otherwise totally untested.
fixed for kde 3.5.5 and 4.0 |
Version: (using KDE KDE 3.5.2) Installed from: Slackware Packages OS: Linux In the restart-dropdown menu of KDE (after telling KDE I use grub) only those Grub-entries are showed whose 'title' attribute starts at the beginning of the line, and not if there is any whitespace before it. For example, using the following menu.lst file: ------------------------------------ title Linux 2.6.15-mod root (hd0,4) kernel /boot/bzImage-Antarctica-2.6.15-mod root=/dev/hda5 ro title Linux 2.6.15 root (hd0,4) kernel /boot/bzImage-Antarctica-2.6.15 root=/dev/hda5 ro title Linux 2.6.14-2 root (hd0,4) kernel /boot/bzImage-Antarctica-2.6.14-2 root=/dev/hda5 ro #Windows title Windows rootnoverify (hd0,0) chainloader +1 makeactive ------------------------------------- only the linux-2.6.15 and windows entries would be displayed in the restart drop-down menu. The two other entries do no appear due to the whitespace before their title. When I remove the whitespace, KDE displays it correctly. Grub itself however does not have any problems whatsoever with this indentation, so I believe this should be qualified as a bug.