Stew Benedict wrote:

>>Ok, I'm back on it again :).  I had already brute forced this with a 
>>simple $type = "dos".  Now I still get a "warning: bad magic number at 
>>/usr/bin/perl-install/partition_table_emtpy.pm line 31."  It looks like 
>>this code is looking for a zero block on the drive but I don't see 
>>offhand where it is called....
>>
>>BTW, it does say it found a dos partition table at sector 0, but they 
>>may be simply due to my hack.  I haven't read the code close enough to 
>>know for sure.
>>
>
>Does that warning stop the process?  I'm pretty sure I've seen that on a
>regular Apple machine too, with no ill effects.
>
Hmm...good point.  It does go on (briefly).  It gives the same exact 
warning for /dev/sdb and also says it found a valid partition table at 
sector 0 (repeat of /dev/sda msgs).  Finally it says:

* error reading partition table: partitions sector #1040187392 (1TB) and 
sector #815466240 (470GB) are overlapping!

These are both 2GB drives (same model).  It doesn't say which drive it 
couldn't read but I suspect it is back to /dev/sda again.  Note that 
fdisk -l /dev/sda and fdisk -l /dev/sdb show perfectly good tables.

So I ALT-F2 and manually clear both partition tables with fdisk.   Then 
I rebooted the installer.  This time it got through and suggested some 
default partitions (the log shows "solutions found: Use free space (all 
solutions found: Use free space)\n* solutions: 1\nHERE: Use free space", 
etc.  I don't recall the sizes, but it chose a reasonable '/' and swap 
size on the first drive, and gave the second drive to /home.  So I went 
with the defaults.

At "formatting device sdb1" it pukes.  It says "warning: swap area needs 
to be at least 40kB at /usr/bin/perl-install/swap.pm line 77." But I see 
the 2nd drive has no partition table at all (yet) and the first drive's 
partition table is corrupt.  Here's what came out of fdisk -l /dev/sda 
(I'm typing it in so hopefully no errors :)):

/dev/sda1 * 250407  429980  372973568  83 Linux

Partition 1 has different physical/logical beginnings (non-Linux?):
   phys=(0, 1, 1) logical=(250406, 14, 1)

...and similar for endings.  So we are making progress, I guess. 
 Perhaps an endian problem in the dos partition code??

-todd




Reply via email to