Grub Upgrade procedure Overwrites Menu.lst

Bug #183693 reported by Kevin DuBois
2
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Invalid
Undecided
Parthan SR

Bug Description

Binary package hint: grub

I have a custom LFS based system sitting on another partition in my laptop. whenever i upgrade grub, the entry in menu.lst for my custom distro disappears. Perhaps, the upgrade process should assume that any modifications are there on purpose

Revision history for this message
Parthan SR (parth-technofreak) wrote :

hank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately your description didn't include enough information.

* Which version of Ubuntu are you using?
* Is this problem reproducible?
* If yes, what are the steps to reproduce the problem?

This will help us to find and resolve the problem.

Changed in grub:
assignee: nobody → parth-technofreak
status: New → Incomplete
Revision history for this message
Kevin DuBois (kdub) wrote :

The specific hard drive setup is

sda1 --- / (for ubuntu), contains the /boot directory that the MBR looks at first
sda2 --- swap
sda3 --- /home
sda4 --- / (for my LFS)

Revision history for this message
Tollef Fog Heen (tfheen) wrote : Re: [Bug 183693] Grub Upgrade procedure Overwrites Menu.lst

* Kevin DuBois

| I have a custom LFS based system sitting on another partition in my
| laptop. whenever i upgrade grub, the entry in menu.lst for my custom
| distro disappears. Perhaps, the upgrade process should assume that any
| modifications are there on purpose

This sounds like you have your LFS entry inside the:

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

[...]

### END DEBIAN AUTOMAGIC KERNELS LIST

section. If so, don't do that; put it outside and all should be good.

--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Revision history for this message
Kevin DuBois (kdub) wrote :

This is indeed the problem. Thanks, it looks like we can close this bug

Changed in grub:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.