Bug 42735 - Anaconda doesn't stop with type 0 partitions present
Summary: Anaconda doesn't stop with type 0 partitions present
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.1
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-29 20:05 UTC by Jeremy Fitzhardinge
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-29 20:05:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeremy Fitzhardinge 2001-05-29 20:05:54 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.4 i686; en-US; 0.8.1) Gecko/20010421

Description of problem:
Early on in the install process, anaconda warns about type 0 partitions on
hda (holes left there by Partition Magic).  It says it cannot proceed, but
does so anyway.  Later, when configuring LILO, it crashes because there are
no partitions in its list of bootable partitions, and it dies with an array
out of bounds exception.

How reproducible:
Always

Steps to Reproduce:
1.create a type 0 partition
2.try to install.  Carry on after warning about type 0 partitions
3.try to configure LILO
	

Actual Results:  LILO configuration crashes with an array bounds exception
and the system reboots

Expected Results:  Either:
- installation should cope with type 0 partitions (what's the problem?)
- installation should cleanly stop when it detects them

Additional info:

I worked around it by using Partition magic to create a couple of ext2
filesystems in the gaps.  The installer was happy with this.

Comment 1 Brent Fox 2001-05-29 21:51:55 UTC
I don't know exactly what the problem is.  I don't have Partition Magic, but I
tried making type 0 partitions with fdisk.  I get a message saying:

"Type 0 means free space to many systems (but not to Linux).  Having partitions
of type 0 is probably unwise.  You can delete a partition using the 'd' command.
Changed system type of partition 1 to 0 (Empty)"

The entire partitioning subsystem is being re-engineered, so this problem will
be addressed in a future release.  Thanks for your report.


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