PDA

View Full Version : [ubuntu] 10.10 fails to boot and repair



ZHABUNTU
May 16th, 2011, 12:23 AM
Hi

I got Ubuntu 10.10 installed from the 10.10 installer (not upgraded from previous version or install) on a Seagate 80GB sata, with 3 partitions that are NTFS, NTFS, and EXTENDED with logical ext4 and swap containing Ubuntu. It now fails to boot.
After much searching, I dug a few commands to execute and got the following information to provide:

What I get when booting (2.6.35-29 / 2.6.35.22 in normal or recovery mode) is as follows, this is the last of the lines on screen before it halts there forever:


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 requested /sbin/init
no init found. try passing init= bootarg

BusyBox v1.15.3 (ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)

enter 'help' for a list of built-in commands

(initramfs) [ 2.481578] firewire_core: created device fw0: GUID manydigitshere , S400


then I tried doing the 'fdisk -l' command that would not work at all and only report it's own version number.
And then, the one time it worked it actually reported this:


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 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: 0xa960a960

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1284 10313696+ 7 HPFS/NTFS
/dev/sda2 4865 9730 39079937 5 Extended
/dev/sda3 1284 4864 28755968 7 HPFS/NTFS
/dev/sda5 4865 9715 38960128 83 Linux
/dev/sda6 9715 9730 118784 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 8420 MB, 8420065280 bytes
255 heads, 63 sectors/track, 1023 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: 0x003349e2

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1024 8222688+ c W95 FAT32 (LBA)
Partition 1 has different physical/logical endings:
phys=(1022, 254, 63) logical=(1023, 173, 46)
ubuntu@ubuntu:~$

Then using GParted I tried to check the partition and this is the result:


GParted 0.6.2

Libparted 2.3
Check and repair file system (ext4) on /dev/sda5 00:00:00 ( ERROR )

calibrate /dev/sda5 00:00:00 ( SUCCESS )

path: /dev/sda5
start: 78141440
end: 156061695
size: 77920256 (37.16 GiB)
check file system on /dev/sda5 for errors and (if possible) fix them 00:00:00 ( ERROR )

e2fsck -f -y -v /dev/sda5

Filesystem mounted or opened exclusively by another program?
e2fsck 1.41.12 (17-May-2010)
e2fsck: Device or resource busy while trying to open /dev/sda5

========================================


The 'Disk Utility' (System/Administration/Disk Utility) from Ubuntu says


File system check on "40 GB Filesystem" (Partition 5 of Partition 2 of ATA ST380815AS) completed

File system is NOT clean.


Ubuntu fails to boot. I still have the menu (grub) for selecting the system I want to boot from, as the 2 NTFS partitions each have a system, and are working properly.

I tried to repair Ubuntu, so far with no success. I would like to restore Ubuntu to full glory, but provided it fails, I would at least like to be able to read the contents and retrieve some files from it.

I thought using the usb bootable ubuntu I am using right now would do it but it won't mount the partition, so here I am with the big question, what do I do?

Thank you in advance
Z