Bug 78082 - RFE: Add unique text to partition labels
Summary: RFE: Add unique text to partition labels
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 8.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2002-11-18 20:44 UTC by Jay Fenlason
Modified: 2014-08-31 23:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Last Closed: 2002-11-19 19:19:44 UTC

Attachments (Terms of Use)

Description Jay Fenlason 2002-11-18 20:44:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)

Description of problem:
When I move a Red Hat Linux root disk from one machine to be a secondary disk on another Red Hat Linux machine, the boot process often mounts the wrong disk as /.  Chaos ensues.  If instead of using "LABEL=/" the installer used "LABEL=/_XYZZY" (with XYZZY chosen randomly at install time), I wouldn't have to hand-edit my /etc/fstab before moving disks.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Move a root disk (sd0) onto a machine with it's root on hd0.
3. (if you're lucky) observe the kernel panic when it mounts the wrong root.

Additional info:

Comment 1 Bill Rugolsky, Jr. 2002-11-19 19:19:38 UTC
You can change the label yourself with "tune2fs -L $label $device",
either on each system, or prior to moving the device elsewhere.
The latter is of course not helpful if you are moving the because
the machine to which it is attached it broken; in that case, it
should be done by prior arrangement, or you should hot-add the
device after booting.

You could also mount everything by UUID.

Comment 2 Jeremy Katz 2002-11-19 19:56:33 UTC
The goal isn't to allow people to move disks between machines, it's to make it
so that adding more SCSI adaptors doesn't completely hose you.  Additionally,
using random labels or UUID makes it even less easy to use for the user.

Comment 3 Michael Fulbright 2002-12-20 17:38:25 UTC
Time tracking values updated

Note You need to log in before you can comment on or make changes to this bug.