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

Bug#476777: win32-loader: doesn't restore the original timeout value from boot.ini on uninstall



Package: win32-loader
Version: 0.6.5
Severity: normal

After uninstalling debian.exe, my system still waits for 30 seconds at
the Windows boot prompt. It didn't do this before I installed debian.exe

Looking at the code it seems that it modifies the timeout in boot.ini
without first saving it elsewhere so it can reset it on uninstall.

One problem is that the timeout might changed by the Windows user
between install and uninstall. In this case the uninstall process would
revert their change to the timeout.

One way to handle this would to put a comment at the end of the line
which you would check for in the uninstall. I've tested both the GUI and
bootcfg.exe methods for changing the timeout and they strip whatever
comment is at the end of the timeout line when changing the timeout.

http://support.microsoft.com/kb/289022

The other method used to change the timeout is opening the file in
notepad and manually changing it. The solution to this would be to make
the comment be really clear that the comment should be removed when
changing the timeout value.

I'm not sure where the appropriate place is to store the timeout between
install and uninstall, but I would guess that the registry is the right
place to do so.

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

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages win32-loader depends on:
ii  base-files                    4.0.3      Debian base system miscellaneous f

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: