power loss in Ubuntu causes /ubuntu/disks/ to be empty on reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wubi |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu had been installed on an IBM ThinkPad X61T using Wubi ontop of the existing German-language Windows Vista operating system NTFS partition.
During a loss-of-power (direct, instant power-off by laptop) the Ubuntu root file system (inside the NTFS) was lost.
The boot loader now displays:
find --set-root --ignore-floppies /ubuntu/
Error 15: File not found
Press any key to continue.
Using 'c' for Command Line in the WinGRUB bootloader, then 'root' and using '<tab>' competition showed no 'root.disk' under '/ubuntu/'
A reboot into Vista (to cause a fsck of the NTFS partition) showed an /ubuntu/disks/ directory, but trying to open the directory silently failed.
Shutting down Vista and again using WinGRUB's '<tab>' completion now shows no 'disks/' anymore.
Possibly the only long-term way around this is to assemble a list of blocks making up the loopback file-system, construct a device-mapper device using these and unmount/remount re-only the NTFS base partition. (As long as no checksums are involved, this would mean that the raw data could still be written to disk through the 'stencilled' holes in the NTFS partition, but without the risk of leaving the NTFS partition in a state that Windows' journal replayer is unhappy with.
AFAICT, there's no equivalent to '/lost+found' on Windows; I'm wondering if there's some undelete method I can use (bare in mind that the GUI is all in a locale that I'm not great at reading!
Paul, did you try to run chkdsk?
Is there any hidden found.000* dir under C:\ or C:\ubuntu?