[Parted-maintainers] Bug#292111: installation-reports: FAILURE TO RECOGNIZE EXISTING PARTITIONS

Gene Cooperman Gene Cooperman <gene@ccs.neu.edu>, 292111@bugs.debian.org
Thu, 3 Feb 2005 00:45:08 -0500


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Attached, please find the information that you requested.  It was taken
from console 2 while in the Debian installer (Sarge, 1/17/05).  It shows
the partition table, and parted acts as it had under Knoppix.

Thanks for any help.  If the Debian installer could just accept the
partitions that I already have, without insisting on invoking parted,
I think it would solve my problem.				- Gene

On Sun, Jan 30, 2005 at 07:10:37PM +0100, Sven Luther wrote:
> On Sun, Jan 30, 2005 at 06:27:11PM +0100, Frans Pop wrote:
> > On Tuesday 25 January 2005 07:36, Gene Cooperman wrote:
> > > I tried to use the Debian installer with Debian testing
> > > (Sarge, version of 1/17/05, rc2 release).  Unfortunately, when it
> > > came to partitioning, I selected
> > >   "manually partition"
> > > and was presented only with the possibility of partitioning the whole
> > > disk:  Maxtor 6Y160M0 (163 GB)
> > > The installer knows the disk, but did not show me my existing
> > >  partitions for reformatting.
> > 
> > People are currently working on a new version of parted that may well fix 
> > your problems.
> > Please try again later this week using a _daily_ netinst CD image of the 
> > installer.
> 
> Heu, the above doesn't seem to fail in the diagnostic of what the new version
> should be fixing though. Gene, are you sure the disk actually had a partition
> table, and if so, what was it ? Also, could you see what the kernel has to say
> about it, by going to console 2, and looking at /proc/partitions.
> 
> Also, what parted has to say about it directly too. Go to console 2 and type
> parted, and then print, copy the info, and then quit.
> 
> Friendly,
> 
> Sven Luther
> 

--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="DEBIAN-INSTALLER.INFO"

Here are the results of my tests while running the Debian installer
from Sarge (1/17/05).  I ran the installer until the point where it
failed to recognize my partitions.  I then shifted to console 2,
and performed the tests shown here.  Please excuse some formatting issues
from my output.  I didn't have the full set of UNIX tools.	- Gene

> ls /dev
cdroms console discs fb floppy full ide input kmem kmsg log mem null port
ptmx pts pty random rd root root.old scsi shm tts tty urandom usb vc vcc zero

> cat /proc/partitions
major minor  #blocks  name

   8     0  160086528 sda
   8     1   61480723 sda1
   8     2          1 sda2
   8     3    2128581 sda3
   8     5   10723356 sda5
   8     6   31117873 sda6
   8     7   20265966 sda7
   8     8   34369839 sda8
[I had originally created the partitions above using
 Mandrake 7.1 Drake (an obsolete version of Mandrake, but it
 was handy, and the parted on Knoppix 3.6 was not working for me.)
 Note, below, that parted says that the partitions were created by
 software that didn't have the right geometry.  But parted says it
 can still continue, and it turns out that parted cannot continue.]
[They are: sda1 (ntfs/Windows XP), sda3 (swap), sda5 (vfat),
	 sda6 (ext3/Knoppix 3.6), sda7 (ext3/home), sda8 (ext3/Knoppix 3.7) ]

> parted
GNU Parted 1.6.11 with HFS shrink patch 12.5
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/scsi/host0/bus0/target0/lun0/disc

                                                                          
Warning: Unable to align partition properly.  This probably means that another
partitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry.  It is safe to ignore,but ignoring may cause
(fixable) problems with some boot loaders.

                                                                          
Ignore/Cancel? C
                                                                          
Information: The operating system thinks the geometry on
/dev/scsi/host0/bus0/target0/lun0/disc is 19929/255/63.  Therefore, cylinder
1024 ends at 8032.499M.

                                                                          
(parted) quit
                                                                          
Information: Don't forget to update /etc/fstab, if necessary.

> parted
GNU Parted 1.6.11 with HFS shrink patch 12.5
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/scsi/host0/bus0/target0/lun0/disc

                                                                          
Warning: Unable to align partition properly.  This probably means that another
partitioning tool generated an incorrect partition table, because it didn't have
the correct BIOS geometry.  It is safe to ignore,but ignoring may cause
(fixable) problems with some boot loaders.

                                                                          
Ignore/Cancel? I
                                                                          
Error: Unable to satisfy all constraints on the partition.

                                                                          
(parted) print
                                                                          
Error: Unable to satisfy all constraints on the partition.

                                                                          
(parted) quit
                                                                          
Information: Don't forget to update /etc/fstab, if necessary.

> ls -l /dev/discs/disc0
lr-xr-xr-x    1 root     root           31 Jan  1  1970 /dev/discs/disc0 -> ../scsi/host0/bus0/target0/lun0

> mount
tmpfs on / type tmpfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw)
none on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
/dev/cdroms/cdrom0 on /cdrom type iso9660 (ro)
/dev/discs/disc0/part6 on /mnt/sda6 type ext2 (rw)

--FL5UXtIhxfXey3p5--