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

Bug#445615: linux-image-2.6.22-2-686: package broke my grub menu.lst file



CC: 445615@bugs.debian.org

Do NOT remove the bug e-mail address from a reply if you want to be
fixed. It's the only way to keep track.

On 10/7/07, Giorgos Pallas <gpall@ccf.auth.gr> wrote:
> Teodor wrote:
> > On 10/7/07, Giorgos D. Pallas <gpall@ccf.auth.gr> wrote:
> >
> >> Package: linux-image-2.6.22-2-686
> >> Version: 2.6.22-4
> >> Severity: grave
> >> Justification: renders package unusable
> >>
> >> I had a custom built kernel (2.6.20.10).
> >> This was the conf in the menu.lst file:
> >>
> >> title           Debian GNU/Linux, kernel 2.6.20.10
> >> root            (hd0,1)
> >> kernel          /boot/vmlinuz-2.6.20.10 root=/dev/hda2 ro
> >> savedefault
> >>
> >> After installing the stock kernel (linux-image-2.6.22-2-686) this configuration was changed to:
> >>
> >>
> >> title           Debian GNU/Linux, kernel 2.6.20.10
> >> root            (hd0,2)
> >> kernel          /boot/vmlinuz-2.6.20.10 root=/dev/hda3 ro
> >> savedefault
> >>
> >> And of course the system could not boot since it is installed in the second partition (/dev/hda2).
> >>
> >> The configuration which the stock kernel package generated for it self was also wrong (it pointed to /dev/hda3, instead of the correct /dev/hda2).
> >>
> >> So, I had to manually edit /boot/grub/menu.lst in order to change all (hd0,2) back to (hd0,1) and all hda3 back to hda2.
> >>
> >> I can't really guess why it thought that the system is installed on /dev/hda3...
> >>
> >
> >
> > Search this paragraph in /boot/grub/menu.lst:
> >
> > ## ## 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_2_6_8=root=/dev/hdc1 ro
> > ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
> > # kopt=root=
> >
> >
> > Show us the last line you from the above paragraph. This has nothing
> > to do with the 'linux-image', but with the 'update-grub' tool.
> >
>
>
> Guys, sorry to have bothered you with my eh, inability to understand how
> the update-grub tool works... Indeed, the menu.lst file had
> # kopt=root=/dev/hda3 ro
> # groot=(hd0,2)
>
> and that's why my system became unbootable. You must admit though that
> an option which is commented out, taking active part  in the behaviour
> of a tool, is rather unusual... Again sorry!


In this case the bug #445615 should be closed? Can anyone do this?




Reply to: