Installer doesn't change disk labels as appropriate

Bug #21655 reported by Michael Lynch
8
Affects Status Importance Assigned to Milestone
partman-basicfilesystems (Ubuntu)
Fix Released
Wishlist
Colin Watson

Bug Description

When installing Ubuntu from the installer CD, the installer doesn't change
ext2/3 labels as appropriate.

Example:
I had a partion that I previously had used as my /home partition.
When I installed Ubuntu I wanted to use this partion for other things instead of
/home. I mounted it as /business.
I first noticed this discrepency when an automated disc check took place upon
bootup and said that it was checking "/home" (which it wasn't).
While this may not be a huge problem, it can cause some confusion among new
users to Linux.

How to fix: Have the Installer/Partioner utilize e2label.

Notes: This may happen with similiar file systems as well, though I don't use
anything outside of FAT32 and EXT3 so I really have no idea.

Revision history for this message
Colin Watson (cjwatson) wrote :

The partitioner does set labels if you ask it to using the custom partitioning
mode, but not automatically. We have to be a little careful about doing this:
duplicate labels will cause boot problems for some operating systems. As a
result it's fiddly to do automatically, but perhaps we'll be able to do it some day.

Colin Watson (cjwatson)
Changed in partman-basicfilesystems:
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

My previous comment was completely wrong; I only just noticed that we do in fact pick up the default label from the mountpoint, but then we don't update that if you change the mountpoint.

I've had a request from the desktop team to stop setting default labels from mountpoints, which I agree with as the problems outweigh the benefits. That should resolve this bug.

Revision history for this message
Colin Watson (cjwatson) wrote :

partman-basicfilesystems (46ubuntu5) dapper; urgency=low

  * Don't use the mountpoint as a default label (closes: Malone #21655).

 -- Colin Watson <email address hidden> Wed, 3 May 2006 12:29:34 +0100

partman-ext3 (39ubuntu1) dapper; urgency=low

  * Don't use the mountpoint as a default label (closes: Malone #21655).

 -- Colin Watson <email address hidden> Wed, 3 May 2006 12:37:38 +0100

partman-jfs (15ubuntu1) dapper; urgency=low

  * Don't use the mountpoint as a default label (closes: Malone #21655).

 -- Colin Watson <email address hidden> Wed, 3 May 2006 12:40:00 +0100

partman-reiserfs (28ubuntu1) dapper; urgency=low

  * Don't use the mountpoint as a default label (closes: Malone #21655).

 -- Colin Watson <email address hidden> Wed, 3 May 2006 12:41:59 +0100

partman-xfs (27ubuntu1) dapper; urgency=low

  * Don't use the mountpoint as a default label (closes: Malone #21655).

 -- Colin Watson <email address hidden> Wed, 3 May 2006 12:43:48 +0100

Changed in partman-basicfilesystems:
status: Confirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

After a brief discussion on #debian-boot and being pointed to Debian bugs #310754, #315554, and #249041, I've applied these changes upstream too.

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.