I am unable to boot into Ubuntu which was installed using Wubi in Windows
When I ran Ubuntu in recovery mode it gave me an error:
mount: mounting /sys on /root/sys failed.
and then the following prompt came:
initramfs:
I logged in using a live USB and in the terminal I ran the command: sudo fdisk -l
its output is
Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9514ed6b
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 614404095 307098624 7 HPFS/NTFS/exFAT
/dev/sda3 614405925 1115090624 250342350 7 HPFS/NTFS/exFAT
/dev/sda4 1147858944 1250258943 51200000 7 HPFS/NTFS/exFAT
and then I ran sudo fsck /dev/sda1/
its output is as follows: -
fsck from util-linux 2.20.1
fsck: fsck.ntfs: not found
fsck: error 2 while executing fsck.ntfs for /dev/sda1
I also tried
sudo ntfsck /dev/sda1/
it's output is as follows
Failed to access '/dev/sda1/': Not a directory
Error opening partition device: Not a directory
sudo fdisk -l
? Did you also usechkdsk
of Windows to fix errors of the Windows partitions ?