New install not working no such device

Asked by arnold

Hello,

I just installed ubuntu on its own hard drive and when I restart the computer I get no such device be255a42-dooo-445f-b2b2-93cfeo2433d6 and the grub rescue prompt. I try to boot from the drive with windows 7 on it but it still gives me the same error and grub rescue prompt. How can I get back to windows?

Boot Info Script 0.61 [1 April 2012]

============================= 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
    in partition 1 for /boot/grub.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdb 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.

sda1: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb5: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 206,847 204,800 7 NTFS / exFAT / HPFS
/dev/sda2 206,848 976,771,071 976,564,224 7 NTFS / exFAT / HPFS

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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 * 2,048 147,918,847 147,916,800 83 Linux
/dev/sdb2 147,920,894 156,301,311 8,380,418 5 Extended
/dev/sdb5 147,920,896 156,301,311 8,380,416 82 Linux swap / Solaris

"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 946E45E26E45BDAC ntfs System Reserved
/dev/sda2 26E24829E2480013 ntfs
/dev/sdb1 35dde708-89e0-4597-bdcf-65eccc2e6ce9 ext4
/dev/sdb5 663c3b43-9294-44a2-9bc4-44acd31f2fd9 swap
/dev/sr0 iso9660 Ubuntu 12.04 LTS i386

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

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /media/System Reserved fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda2 /media/26E24829E2480013 fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sr0 /cdrom iso9660 (ro,noatime)

=========================== sdb1/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='(hd1,msdos1)'
search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd1,msdos1)'
  search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
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 ###
function gfxmode {
    set gfxpayload="$1"
    if [ "$1" = "keep" ]; then
        set vt_handoff=vt.handoff=7
    else
        set vt_handoff=
    fi
}
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 3.2.0-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    linux /boot/vmlinuz-3.2.0-24-generic-pae root=UUID=35dde708-89e0-4597-bdcf-65eccc2e6ce9 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.2.0-24-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    echo 'Loading Linux 3.2.0-24-generic-pae ...'
    linux /boot/vmlinuz-3.2.0-24-generic-pae root=UUID=35dde708-89e0-4597-bdcf-65eccc2e6ce9 ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-24-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=35dde708-89e0-4597-bdcf-65eccc2e6ce9 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.2.0-23-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    echo 'Loading Linux 3.2.0-23-generic-pae ...'
    linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=35dde708-89e0-4597-bdcf-65eccc2e6ce9 ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-23-generic-pae
}
}
### 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='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='(hd1,msdos1)'
    search --no-floppy --fs-uuid --set=root 35dde708-89e0-4597-bdcf-65eccc2e6ce9
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos1)'
    search --no-floppy --fs-uuid --set=root 946E45E26E45BDAC
    chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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
# / was on /dev/sdb1 during installation
UUID=35dde708-89e0-4597-bdcf-65eccc2e6ce9 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=663c3b43-9294-44a2-9bc4-44acd31f2fd9 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
--------------------------------------------------------------------------------

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

           GiB - GB File Fragment(s)

               = boot/grub/core.img 1
               = boot/grub/grub.cfg 1
               = boot/initrd.img-3.2.0-23-generic-pae 1
               = boot/initrd.img-3.2.0-24-generic-pae 1
               = boot/vmlinuz-3.2.0-23-generic-pae 1
               = boot/vmlinuz-3.2.0-24-generic-pae 2
               = initrd.img 1
               = vmlinuz 1

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

Unknown BootLoader on sdb2

