Bug 5507

Summary: Installer fails because of misdetected NTFS-partitions
Product: [Retired] Red Hat Linux Reporter: ville.sulko
Component: installerAssignee: Jay Turner <jturner>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
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-05 18:55:21 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 ville.sulko 1999-10-04 19:51:45 UTC
Anacondas balkan falls through in NTFS-patrition detection,
which causes NTFS-partitions to be detected as EXT2. This in
turn breaks the install in upgradeFindRoot, causing a jammed
upgrade. Fix by adding the missing 'break' statement into
.../misc/src/anaconda/balkan/dos.c line #142 (I think! :).


------- Additional Comments From   10/05/99 06:19 -------
I can confirm this problem (hda1 is NTFS, anaconda stops and hangs
there while searching my root fs for upgrading).

Comment 1 Trond Eivind Glomsrød 1999-10-05 11:58:59 UTC
Here is a patch, which should apply to bugs 5507, 5555, 5563, 5552 and
5567 (making changes to several of these at once didn't work).

A break statement is missing after detecting a NTFS-partition, thus
identifying it as an EXT2FS-partition.
--- /mnt/cdrom/misc/src/anaconda/balkan/dos.c   Sat Sep 11 17:47:28
1999
+++ dos.c       Tue Oct  5 13:34:16 1999
@@ -139,6 +139,7 @@

              case 0x7:
                table->parts[i].type = BALKAN_PART_NTFS;
+               break;

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






------- Additional Comments From   10/05/99 08:48 -------
I just run into the same bug on the 6.1 Cartman.
hda1 is NTFS, install stops, complains something like no ext2fs on
hda1, and hangs.

Also, seen on colleagues machine: hda1 was an old swap partition,
install (Cartman) complained of lack of space, and kept trying to
format the / partition... Sorry, no precise details on this. Related?



   Heikki Levanto, Index Data, Denmark
   heikki

Comment 2 Bill Nottingham 1999-10-05 18:55:59 UTC
*** This bug has been marked as a duplicate of 5567 ***