Bug 5563

Summary: installer fails to upgrade if WinNT NTFS partition is present
Product: [Retired] Red Hat Linux Reporter: fromredhat
Component: installerAssignee: Jay Turner <jturner>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-05 15:27:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description fromredhat 1999-10-05 05:13:43 UTC
problem manifests in python installer script in /site-
packages/ directory

from todo.py

...
    def upgradeFindRoot (self):
        rootparts = []
        if not self.setupFilesystems: return [
self.instPath ]
        win = self.intf.waitWindow (_("Searching"),
                                    _("Searching for Red
Hat Linux installations..."))

        drives = self.drives.available ().keys ()
        self.ddruid = FakeDDruid ()
        for drive in drives:
            isys.makeDevInode(drive, '/tmp/' + drive)

            try:
                table = _balkan.readTable ('/tmp/' + drive)
            except SystemError:
                pass
            else:
                self.ddruid.append (drive, table)
                for i in range (len (table)):
                    (type, sector, size) = table[i]
                    # 2 is ext2 in balkan speek
                    if size and type == 2:
...

balkan returns type == 2 for NTFS volumes, thus the rest of
this function will attempt to mount the partition and fail
out when that doesn't work. Need to fix balkan or whatever
to return a different value for NTFS or otherwise check the
partition type before trying to mount it. Oh yes - "speek"
is, oph kourse, speeled "speak" :-)

-greg

Comment 1 Bill Nottingham 1999-10-05 15:27:59 UTC
*** This bug has been marked as a duplicate of 5567 ***