[Bug 226622] Re: Wubi has unclear error message on NTFS dirty flag

Evan Dandrea evand at ubuntu.com
Thu May 29 15:17:01 UTC 2008


** 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 Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list