[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
I just saw this on na fresh installation of Ubuntu 10.10 x86 with Wubi 197. ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell! BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash) Enter 'help' for a list of built-in commands. (initramfs) What happened: - downloaded wubi 197 - installed Ubuntu 10.10 on disk D: (second disk with a single NTFS partition, C: is the single NTFS partition on the first disc) - reboot into Ubuntu - the installation is finished - another reboot into ubuntu Result: The above error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/226622 Title: Wubi has unclear error message on NTFS dirty flag -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
copied to hardy-updates. ** Changed in: lupin (Ubuntu Hardy) Status: Fix Committed = Fix Released -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
That is a separate bug. Panic messages are not displayed when usplash is running. Please see #243226 -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Changed in: lupin (Ubuntu) Status: In Progress = Fix Released -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
There is a nice message explaining the issue in recovery mode which would be nice to see in normal mode too. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
I booted into recovery mode and saw the message regarding what to do, so I'll change the bug to verification-passed. However, I think the error message would benefit from some clarification in the future. It'd be useful to tell people to use the 'reboot' command in the ash shell. Additionally, telling people how to scroll up in the shell might be useful too. ** Tags added: verification-done ** Tags removed: verification-failed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Ah, from the test case it wasn't clear that you had to boot into recovery mode to see the message. I'll try that again. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Brian Murray wrote: Ah, from the test case it wasn't clear that you had to boot into recovery mode to see the message. I'll try that again. Right, the fact the you only get something useful if you think to boot into recovery mode is, itself, part of the original bug... -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Brian Murray wrote: I was able to recreate this bug using the test case provided. I then tried to verify the fix but failed. I have initramfs-tools 0.85eubuntu39.1 installed. I then installed lupin-support version 0.20, I choose lupin-support because that was the only lupin-package installed on my fresh install of Hardy Heron. I then recreated the problem and was again dropped to the busybox shell. I installed lupin-casper, since I thought that was what the debdiff modified, version 0.20 and then recreated the bug again. However, I was again dropped to a busybox shell. This may be a symptom of my original report that I don't see being addressed. You end up the the prompt either way, but unless you boot in recovery mode you never see *any* error message, clear or not. Having said that, I have no idea how to change that behavior. :-( -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
I was able to recreate this bug using the test case provided. I then tried to verify the fix but failed. I have initramfs-tools 0.85eubuntu39.1 installed. I then installed lupin-support version 0.20, I choose lupin-support because that was the only lupin-package installed on my fresh install of Hardy Heron. I then recreated the problem and was again dropped to the busybox shell. I installed lupin-casper, since I thought that was what the debdiff modified, version 0.20 and then recreated the bug again. However, I was again dropped to a busybox shell. I'm going to set this bug's tag to verification-failed. Either the test case needs to be updated with information about which packages from -proposed to install or I've installed the right one and the fix doesn't behave the way it should. ** Tags added: verification-failed ** Tags removed: verification-needed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Brian, the patch does not avoid the busy box shell when the ntfs dirty flag is up (we have no fsck for ntfs at the moment), it should only show a more helpful message when that happens. So you should see some kind of explanation when the dirty flag is up and otherwise you should be able to boot normally. Lupin-casper is only relevant on first reboot (installation) after that the relevant package is initramfs-tools. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
lupin needs another upload, removing verification tag. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
initramfs-tools 0.85eubuntu39.1 is in hardy-updates already. ** Changed in: initramfs-tools (Ubuntu Hardy) Status: Fix Committed = Fix Released ** Tags removed: verification-needed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Sponsored fix, accepted into hardy-proposed. Please test. ** Tags added: verification-needed ** Changed in: lupin (Ubuntu Hardy) Status: In Progress = Fix Committed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
arg... I had lupin rev109 in my local branch that for some reason did not make the hardy.proposed branch That is required otherwise LIVEMEDIA_OFFSET is never set and without LIVEMEDIA_OFFSET the loopdevice is never setup... === modified file 'casper/scripts/casper-premount/20iso_scan' --- casper/scripts/casper-premount/20iso_scan 2008-05-15 23:16:36 + +++ casper/scripts/casper-premount/20iso_scan 2008-05-26 10:16:30 + @@ -28,7 +28,7 @@ if [ $iso_path ]; then if find_path ${iso_path} /isodevice rw; then echo LIVEMEDIA=${FOUNDPATH} /conf/param.conf -if [ -f ${iso_path} ]; then +if [ -f ${FOUNDPATH} ]; then echo LIVEMEDIA_OFFSET=0 /conf/param.conf fi else === modified file 'debian/changelog' --- debian/changelog2008-05-15 23:16:36 + +++ debian/changelog2008-05-26 10:32:31 + @@ -5,8 +5,9 @@ is a useful check per se', but it is also required to allow using iso_scan to look for iso content such as squashfs which in turn would help with LP: #207137 + * Use the absolute path when testing the iso_path target type - -- Agostino Russo [EMAIL PROTECTED] Thu, 15 May 2008 23:55:32 +0100 + -- Agostino Russo [EMAIL PROTECTED] Mon, 26 May 2008 11:32:10 +0100 lupin (0.17) hardy-proposed; urgency=low ** Changed in: lupin (Ubuntu Hardy) Status: Fix Committed = In Progress ** Changed in: lupin (Ubuntu) Status: Fix Released = In Progress -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
I have pushed rev 112 with the fix. I am quite sure that explains davomor2 issues (no /dev/loop*). Sorry for not noticing before. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Just to confirm this happens before I enable -proposed I am now going to install proposed and update and try again. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Right I've enabled -proposed and done all the updates. rebooted let Ubuntu start to enable everything. Re-started gone into the windows killed it, rebooted into Ubuntu and no change it goes into initramfs/busybox. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Accepted into -proposed, please test and give feedback here ** Tags added: verification-needed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Attachment added: lupin_0.16-0.19.debdiff http://launchpadlibrarian.net/14795586/lupin_0.16-0.19.debdiff ** Description changed: - There has been much confusion surrounding the user getting dropped in the initramfs shell when the host filesystem cannot be mounted because it is dirty. The first patch addresses this in lupin, and thus only affects Wubi users: - http://launchpadlibrarian.net/14400134/lupin-ntfsdirty.diff + There has been much confusion surrounding the user getting dropped in + the initramfs shell when the host filesystem cannot be mounted because + it is dirty. TEST CASE: When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the error message is missing or confusing. This situation can and will occur when you restart and are not paying attention, so you miss the NT Boot loader prompt and start booting Windows, then hard-power-off to save time (can you guess how I know this?), or if/when Windows crashes. I bet this is going to be a really F.A.Q. with Wubi. To reproduce: 1) Either shut Windows down ungracefully, or let it start half-way up, then hard-power-off to kill it 2) Reboot and attempt to go into Ubuntu Case 1: default startup: You end up at a completely useless and scary BusyBox/(initramfs) prompt with no indication why you are there or what to do about it. Case 2: recovery mode (verbose) startup: You still end up at a completely useless and scary BusyBox/(initramfs) prompt, but there are log lines on the screen as follows. But they are scary and confusing (mount: ... failed: Success? WTH?): - cut here (very top of my screen) - $LogFile indicates unclean shutdown (0, 0) Failed to mount '/dev/sda2/: Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda2 /root -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sdc1 /mnt/external/ ntfs-3g defaults,force 0 0 mount: Mounting /dev/disk/by_uuid/... on /root failed: Success mount: Mounting /root on /host failed: invalid argument ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell! BusyBox v1.1.3 ... (ash) Enter 'help' (initramfs) - cut here - - - While it kind of gives clues if you think about it and don't panic, it's - not all that relevant. It's also not even there if you are booting in - the default quiet/splash screen mode (I understand the reasons for that - default, but I think it's a bad idea as it masks stuff like this). - - Possible Solutions - - 1) Insert some kind of shim program at some earlier point in the boot - process (if possible) that detects the NTFS dirty flag (see - http://www.google.com/search?q=ntfs+%22dirty+flag%22) and bounce out the - of the quiet/splash screen to provide a *useful and non-scary* error - message. - - 2) Edit the text of the error already provided (shown above) to be more - useful and less scary. This solution is less ideal because it still - requires the user not to panic, to reboot, and to think of hitting ESC - and choosing recovery mode before getting help. Solution 1 or something - that Just Does The Right Thing is preferred. - - Possible text for the error message: - - cut here - - Ubuntu can't boot because the Windows NTFS file-system's dirty flag is set. That usually means the Windows either crashed or failed to start completely. (You didn't turn Windows off in the middle of starting up or shutting down, did you?) - - To fix this, simply reboot into Windows, let it fully start, log in, ideally run a Check Disk (see http://support.microsoft.com/kb/315265), then gracefully shut down. Once you restart, Ubuntu should be able to use the NTFS partition and boot normally. - - cut here - - - See also: - https://bugs.launchpad.net/ubuntu/+source/qtparted/+bug/57580 ** Description changed: There has been much confusion surrounding the user getting dropped in the initramfs shell when the host filesystem cannot be mounted because it is dirty. TEST CASE: When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the error message is missing or confusing. This situation can and will occur when you restart and are not paying attention, so you miss the NT Boot loader prompt and start booting Windows, then hard-power-off to save time (can you guess how I know this?), or if/when Windows crashes. I bet this is going to be a really F.A.Q. with Wubi. To reproduce: 1) Either shut Windows down ungracefully, or let it start
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Attachment added: lupin-226622.debdiff http://launchpadlibrarian.net/14795872/lupin-226622.debdiff ** Description changed: There has been much confusion surrounding the user getting dropped in the initramfs shell when the host filesystem cannot be mounted because it is dirty. TEST CASE: When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the error message is missing or confusing. This situation can and will occur when you restart and are not paying attention, so you miss the NT Boot loader prompt and start booting Windows, then hard-power-off to save time (can you guess how I know this?), or if/when Windows crashes. I bet this is going to be a really F.A.Q. with Wubi. To reproduce: 1) Either shut Windows down ungracefully, or let it start half-way up, then hard-power-off to kill it 2) Reboot and attempt to go into Ubuntu Case 1: default startup: You end up at a completely useless and scary BusyBox/(initramfs) prompt with no indication why you are there or what to do about it. Case 2: recovery mode (verbose) startup: You still end up at a completely useless and scary BusyBox/(initramfs) prompt, but there are log lines on the screen as follows. But they are scary and confusing (mount: ... failed: Success? WTH?): - cut here (very top of my screen) - $LogFile indicates unclean shutdown (0, 0) Failed to mount '/dev/sda2/: Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda2 /root -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sdc1 /mnt/external/ ntfs-3g defaults,force 0 0 mount: Mounting /dev/disk/by_uuid/... on /root failed: Success mount: Mounting /root on /host failed: invalid argument ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell! BusyBox v1.1.3 ... (ash) Enter 'help' (initramfs) - cut here - + A diff of the required changes can be found here: + http://launchpadlibrarian.net/14795872/lupin-226622.debdiff + A debdiff of the entire 0.19 upload, including the fix for bug 136682, can be found here: http://launchpadlibrarian.net/14795586/lupin_0.16-0.19.debdiff A debdiff of the initramfs-tools changes can be found here: http://launchpadlibrarian.net/14795732/initramfstools_0.85eubuntu36-0.85eubuntu38.debdiff -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Attachment added: initramfstools_0.85eubuntu36-0.85eubuntu38.debdiff http://launchpadlibrarian.net/14795732/initramfstools_0.85eubuntu36-0.85eubuntu38.debdiff ** Description changed: There has been much confusion surrounding the user getting dropped in the initramfs shell when the host filesystem cannot be mounted because it is dirty. TEST CASE: When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the error message is missing or confusing. This situation can and will occur when you restart and are not paying attention, so you miss the NT Boot loader prompt and start booting Windows, then hard-power-off to save time (can you guess how I know this?), or if/when Windows crashes. I bet this is going to be a really F.A.Q. with Wubi. To reproduce: 1) Either shut Windows down ungracefully, or let it start half-way up, then hard-power-off to kill it 2) Reboot and attempt to go into Ubuntu Case 1: default startup: You end up at a completely useless and scary BusyBox/(initramfs) prompt with no indication why you are there or what to do about it. Case 2: recovery mode (verbose) startup: You still end up at a completely useless and scary BusyBox/(initramfs) prompt, but there are log lines on the screen as follows. But they are scary and confusing (mount: ... failed: Success? WTH?): - cut here (very top of my screen) - $LogFile indicates unclean shutdown (0, 0) Failed to mount '/dev/sda2/: Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda2 /root -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sdc1 /mnt/external/ ntfs-3g defaults,force 0 0 mount: Mounting /dev/disk/by_uuid/... on /root failed: Success mount: Mounting /root on /host failed: invalid argument ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell! BusyBox v1.1.3 ... (ash) Enter 'help' (initramfs) - cut here - A debdiff of the entire 0.19 upload, including the fix for bug 136682, can be found here: http://launchpadlibrarian.net/14795586/lupin_0.16-0.19.debdiff + + A debdiff of the initramfs-tools changes can be found here: + http://launchpadlibrarian.net/14795732/initramfstools_0.85eubuntu36-0.85eubuntu38.debdiff ** Changed in: initramfs-tools (Ubuntu Hardy) Status: New = Fix Committed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
This bug was fixed in the package initramfs-tools - 0.85eubuntu37 --- initramfs-tools (0.85eubuntu37) intrepid; urgency=low * Provide a clearer error on mount failure of the Windows host filesystem (LP: #226622) -- Agostino Russo [EMAIL PROTECTED] Tue, 06 May 2008 23:55:47 +0100 ** Changed in: initramfs-tools (Ubuntu) Status: Confirmed = Fix Released -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Note that the typos also affect the initramfs-tools patch above. Will provide a new one later on. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Made a few changes to lupin.proposed as suggested above. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
lupin 0.17 has also been uploaded to hardy-proposed. I'm rejecting this upload, because: - it needs to be given a unique version number, since it was not done as a pocket copy and we can't have different binaries under the same version number. - the added strings include several typographical errors, some of which are pointed out above in the comments. Suggested error message: Could not find the ISO $iso_path This could also happen if the file system is not clean because of an operating system crash, an interrupted boot process, an improper shutdown, or unplugging of a removable device without first unmounting or ejecting it. To fix this, simply reboot into Windows, let it fully start, log in, run 'chkdsk /r', then gracefully shut down. Once you restart, you should be able to resume the installation. At the very least, the file-system, beacause, and inproper errors should be fixed. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Attachment added: lupin-ntfsdirty.diff http://launchpadlibrarian.net/14400134/lupin-ntfsdirty.diff -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Changed in: lupin Status: Fix Committed = Invalid ** Also affects: lupin (Ubuntu) Importance: Undecided Status: New ** Changed in: initramfs-tools (Ubuntu) Status: In Progress = Fix Committed ** Changed in: initramfs-tools (Ubuntu) Importance: Undecided = Medium Target: None = ubuntu-8.04.1 ** Changed in: initramfs-tools (Ubuntu) Status: Fix Committed = Confirmed ** Changed in: lupin (Ubuntu) Importance: Undecided = Medium Status: New = Fix Committed Target: None = ubuntu-8.04.1 ** Changed in: lupin (Ubuntu Hardy) Status: New = Fix Committed Target: None = ubuntu-8.04.1 ** Description changed: - When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the - error message is missing or confusing. + There has been much confusion surrounding the user getting dropped in + the initramfs shell when the host filesystem cannot be mounted because + it is dirty. The first patch addresses this in lupin, and thus only + affects Wubi users: + + TEST CASE: + When using Ubuntu (Hardy) under wubi, if the NTFS dirty flag is set, the error message is missing or confusing. This situation can and will occur when you restart and are not paying attention, so you miss the NT Boot loader prompt and start booting Windows, then hard-power-off to save time (can you guess how I know this?), or if/when Windows crashes. I bet this is going to be a really F.A.Q. with Wubi. To reproduce: 1) Either shut Windows down ungracefully, or let it start half-way up, then hard-power-off to kill it 2) Reboot and attempt to go into Ubuntu Case 1: default startup: You end up at a completely useless and scary BusyBox/(initramfs) prompt with no indication why you are there or what to do about it. Case 2: recovery mode (verbose) startup: You still end up at a completely useless and scary BusyBox/(initramfs) prompt, but there are log lines on the screen as follows. But they are scary and confusing (mount: ... failed: Success? WTH?): - cut here (very top of my screen) - $LogFile indicates unclean shutdown (0, 0) Failed to mount '/dev/sda2/: Operation not supported Mount is denied because NTFS is marked to be in use. Choose one action: Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly. Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda2 /root -o force Or add the option to the relevant row in the /etc/fstab file: /dev/sdc1 /mnt/external/ ntfs-3g defaults,force 0 0 mount: Mounting /dev/disk/by_uuid/... on /root failed: Success mount: Mounting /root on /host failed: invalid argument ALERT! /host/ubuntu/disks/root.disk does not exist. Dropping to a shell! BusyBox v1.1.3 ... (ash) Enter 'help' (initramfs) - cut here - While it kind of gives clues if you think about it and don't panic, it's not all that relevant. It's also not even there if you are booting in the default quiet/splash screen mode (I understand the reasons for that default, but I think it's a bad idea as it masks stuff like this). Possible Solutions 1) Insert some kind of shim program at some earlier point in the boot process (if possible) that detects the NTFS dirty flag (see http://www.google.com/search?q=ntfs+%22dirty+flag%22) and bounce out the of the quiet/splash screen to provide a *useful and non-scary* error message. 2) Edit the text of the error already provided (shown above) to be more useful and less scary. This solution is less ideal because it still requires the user not to panic, to reboot, and to think of hitting ESC and choosing recovery mode before getting help. Solution 1 or something that Just Does The Right Thing is preferred. Possible text for the error message: - cut here - Ubuntu can't boot because the Windows NTFS file-system's dirty flag is set. That usually means the Windows either crashed or failed to start completely. (You didn't turn Windows off in the middle of starting up or shutting down, did you?) To fix this, simply reboot into Windows, let it fully start, log in, ideally run a Check Disk (see http://support.microsoft.com/kb/315265), then gracefully shut down. Once you restart, Ubuntu should be able to use the NTFS partition and boot normally. - cut here - See also: https://bugs.launchpad.net/ubuntu/+source/qtparted/+bug/57580 ** Description changed: - There has been much confusion surrounding the user getting dropped in - the initramfs shell when the host filesystem cannot be mounted because - it is dirty. The first patch addresses this in lupin, and thus only - affects Wubi
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
This bug was fixed in the package lupin - 0.17 --- lupin (0.17) intrepid; urgency=low [ Agostino Russo] * Provide a clearer error when required installation files cannot be found (LP: #226622) [ Tormod Volden ] * Add locale support to ntfs host filesystems, to keep files and directories with non-C characters (utf) from disappearing. (LP: #136682) -- Evan Dandrea [EMAIL PROTECTED] Fri, 09 May 2008 13:53:14 -0400 ** Changed in: lupin (Ubuntu) Status: Fix Committed = Fix Released -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
http://launchpadlibrarian.net/14296471/initramfs- tools_0.85eubuntu37.debdiff has 1 spelling error: beacause -- because http://launchpadlibrarian.net/14400134/lupin-ntfsdirty.diff has 2 spelling errors in 2 different places: beacause of an inproper -- because of an improper In both patches, I worry that run a chkdsk /r is not clear enough for naive users, perhaps run a Check Disk and check the 'repair' box (or chkdsk /r), would be better? Overall though, I think this will be much more clear! -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Changed in: lupin (Ubuntu) Target: ubuntu-8.04.1 = None ** Changed in: initramfs-tools (Ubuntu) Target: ubuntu-8.04.1 = None ** Changed in: initramfs-tools (Ubuntu Hardy) Target: None = ubuntu-8.04.1 -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Changed in: initramfs-tools (Ubuntu) Sourcepackagename: None = initramfs-tools Assignee: (unassigned) = Agostino Russo (ago) ** Also affects: lupin Importance: Undecided Status: New ** Changed in: lupin Importance: Undecided = Low Assignee: (unassigned) = Agostino Russo (ago) Status: New = Confirmed ** Changed in: initramfs-tools (Ubuntu) Status: New = Confirmed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Attachment added: initramfs-tools patch http://launchpadlibrarian.net/14296471/initramfs-tools_0.85eubuntu37.debdiff -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Lupin patch is available at http://bazaar.launchpad.net/~ubuntu- installer/lupin/hardy.proposed/revision/103 ** Changed in: wubi Status: Confirmed = Invalid ** Changed in: lupin Status: Confirmed = Fix Committed ** Changed in: initramfs-tools (Ubuntu) Status: Confirmed = In Progress -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
Both ntfs-3g and ntfs-3g.probe could be used and both return error code 15 if the journal is unclean: http://linux.die.net/man/8/ntfs-3g.probe The most important thing is gracefully shut down and detaching external devices as Microsoft and drive manufacturers has documented. -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
I think this is a valid point that will greatly reduce the number of tickets ** Changed in: wubi Importance: Undecided = Low Status: New = Confirmed -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Changed in: wubi Assignee: (unassigned) = Agostino Russo (ago) -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag
** Also affects: wubi Importance: Undecided Status: New -- Wubi has unclear error message on NTFS dirty flag https://bugs.launchpad.net/bugs/226622 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs