PDA

View Full Version : [SOLVED] GRUB loading error: no such disk



dinuzz
March 6th, 2010, 09:24 AM
Hi there

Just installed Ubuntu 9.10 on a laptop (IBM Thinkpad T42). When it boots, it takes a while until id loads the OS, and the following error messsage appears before ubuntu starts:

GRUB loading
error: no such disk

But. however it boots into Ubuntu and I am able to work. Just would like to know how to get rid of the error message. Any help?

thanks

dinuzz
March 6th, 2010, 09:35 AM
Here's the boot script result:



Boot Info Script 0.55 dated February 15th, 2010

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

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #5 for /grub.

sda1: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs: /grub/grub.cfg /grub/core.img

S3-root: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 9.10
Boot files/dirs: /etc/fstab

S3-swap_1: __________________________________________________ _______________________

File system:
Boot sector type: -
Boot sector info:
Mounting failed:
mount: unknown filesystem type ''

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000e0325

Partition Boot Start End Size Id System

/dev/sda1 * 63 155,798,369 155,798,307 8e Linux LVM
/dev/sda2 155,798,370 156,296,384 498,015 5 Extended
/dev/sda5 155,798,433 156,296,384 497,952 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/mapper/cryptswap1 96645e06-94bd-4927-b5f7-bbe27c59cded swap
/dev/mapper/S3-root d2e8e819-1f2e-411e-b92b-bc1a795be9ca ext4
/dev/sda1 KOzR3Z-AkJO-Gi1c-4eiH-vJ9r-Xv5e-FM2Cz3 LVM2_member
/dev/sda5 4f49b34a-5ef9-417d-8790-9c7343fd0177 ext2

=============================== "ls -R /dev/mapper/" output: ===============================
/dev/mapper:
control
cryptswap1
cryptswap1_unformatted
S3-root
S3-swap_1

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

/dev/mapper/S3-root / ext4 (rw,errors=remount-ro)
/dev/sda5 /boot ext2 (rw)


============================= sda5/grub/grub.cfg: =============================

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

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod lvm
insmod ext2
set root=(S3-root)
search --no-floppy --fs-uuid --set d2e8e819-1f2e-411e-b92b-bc1a795be9ca
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-20-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 4f49b34a-5ef9-417d-8790-9c7343fd0177
linux /vmlinuz-2.6.31-20-generic root=/dev/mapper/S3-root ro splash quiet
initrd /initrd.img-2.6.31-20-generic
}
menuentry "Ubuntu, Linux 2.6.31-20-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,5)
search --no-floppy --fs-uuid --set 4f49b34a-5ef9-417d-8790-9c7343fd0177
linux /vmlinuz-2.6.31-20-generic root=/dev/mapper/S3-root ro single
initrd /initrd.img-2.6.31-20-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -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 ###

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


80.0GB: grub/core.img
80.0GB: grub/grub.cfg
79.8GB: initrd.img-2.6.31-20-generic
79.7GB: vmlinuz-2.6.31-20-generic

============================== S3-root/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 defaults 0 0
/dev/mapper/S3-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda5 during installation
UUID=4f49b34a-5ef9-417d-8790-9c7343fd0177 /boot ext2 defaults 0 2
#/dev/mapper/S3-swap_1 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/mapper/cryptswap1 none swap sw 0 0

================== S3-root: Location of files loaded by Grub: ==================


.0GB: initrd.img
.0GB: vmlinuz

dinuzz
March 6th, 2010, 02:41 PM
I changed the boot orders in the BIOS, no it works... I disable USB boot and Network boot...