PDA

View Full Version : [other] Need Help >> 11.04 boots to initramfs



mayed81
July 14th, 2011, 07:49 AM
Hi All..

I've installed 11.04 a few weeks ago, was working perfectly fine till yesterday. I updated one of my applications ( Metasploit PRO) , after the reboot it takes me to the initramfs and I have no idea whats going on. I read few threads here and there and I ran Boot Info Script. I pasted the results below. Please help me to find a way to boot this machine normally.


Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.
=> Windows is installed in the MBR of /dev/sdb.

sda1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: Unknown
Boot sector info:

sda5: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

sdb1: __________________________________________________ ________________________

File system: vfat
Boot sector type: MSWIN4.1: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 608,653,311 608,651,264 83 Linux
/dev/sda2 608,655,358 625,141,759 16,486,402 5 Extended
/dev/sda5 608,655,360 625,141,759 16,486,400 82 Linux swap / Solaris


Drive: sdb __________________________________________________ ___________________

Disk /dev/sdb: 8254 MB, 8254389760 bytes
255 heads, 63 sectors/track, 1003 cylinders, total 16121855 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 63 16,121,854 16,121,792 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 e591a556-4fdb-46a5-84f1-89facf03b0fa ext4
/dev/sda5 963125f2-0bb6-4b08-a851-1c8b87e93d5b swap
/dev/sdb1 5064-3870 vfat

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /media/5064-3870 vfat (rw,nosuid,nodev,uhelper=udisks,uid=999,gid=999,sh ortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sr0 /cdrom iso9660 (ro,noatime)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=e591a556-4fdb-46a5-84f1-89facf03b0fa ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=e591a556-4fdb-46a5-84f1-89facf03b0fa ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root e591a556-4fdb-46a5-84f1-89facf03b0fa
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
/dev/sda5 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

40.135513306 = 43.095179264 boot/grub/core.img 1
40.135520935 = 43.095187456 boot/grub/grub.cfg 1
56.938476562 = 61.137223680 boot/initrd.img-2.6.38-8-generic 3
40.133792877 = 43.093331968 boot/vmlinuz-2.6.38-8-generic 1
56.938476562 = 61.137223680 initrd.img 3
40.133792877 = 43.093331968 vmlinuz 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda2

00000000 6f e9 08 00 0d f1 97 aa 0c 59 ae f2 e9 4b b4 79 |o........Y...K.y|
00000010 09 26 9e 17 22 d8 2d 22 82 ef 6c 3c 0b fa cb b0 |.&..".-"..l<....|
00000020 d7 ef 94 78 50 89 18 d2 30 2e 24 4c 24 f5 e9 af |...xP...0.$L$...|
00000030 97 98 c0 a3 b3 11 5b c7 cf 78 85 c9 f8 d8 76 a7 |......[..x....v.|
00000040 26 0a 89 6e 2f 91 0f 25 eb d7 d7 d3 dc 9d 8a 1e |&..n/..%........|
00000050 d6 43 69 b4 03 2d 21 06 e4 62 6c 07 7d 18 73 27 |.Ci..-!..bl.}.s'|
00000060 cd 21 fc 05 2b e3 38 0d ac 46 db 2e 4d 98 d6 0d |.!..+.8..F..M...|
00000070 fb 04 1c 85 59 31 0c 55 be 2c 09 6c 5f 50 a6 ec |....Y1.U.,.l_P..|
00000080 39 03 4f 11 27 d9 ab 4c 1a f6 d7 12 fa dd de cc |9.O.'..L........|
00000090 de ec 02 72 4f 4b e6 e1 12 64 1b ff ad 66 7e 9e |...rOK...d...f~.|
000000a0 ef 9b 69 40 83 d8 84 3a cf ca dc 1c 8a 5a d4 73 |..i@...:.....Z.s|
000000b0 b3 f8 73 54 a2 de 2b c0 11 41 e1 90 1e 88 25 5a |..sT..+..A....%Z|
000000c0 e3 c7 d9 a8 c3 d6 ff 86 6a eb 40 b0 aa d5 4a 23 |........j.@...J#|
000000d0 04 38 02 33 de 0c a5 fa da ee 72 99 99 ca 7e 85 |.8.3......r...~.|
000000e0 2d c9 16 5c de 1a 82 af 7d 48 50 e8 06 b9 ac 8e |-..\....}HP.....|
000000f0 61 c4 25 a2 25 eb a8 0f 03 20 e1 e1 ac 35 22 a7 |a.%.%.... ...5".|
00000100 86 17 54 87 94 07 08 2a 28 40 8a f2 4e 90 2b 34 |..T....*(@..N.+4|
00000110 14 1b b7 04 c0 c7 17 0c ea 40 f3 4d 55 80 c5 69 |.........@.MU..i|
00000120 eb 62 1f b9 4c c8 af 96 ab ed a5 68 60 a9 16 dc |.b..L......h`...|
00000130 f4 4e 04 ec 7f 6d 1e 9f fd 9a 37 cb eb 4b 7a 15 |.N...m....7..Kz.|
00000140 e4 79 52 60 7f 1c 26 41 4c 09 8c e0 29 4d fa 7d |.yR`..&AL...)M.}|
00000150 a1 00 cd 0d cf b1 e7 2d e5 70 46 2e d1 ba 54 07 |.......-.pF...T.|
00000160 97 67 14 5c ce 2e 26 27 b0 c2 c9 40 6e de 7a bf |.g.\..&'...@n.z.|
00000170 99 cc 66 41 d0 4f 86 ec 5e 7d 81 bd 64 c5 37 f7 |..fA.O..^}..d.7.|
00000180 de a2 d6 34 08 5a 4a 17 00 fa f2 38 c1 1d 64 1a |...4.ZJ....8..d.|
00000190 fd e0 4e fb f4 73 63 13 68 d9 34 26 31 d7 48 a0 |..N..sc.h.4&1.H.|
000001a0 f6 75 d4 01 5d 47 45 be 5a 74 93 79 13 18 01 1d |.u..]GE.Zt.y....|
000001b0 ea 82 b5 21 7b 1b 4a 17 2f 20 b3 84 c5 44 00 fe |...!{.J./ ...D..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 90 fb 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


=============================== StdErr Messages: ===============================

unlzma: Decoder error