After a restart yesterday, my computer doesn't boot correctly...
After GRUB, it prints
and falls to the busybox prompt...
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target Filesystem doesn't have /sbin/init.
No init found. Try passing init=bootarg.
BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash)
Enter 'help' for a list of built-in commands.
I booted a 10.10 live cd.
Here is the output of fdisk -l for /dev/sda
sda1 is the root filesystem (Ubuntu 10.04)
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e45d1
Device Boot Start End Blocks Id System
/dev/sda1 1 8924 71681998+ 83 Linux
/dev/sda2 8925 9179 2048287+ 82 Linux swap / Solaris
/dev/sda3 * 9180 46149 296961525 7 HPFS/NTFS
/dev/sda4 46150 60801 117692190 7 HPFS/NTFS
sda2 is the swap
sda3 is a Win7 NTFS partition
sda4 is an NTFS partition with media files.
I can normally access sda2-4.
The problem is when i try
with any switch it prints:
sudo e2fsck /dev/sda1
When i try to mount the disk, the console just hangs.(it doesn't become unresponsive, the cursor just goes to the next line and doesn't do anything else) I tried leaving it for about 15 minutes in case it was checking the disk but nothing happened.
ubuntu@ubuntu:~$ sudo e2fsck /dev/sda1
e2fsck 1.41.12 (17-May-2010)
e2fsck: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?
I don't care about restoring the system (i was gonna reformat anyway), all I want is access the data so i can backup (mainly my firefox profile).