Ensure partition types are correct when manually partitioning (otherwise grub may fail to install)

Bug #386567 reported by Sylvain Pasche
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

I made room for an ext3 partition where I wanted to install Ubuntu 9.10, but for some reason the partition type was incorrect (not sure if gparted failed, or if another OS I installed before updated the partition table, but the future ext3 partition was flagged as "Compaq diagnostics" (12)).

I chose to install "/" on that partition formatted as ext3 and all went well until the grub installation which failed with the message:
Executing 'grub-install (hd0)' failed. This is a fatal error.

In the log, I can see the message:
The file /boot/grub/stage1 not read correctly.

Apparently, grub can't locate the boot partition if it's partition type isn't "83 Linux".

After fixing the partition type, the installation went well.

In order to avoid such issues, it would be useful if the partitioner could check that the partition type corresponds to the file system that is going to be installed. Ideally there should be an option to fix that, or at least warn the user that the installation is going to fail.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

Grub ( and linux in general ) don't care what the partition type is.

Changed in ubiquity (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.