FS#35683 - syslinux corrupts fat32 fs

Attached to Project: Arch Linux
Opened by Lacsap (lacsap) - Thursday, 06 June 2013, 21:41 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Thursday, 06 June 2013, 23:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hi,
Syslinux corrupts fat32 partition on which it is installed.
This happens with core (4.06-2) and testing (5.10-3) version.


Additional info:
* package version(s)
* config and/or log files etc.

core (4.06-2) and testing (5.10-3)


Steps to reproduce:

# system is up to date
# ${device} is a simple usb stick
dd if=/dev/zero of=${device} bs=1M count=1
cat /lib/syslinux/mbr.bin > ${device}
echo -e 'n\n\n\n\n\nt\nc\na\nw' | fdisk ${device}
mkdosfs -F 32 ${device}1
mount ${device}1 /mnt/
umount /mnt/
dosfsck ${device}1
# return ok
syslinux -i ${device}1
dosfsck ${device}1
# return ko (see screenshot)
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Thursday, 06 June 2013, 23:47 GMT
Reason for closing:  Upstream
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 06 June 2013, 23:42 GMT
There is no corruption, just that syslinux does not overwrite the backup boot sector that is present on FAT32.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704198

Loading...