00000000 e2 da c7 b0 cc d7 4e 84 6e 4e d8 71 39 f2 06 8c |......N.nN.q9...|
00000010 a7 17 9f 81 38 4c 47 ac a7 ef 5d e7 b9 ba 30 e9 |....8LG...]...0.|
00000020 40 c3 79 b1 31 6e ee a7 b2 92 5a fc 4b 2a de 6a |@.y.1n....Z.K*.j|
00000030 11 3f 93 69 6c 58 68 2c 4e 54 32 45 fc 9f 72 b2 |.?.ilXh,NT2E..r.|
00000040 79 db 56 94 bf 39 39 21 7b 33 5e 85 45 9e 60 ec |y.V..99!{3^.E.`.|
00000050 89 64 9f 27 1b ba 87 68 a4 d5 15 c3 5e f5 9b f2 |.d.'...h....^...|
00000060 78 cf b6 1a 39 d9 e4 81 cf 7c 66 d0 1f 5e 26 ca |x...9....|f..^&.|
00000070 43 05 df f2 0e b4 2d db 93 1a 8b 5d 7e 65 32 55 |C.....-....]~e2U|
00000080 24 66 7c 6a ac f7 31 aa a4 17 9c f6 42 3f 15 e9 |$f|j..1.....B?..|
00000090 43 2d 17 c6 67 93 92 8f 4d a6 9f 4d b8 04 b5 82 |C-..g...M..M....|
000000a0 fe 38 69 e2 ae 3b eb 13 1a 49 a1 c2 fb db 35 c1 |.8i..;...I....5.|
000000b0 c6 fa c4 bc 51 e7 d4 91 4d 18 11 bf f0 3b 98 9f |....Q...M....;..|
000000c0 2b 07 47 cc f9 14 a5 75 c3 e6 93 58 f3 a1 d0 a4 |+.G....u...X....|
000000d0 cf fc b1 ee 96 9d eb 9d ff e6 f2 ec 0e 92 93 2c |...............,|
000000e0 18 42 82 75 45 4c ec d0 42 fa d6 c9 37 eb d6 02 |.B.uEL..B...7...|
000000f0 fe 4f db ca f1 1d 01 ca 47 e5 48 0f cc e7 a9 8f |.O......G.H.....|
00000100 0c db 35 0f 0d 22 f6 f3 24 ce db 81 69 52 26 3f |..5.."..$...iR&?|
00000110 49 f8 ca a0 bf 83 5b 4d 39 58 ff b9 2a c6 b7 d1 |I.....[M9X..*...|
00000120 a0 7f 3a 3c 3e dd 6b 15 94 a7 a7 d6 c2 fc 39 78 |..:<>.k.......9x|
00000130 2d 87 ca 5f 88 a7 a8 a9 5f f9 b1 6d d4 6f 46 f2 |-.._...._..m.oF.|
00000140 86 95 94 bf d8 51 96 03 55 96 6c 80 27 89 c6 7a |.....Q..U.l.'..z|
00000150 5c 41 cd 4f ba c4 0f 9e 2c 18 cb f0 56 cb fc 9f |\A.O....,...V...|
00000160 a6 e6 7f 3f 18 0f 94 cf 8a e4 80 49 2c c2 93 25 |...?.......I,..%|
00000170 56 4f 9c b7 7d 32 8a e5 26 ef 1b 1d e1 3d 3a 48 |VO..}2..&....=:H|
00000180 27 05 f3 6f 32 a1 72 d1 37 36 c1 30 e4 ab 04 09 |'..o2.r.76.0....|
00000190 33 52 fa 89 39 df 63 be e4 14 13 94 df 64 26 3f |3R..9.c......d&?|
000001a0 68 03 f6 ec 67 79 a9 2e 61 46 a8 0f ca 02 eb fc |h...gy..aF......|
000001b0 fa 5a de 88 4b 30 f0 1d a0 ff 08 af cd 9a 00 fe |.Z..K0..........|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 e0 7f 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: ===============================

xz: (stdin): Compressed data is corrupt
xz: (stdin): Compressed data is corrupt
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Barry Drake (b-drake) said :
#1

If you used the defaults in the Ubuntu install, this should not have happened. Normally the defaults on the install disk install grub2 to the disk onto which you are installing Ubuntu. If you can boot Ubuntu from the live DVD, try this:

sudo -i
mount /dev/sda7 /mnt
grub-install --root-directory=/mnt/ /dev/sda

#in my case, drive got automounted at /media/****

First, you will need to use gparted to see which your Ubuntu partition is. This will be the partition that you want to mount. It is unlikely to be /dev/sda7 it will be sdb somethinhg. Your partitioning is not what I'd expect from a default installation, so if you come back to us, please state exactly how you did the install and what options you chose.

After you have done that, if the Ubuntu installation is a valid one, you should be able to boot into Ubuntu. If not, I imagine your installation of Ubuntu is not a valid one and you need to re-install. If you used the iso to make a CD under Windows, this is likely to be your problem - the iso is oversized for a CD and Windows messes it up! You need to burn to a DVD. If that is the case, you are unlikely to be able to boot into the live-CD and run from there.

Can you help with this problem?

Provide an answer of your own, or ask arnold for more information if necessary.

To post a message you must log in.