jaunty install: formatting root partition changes uuid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: ubiquity
Attempting to install Xubuntu Jaunty to replace an existing Kubuntu Intrepid.
Because the install was a total failure (separate bug raised) I had to restore from my backups. However, having done so and attempted to reboot, Grub failed with "error 15 file not found".
After spending a lot of time trying to reinstall Grub and not getting anywhere, I spotted that the UUID of my root partition had been changed by the install process, so not surprisingly, the UUID in menu.lst was incorrect. Editing this file allowed my computer to boot into the restored system.
I would suggest that this shows that changing the UUID of filesystems during installation is an undesirable behaviour.
UUID is an UNIQUE identifier by definition, don't you think so? Hence, if you re-format partition it MUST change or UUID will make no sense. That's how it works - by design. Reformatting created DIFFERENT, new unique filesystem. Hence, UUID should get changed as well.
But I have to admit that menu.lst probably should be re-generated with new UUID by installer in such cases and this still could be a bug if installer does not generated boot strings correctly.