Bug 5688

Summary: BUG + Solution: RedHat 6.1 upgrade fails when an NTFS partition is found
Product: [Retired] Red Hat Linux Reporter: udif
Component: installerAssignee: Jay Turner <jturner>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-07 18:01:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description udif 1999-10-07 17:35:29 UTC
If you upgrade your system, redHat 6.1 will crash if the
installer encounters an NTFS partition before it finds your
root partition, (I have an NTFS partition on /dev/sdb5 and
my root is /dev/sdb6, for example).

The bug is in /misc/src/anaconda/balkan/dos.c, where
you guys forgot a "break" instruction after line 141:

	    switch (table->parts[i].type) {
	      case 0x01:
	      case 0x04:
	      case 0x06:
	      case 0x0b:
	      case 0x0c:
	      case 0x0e:
	      case 0x0f:
		table->parts[i].type = BALKAN_PART_DOS;
		break;

	      case 0x7:
		table->parts[i].type = BALKAN_PART_NTFS;
+               break;    // <<<<<<<<<<<<<<< add this!

	      case 0x83:
		table->parts[i].type = BALKAN_PART_EXT2;
		break;

Comment 1 Bill Nottingham 1999-10-07 18:01:59 UTC
*** This bug has been marked as a duplicate of 5567 ***