Your message dated Thu, 22 Feb 2007 20:55:30 -0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#412021: grub fails to cope with '/boot' on different
partition to '/'
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: grub
Version: 0.97-23
Severity: critical
Justification: breaks the whole system
My /boot partition is on /dev/hda11, so in menu.lst it says: root (hd0,11)
update-grub trashes that and resets each case to: root (hd0,0)
This happens whenever a new kernel is installed and it leaves the system
unbootable. My workaround is to manually edit
menu.lst after each time a new kernel is installed and before rebooting.
baron:/boot/grub# grep -v -e '^$' -e '^#' menu.lst
default 0
timeout 5
color cyan/blue white/blue
title Debian GNU/Linux, kernel 2.6.18.baron.20070221.0915
root (hd0,11)
kernel /vmlinuz-2.6.18.baron.20070221.0915 root=/dev/hda1 ro
initrd /initrd.img-2.6.18.baron.20070221.0915
savedefault
title Debian GNU/Linux, kernel 2.6.18.baron.20070221.0915
(single-user mode)
root (hd0,11)
kernel /vmlinuz-2.6.18.baron.20070221.0915 root=/dev/hda1 ro single
initrd /initrd.img-2.6.18.baron.20070221.0915
savedefault
title Debian GNU/Linux, kernel 2.6.18-custom.01
root (hd0,11)
kernel /vmlinuz-2.6.18-custom.01 root=/dev/hda1 ro
initrd /initrd.img-2.6.18-custom.01
savedefault
title Debian GNU/Linux, kernel 2.6.18-custom.01 (single-user mode)
root (hd0,11)
kernel /vmlinuz-2.6.18-custom.01 root=/dev/hda1 ro single
initrd /initrd.img-2.6.18-custom.01
savedefault
title Debian GNU/Linux, kernel 2.6.18-3-686
root (hd0,11)
kernel /vmlinuz-2.6.18-3-686 root=/dev/hda1 ro
initrd /initrd.img-2.6.18-3-686
savedefault
title Debian GNU/Linux, kernel 2.6.18-3-686 (single-user mode)
root (hd0,11)
kernel /vmlinuz-2.6.18-3-686 root=/dev/hda1 ro single
initrd /initrd.img-2.6.18-3-686
savedefault
title Debian GNU/Linux, kernel 2.6.17-2-686
root (hd0,11)
kernel /vmlinuz-2.6.17-2-686 root=/dev/hda1 ro
initrd /initrd.img-2.6.17-2-686
savedefault
title Debian GNU/Linux, kernel 2.6.17-2-686 (single-user mode)
root (hd0,11)
kernel /vmlinuz-2.6.17-2-686 root=/dev/hda1 ro single
initrd /initrd.img-2.6.17-2-686
savedefault
baron:/boot/grub# cp menu.lst menu.lst.save
baron:/boot/grub# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /vmlinuz-2.6.18.baron.20070221.0915
Found kernel: /vmlinuz-2.6.18-custom.01
Found kernel: /vmlinuz-2.6.18-3-686
Found kernel: /vmlinuz-2.6.17-2-686
Updating /boot/grub/menu.lst ... done
baron:/boot/grub# diff menu.lst.save menu.lst
119c119
< root (hd0,11)
---
> root (hd0,0)
125c125
< root (hd0,11)
---
> root (hd0,0)
131c131
< root (hd0,11)
---
> root (hd0,0)
137c137
< root (hd0,11)
---
> root (hd0,0)
143c143
< root (hd0,11)
---
> root (hd0,0)
149c149
< root (hd0,11)
---
> root (hd0,0)
155c155
< root (hd0,11)
---
> root (hd0,0)
161c161
< root (hd0,11)
---
> root (hd0,0)
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.baron.20070221.0915
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages grub depends on:
ii libc6 2.3.6.ds1-11 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
grub recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
[EMAIL PROTECTED] writes:
> On Fri, Feb 23, 2007 at 09:23:22AM +1100, Jason Thomas wrote:
>> Your changing (hd0,?) in the wrong place. Look a little higher up in
>> the menu.lst file.
>>
>> The entries you are changing are regenerated every time update-grub is
>> run.
>
> Arggh! You are quite right... I needed to change:
> # groot=(hd0,0)
>
> to:
> # groot=(hd0,11)
>
> This bug can be closed. But I hope it serves a place to help others
> who may make the same mistake.
Closing it.
--
O T A V I O S A L V A D O R
---------------------------------------------
E-mail: [EMAIL PROTECTED] UIN: 5906116
GNU/Linux User: 239058 GPG ID: 49A5F855
Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
you the whole house."
--- End Message ---