[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dosfslabel finds problem, e2fsck does not



On Wed, Jul 21, 2010 at 11:42:39PM +0200, Florian Kulzer wrote:
> On Wed, Jul 21, 2010 at 15:53:36 -0400, Thomas H. George wrote:
> > On Wed, Jul 21, 2010 at 09:13:59PM +0200, Florian Kulzer wrote:
> > > On Wed, Jul 21, 2010 at 10:25:30 -0400, Thomas H. George wrote:
> > > > On Wed, Jul 21, 2010 at 08:28:59AM +0200, Florian Kulzer wrote:
> > > > > > > > > On Tue, Jul 20, 2010 at 11:25:42 -0400, Thomas H. George wrote:
> > > > > > > > > > My system, Squeeze, cannot install the latest kernel image because
> > > > > > > > > > dosfslabel finds a problem that prevents the installation of linux-base.
> > > > > > > > > > 
> > > > > > > > > > Trying to resolve this I used e2fsck to check each of the disk
> > > > > > > > > > partitions and e2fsck reported all the partitions clean.  However, the
> > > > > > > > > > result of running dosfslabel /dev/hda1 results in the following output:
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > There are differences between boot sector and its backup.
> > > > > > > > > > Differences: (offset:original/backup)
> 
> [...]
> 
> 
> > I have copied everything on /dev/hda1 and /dev/hda5 on to a backup drive
> > and am considering a complete reformat of /dev/hda.
> 
I started by using parted to delete hda5 (logical), hda2 (extended) and
then hda1 (primary). I then used commands of the form 

parted -a opt /dev/hda primary 32.3kB 1999MB

to restore the partitions.  They still did not end on cylinder
boundries.  Deleted the partitions again and tried -a min.  They still
did not end on cylinder boundries.  Deleted the partitions again and
tried -a cylinder.  They still did not end on cylinder boundries.
Deleted the partitions again, switched to fdisk and specified the
partition sizes by cylinders.  They still do not end on cylinder
boundries.  Switched to gparted and made the partition file types ext3.

Rebooted - no problems. Note: The system booting from /dev/hda.  The
script lilo wrote in the mbr has not been effected by the changes listed
above.

Ran dosfslabel /dev/hda1.  The reponse was: Logical sector size
is zero.  Repeated this for each partition on each of my hard drives
with the same result.

Disconnected every usb device attache to my system.

Ran aptitude -f install.  The result:


Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following partially installed packages will be configured:
  linux-base linux-image-2.6-amd64 linux-image-2.6.32-5-amd64 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 97 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up linux-base (2.6.32-15) ...
Logical sector size (15624 bytes) is not a multiple of the physical sector size.
dosfslabel failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1059, <STDIN> line 10.
dpkg: error processing linux-base (--configure):
 subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6.32-5-amd64:
 linux-image-2.6.32-5-amd64 depends on linux-base (>= 2.6.32-15); however:
  Package linux-base is not configured yet.
dpkg: error processing linux-image-2.6.32-5-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
 linux-image-2.6-amd64 depends on linux-image-2.6.32-5-amd64; however:
  Package linux-image-2.6.32-5-amd64 is not configured yet.
dpkg: error processing linux-image-2.6-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-base
 linux-image-2.6.32-5-amd64
 linux-image-2.6-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up linux-base (2.6.32-15) ...
Logical sector size (15624 bytes) is not a multiple of the physical sector size.
dosfslabel failed: 256 at /var/lib/dpkg/info/linux-base.postinst line 1059, <STDIN> line 10.
dpkg: error processing linux-base (--configure):
 subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6.32-5-amd64:
 linux-image-2.6.32-5-amd64 depends on linux-base (>= 2.6.32-15); however:
  Package linux-base is not configured yet.
dpkg: error processing linux-image-2.6.32-5-amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
 linux-image-2.6-amd64 depends on linux-image-2.6.32-5-amd64; however:
  Package linux-image-2.6.32-5-amd64 is not configured yet.
dpkg: error processing linux-image-2.6-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-base
 linux-image-2.6.32-5-amd64
 linux-image-2.6-amd64
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...

Any comments?

Tom

> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20100721214239.GA5177@isar.localhost">http://lists.debian.org/[🔎] 20100721214239.GA5177@isar.localhost
> 
> 


Reply to: