Subject: dpkg screws up GRUB's menu.lst Package: dpkg Version: 1.10.27 Severity: grave
Some time ago I moved my root partition from hda3 to hda5. All online tutorials advise to simply 1) boot into single user 2) copy the files around 3) chroot install-grub in the new partition
and that's what I did. Everything works, except when I install a new customized kernel with dpkg -i :
utumno:/home/leszek/deb# dpkg -i kernel-image-2.6.12-rc1-mm4_5_i386.deb Selecting previously deselected package kernel-image-2.6.12-rc1-mm4. (Reading database ... 77450 files and directories currently installed.) Unpacking kernel-image-2.6.12-rc1-mm4 (from kernel-image-2.6.12-rc1-mm4_5_i386.deb) ... Setting up kernel-image-2.6.12-rc1-mm4 (5) ... Searching for GRUB installation directory ... found: /boot/grub . Testing for an existing GRUB menu.list file... found: /boot/grub/menu.lst . Searching for splash image... none found, skipping... Found kernel: /boot/vmlinuz-2.6.11wireless Found kernel: /boot/vmlinuz-2.6.12-rc1-mm4 Found kernel: /boot/vmlinuz-2.6.11 Updating /boot/grub/menu.lst ... done
utumno:/home/leszek/deb# vim /boot/grub/menu.lst
(...)
title Debian GNU/Linux, kernel 2.6.12-rc1-mm4 root (hd0,4) kernel /boot/vmlinuz-2.6.12-rc1-mm4 root=/dev/hda3 ro savedefault boot
All other kernels I have installed also get 'root=/dev/hda3' passed.
I dont know if it is a bug in dpkg, grub or it is something I failed to do whilst moving the root partition. However, as I couldn't find
any info on how to inform dpkg about this change in Debian's manuals,
I am filing this bug.
-- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages dpkg depends on: ii dselect 1.10.27 a user tool to manage Debian packa ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
-- no debconf information
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]