LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 9.04 doesn't boot anymore - No init found (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-9-04-doesnt-boot-anymore-no-init-found-769394/)

smecherel 11-16-2009 03:14 AM

Ubuntu 9.04 doesn't boot anymore - No init found
 
Hi there,
Friday a have shut down my working Ubuntu 9.04 for many months, and now, after 2 days, i keep receiving the folowing output when it boots up?
kinit: trying to resume from /dev/disk/...
kiniy: no image to resume, doing normal boot
mount: mounting /dev/disk/by-uuid/...some hex numbers... on root failed: Invalid argument
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 doesnt have /sbin/init
No init found. Try passing init=bootarg
BusyBox v1.10.2 built-in shell
(initramfs)_

I google it a little and it seems that grub somehow got coruppted. I have found some suggestions on how to fix this:
"Boot from the Live CD.
Run sudo fdisk -l The output will be will be a list of your partitions which you need to identify your root partition (usually this is sda1)
You need to mount that partition to access the files:
sudo mkdir /media/root
sudo mount /dev/sda1 /media/root
Browse to /media/root/boot/grub and look at menu.lst and make sure that references the correct sda# value.
Browse to /media/root/etc/ and look at fstab and see if the values are correct (you can also replace the uuid values with the sda# values in the comments)"

.....BUT
when i try to mound sda5 in my case it sais:
ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000080

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 14593 86501992+ 5 Extended
/dev/sda5 3825 5648 14651248+ 83 Linux
/dev/sda6 6743 14593 63063126 83 Linux
/dev/sda7 5649 6377 5855661 83 Linux
/dev/sda8 6378 6742 2931831 82 Linux swap / Solaris
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /media/root/
mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5

Disk /dev/sda5: 15.0 GB, 15002878464 bytes
255 heads, 63 sectors/track, 1823 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sda5 doesn't contain a valid partition table

Now, this last error:(Disk /dev/sda5 doesn't contain a valid partition table) i don't know how to fix it, so please, can anyone guide me on how to get my working Ubuntu back?

smecherel 11-16-2009 03:17 AM

I don't know if it helps but the las lines of dmesg output shows some errors:


[ 3856.958307] ata3.00: configured for UDMA/133
[ 3856.958336] ata3: EH complete
[ 3861.020924] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 3861.020932] ata3.00: BMDMA stat 0x24
[ 3861.020943] ata3.00: cmd c8/00:f8:7f:c2:81/00:00:00:00:00/e4 tag 0 dma 126976 in
[ 3861.020946] res 51/40:00:26:c3:81/00:00:00:00:00/e4 Emask 0x9 (media error)
[ 3861.020952] ata3.00: status: { DRDY ERR }
[ 3861.020956] ata3.00: error: { UNC }
[ 3861.045628] ata3.00: configured for UDMA/133
[ 3861.045689] sd 2:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
[ 3861.045697] sd 2:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
[ 3861.045707] Descriptor sense data with sense descriptors (in hex):
[ 3861.045712] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 3861.045732] 04 81 c3 26
[ 3861.045741] sd 2:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
[ 3861.045750] end_request: I/O error, dev sda, sector 75612966
[ 3861.045789] ata3: EH complete
[ 3861.045793] JBD: Failed to read block at offset 2553
[ 3861.045806] JBD: recovery failed
[ 3861.045810] EXT3-fs: error loading journal.
[ 3861.052149] sd 2:0:0:0: [sda] 234441648 512-byte hardware sectors: (120 GB/111 GiB)
[ 3861.052193] sd 2:0:0:0: [sda] Write Protect is off
[ 3861.052198] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3861.052259] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3861.052326] sd 2:0:0:0: [sda] 234441648 512-byte hardware sectors: (120 GB/111 GiB)
[ 3861.052363] sd 2:0:0:0: [sda] Write Protect is off
[ 3861.052368] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 3861.052428] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA


All times are GMT -5. The time now is 08:34 AM.