security upgrade rewrites partition table and leaves machine unbootable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
An automatic security upgrade today left my machine unbootable. (hd0,5) became (hd0,4), but /boot/grub/menu.lst wasn't changed accordingly. Naturally all the UUIDs are completely messed up as well.
I know I have reported similar occurrences a number of times in the past, although I am having trouble finding my previous bug reports. However I don't remember being notified of any follow ups to these reports, so obviously this problem is not being taken seriously.
Basically if there is a kernel upgrade chances are that some problem like this will occur. So long as I am around then at least there is someone who knows how to edit grub entries and get the machine booting. Otherwise the family computer suddenly becomes useless and nobody knows what to do about it. Since I am going to be away from home for long periods in the near future we will have no alternative but to ditch Linux and use a Mac. If you do not think this is a critical issue then what is?
The log for the latest upgrades is as follows:
Log started: 2007-12-17 20:09:12
(Reading database ... 199029 files and directories currently installed.)
Removing xserver-xgl ...
Log ended: 2007-12-17 20:09:26
Log started: 2007-12-19 09:28:12
(Reading database ... 199011 files and directories currently installed.)
Preparing to replace linux-image-
Done.
Unpacking replacement linux-image-
Running postrm hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Preparing to replace linux-image-
Done.
Unpacking replacement linux-image-
Running postrm hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Preparing to replace linux-image-
Done.
Unpacking replacement linux-image-
Running postrm hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-headers-
Unpacking replacement linux-headers-
Preparing to replace linux-libc-dev 2.6.22-14.46 (using .../linux-
Unpacking replacement linux-libc-dev ...
Preparing to replace smbfs 3.0.26a-1ubuntu2.2 (using .../smbfs_
Unpacking replacement smbfs ...
Preparing to replace smbclient 3.0.26a-1ubuntu2.2 (using .../smbclient_
Unpacking replacement smbclient ...
Preparing to replace samba 3.0.26a-1ubuntu2.2 (using .../samba_
* Stopping Samba daemons... [ OK ]
Unpacking replacement samba ...
Preparing to replace samba-common 3.0.26a-1ubuntu2.2 (using .../samba-
Unpacking replacement samba-common ...
Preparing to replace libsmbclient 3.0.26a-1ubuntu2.2 (using .../libsmbclien
Unpacking replacement libsmbclient ...
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Running postinst hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Running postinst hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.22-14.46 was configured last, according to dpkg)
Running postinst hook script /sbin/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: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-libc-dev (2.6.22-14.47) ...
Setting up samba-common (3.0.26a-
Setting up smbfs (3.0.26a-
Setting up smbclient (3.0.26a-
Setting up samba (3.0.26a-
* Starting Samba daemons [ OK ]
Setting up libsmbclient (3.0.26a-
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Log ended: 2007-12-19 09:37:57
root@brian:
I was affected by this too. hd(0,0) became hd(1,0). Bad news if you are not familiar with grub....I also want to avoid a Mac if I can help it :-)