On 10/7/07, Giorgos D. Pallas <[EMAIL PROTECTED]> 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]