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

Bug#290429: debian-installer: 'badblocks' missing



Package: debian-installer
Version: 2004-12-27 i386 floppies
Severity: normal

Booted on an i386 NEC laptop, no special
boot options, from the boot, root floppies, and
installed the drivers floppy (and answered other
questions) following the standard interactive 
dialogues.  Everything works well.

While looking at the partition table in partman
(but changing nothing), I alt-F2'd to work in
'rescue' mode for a while, the real reason I
had started the installer (a corrupt partition).

I assumed that something like
'e2fsck -cc -y /dev/discs/disc0/part8' should work,
but it doesn't -- it complains "sh: missing 'badblocks'"
or words to that effect.  e2fsck succeeds, but doesn't
do the block scan.

Thanks to the included wget, I was able to copy 
/sbin/badblocks from a working sarge system, drop it 
into the installer's /sbin, and all worked well.

Thanks.  I assume we should have badblocks for use
by mke2fs, too.  I see this was mentioned in 
#239911, but it seems that user couldn't even run
e2fsck -- maybe he didn't install the 'drivers'
(inappropriately named, eh?).  

Did I, too, do something wrong?  Shouldn't badblocks
be there?

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (600, 'unstable'), (300, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.10zona-06022se
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)



Reply to: