Package: dosfstools
Version: 2.11-5
Severity: serious
Tags: d-i

Booting d-i boot floppies fails now:

Booting from floppy...
Boot error

It appears to be failing to load its second stage ldlinux.sys file from the
image. (This is in qemu, FWIW.)

I downgraded to dosfstools 2.11-2.1 and rebuilt the same image, and syslinux
boots that one fine.

Simple recipe to reproduce the problem:

mkfs.msdos -C foo 1440
syslinux -s foo
qemu -fda foo -boot a  

Hmm, disabling 14-bootcode.dpatch fixes this problem.

And the specific line that causes the bug is this one:

-    bs.hidden = CT_LE_L(hidden_sectors);
+    bs.hidden = bs.secs_track;

I don't really understand this stuff, but this seems to be reserving one
track worth of hidden sectors even when the bootcode isn't being used,
and I guess that's either wrong, or screws up syslinux.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dosfstools depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries

dosfstools recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to