Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: error: no such device: grub rescue>

  1. #1
    Join Date
    Oct 2011
    Beans
    9

    error: no such device: grub rescue>

    I tried to install ubuntu alongside Windows 7 on my computer this afternoon. Now I cannot boot any operating system anymore, unfortunately.

    When trying to boot, the following error message appears on my display:

    error: no such device: c4d250ab-b08f-4a9a-84b9-344d9ea61e03.
    grub rescue>

    The following steps led to this problem:

    1) First try with wubi

    - I made a new partition of 100MB, using the Windows 7 system tools. I gave this partition the name U: and restarted the computer twice
    - I then downloaded Wubi from ubuntu.com/download and tried to install ubuntu 11.04 on this new partition U:
    - Installing worked well, but after rebooting an error message appeared (after ubuntu sucessfully booted) and told me "no root file system is defined". When I clicked on "okay", the message just appeared again and did not let me continue.
    - Thus I un-installed ubuntu 11.04 again in Windows 7 (using the Windows 7 system tools to un-install programs)

    2) Second try

    - In a second attempt I first deleted the before newly made partition (i.e. I told windows to let this space free, can't remember how that was called actually, this partition was un-used now however, and had no letter anymore) and followed the following step-by-step explanation how to install ubuntu:
    http://blog.sudobits.com/2011/04/23/...rom-usb-or-cd/
    - The installation worked well, then it told me to re-boot to finish the installation
    - My computer did not shut down properly but stopped doing anything while shutting down. After 20 minutes I manually turned it off. After rebooting, the error message which I posted above, appeared.

    3) Try to rescue

    - I then booted ubuntu from my USB stick and tried to re-install ubuntu from there
    - The installation worked properly again (this time I chose to "install ubuntu alongside Windows 7" instead of the bottom option, where you can assign space on your hard disk manually)
    - At the end of the installation it told me to re-boot my computer
    - The computer did not shut down
    - When manually rebooting -> the same problem as before.

    Can anybody help me, please? Thank you very much!!
    Last edited by MNBill; October 4th, 2011 at 11:54 AM.

  2. #2
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: error: no such device: grub rescue>

    The first step is to boot the Ubuntu USB and select "Try it" - boot to the desktop and post the results of the bootinfoscript.

  3. #3
    Join Date
    Oct 2010
    Location
    Pikes Peak
    Beans
    1,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error: no such device: grub rescue>

    From the grub rescue> prompt, type this command.
    Code:
    ls
    You should see some listing of drive and partition in this format. hd0,3 would translate to the first hard drive and partition 3. Note the hard drive numbering starts at 0 but the partition numbering starts at 1.

    Then follow these commands. If you get any errors or have any questions, just post them.
    1. set prefix=(hdX,Y)/boot/grub
    Use the values determined earlier. Example: If the Ubuntu system is on sda5, enter: set prefix=(hd0,5)/boot/grub
    2.* set root=(hdX,Y)
    Example: set root=(hd0,5)
    3. insmod normal
    Attempt to load the normal module.
    4. normal
    Activate the normal module. If successful, the GRUB 2 menu may appear.
    5. set
    (Optional) Review the current settings.
    6. ls /boot
    (Optional) Check for a vmlinuz and a initrd.img entry.
    7. insmod linux
    An error message usually means the path is incorrect.
    8.* linux /vmlinuz root=/dev/sdXY ro
    Selects the latest kernel. Example: linux /vmlinuz root=/dev/sda5 ro
    9. initrd /initrd.img
    Selects the latest initrd image.
    10. boot
    This should bring up grub. I don't think that the installation of grub finished and that is where it hung. See what entries you have and try to boot ubuntu. Then in ubuntu install boot-repair from the software center. Have it reinstall grub. This could be done manually but boot repair would be easier and provide a summary you could post the url for if you have further questions.
    https://help.ubuntu.com/community/Boot-Repair

    If any of this doesn't go as expected, just post the details.
    Jim
    Toshiba Satellite L505-S6946
    Precise, Fedora, Kororaa, Bodhi

  4. #4
    Join Date
    Oct 2011
    Beans
    9

    Re: error: no such device: grub rescue>

    Hi bcbc, thanks for your help.

    These are the results of the bootinfoscript:

    Boot Info Script 0.60 from 17 May 2011


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

    => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdc.
    => Grub2 (v1.99) is installed in the MBR of /dev/mapper/isw_dffiejdfai_ARRAY1
    and looks at sector 1 of the same hard drive for core.img. core.img is at
    this location and looks in partition 5 for /boot/grub.

    sdc1: __________________________________________________ ________________________

    File system: vfat
    Boot sector type: SYSLINUX 4.04 2011-04-18
    Boot sector info: Syslinux looks at sector 2112440 of /dev/sdc1 for its
    second stage. SYSLINUX is installed in the directory.
    The integrity check of the ADV area failed. No errors
    found in the Boot Parameter Block.
    Operating System:
    Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys

    isw_dffiejdfai_ARRAY11: __________________________________________________ ______

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

    isw_dffiejdfai_ARRAY12: __________________________________________________ ______

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

    isw_dffiejdfai_ARRAY13: __________________________________________________ ______

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

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

    Drive: sdc __________________________________________________ ___________________

    Disk /dev/sdc: 16.0 GB, 16001036288 bytes
    32 heads, 63 sectors/track, 15501 cylinders, total 31252024 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/sdc1 * 63 31,250,015 31,249,953 b W95 FAT32


    Drive: isw_dffiejdfai_ARRAY1 __________________________________________________ ___________________

    Disk /dev/mapper/isw_dffiejdfai_ARRAY1: 2000.4 GB, 2000405397504 bytes
    255 heads, 63 sectors/track, 243202 cylinders, total 3907041792 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/mapper/isw_dffiejdfai_ARRAY11 63 80,324 80,262 de Dell Utility
    /dev/mapper/isw_dffiejdfai_ARRAY12 * 81,920 27,865,087 27,783,168 7 NTFS / exFAT / HPFS
    /dev/mapper/isw_dffiejdfai_ARRAY13 27,865,088 3,702,237,183 3,674,372,096 7 NTFS / exFAT / HPFS


    "blkid" output: __________________________________________________ ______________

    Device UUID TYPE LABEL

    /dev/loop0 squashfs
    /dev/mapper/isw_dffiejdfai_ARRAY1p1 5450-4444 vfat DellUtility
    /dev/mapper/isw_dffiejdfai_ARRAY1p2 82DA4512DA4503BF ntfs RECOVERY
    /dev/mapper/isw_dffiejdfai_ARRAY1p3 D4F84A64F84A44C8 ntfs OS
    /dev/sda isw_raid_member
    /dev/sdb isw_raid_member
    /dev/sdc1 64ED-5B1A vfat PENDRIVE

    ========================= "ls -R /dev/mapper/" output: =========================

    /dev/mapper:
    control
    isw_dffiejdfai_ARRAY1
    isw_dffiejdfai_ARRAY1p1
    isw_dffiejdfai_ARRAY1p2
    isw_dffiejdfai_ARRAY1p3

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

    Device Mount_Point Type Options

    /dev/loop0 /rofs squashfs (ro,noatime)
    /dev/sdc1 /cdrom vfat (ro,relatime,fmask=0022,dmask=0022,codepage=cp437, iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


    =========================== sdc1/boot/grub/grub.cfg: ===========================

    --------------------------------------------------------------------------------

    if loadfont /boot/grub/font.pf2 ; then
    set gfxmode=auto
    insmod efi_gop
    insmod efi_uga
    insmod gfxterm
    terminal_output gfxterm
    fi

    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray

    menuentry "Try Ubuntu without installing" {
    set gfxpayload=keep
    linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
    initrd /casper/initrd.lz
    }
    menuentry "Install Ubuntu" {
    set gfxpayload=keep
    linux /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash --
    initrd /casper/initrd.lz
    }
    menuentry "Check disc for defects" {
    set gfxpayload=keep
    linux /casper/vmlinuz boot=casper integrity-check quiet splash --
    initrd /casper/initrd.lz
    }
    --------------------------------------------------------------------------------

    ========================= sdc1/syslinux/syslinux.cfg: ==========================

    --------------------------------------------------------------------------------
    # D-I config version 2.0
    include menu.cfg
    default vesamenu.c32
    prompt 0
    timeout 50

    # If you would like to use the new menu and be presented with the option to install or run from USB at startup, remove # from the following line. This line was commented out (by request of many) to allow the old menu to be presented and to enable booting straight into the Live Environment!
    # ui gfxboot bootlogo
    --------------------------------------------------------------------------------

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

    GiB - GB File Fragment(s)

    ?? = ?? boot/grub/grub.cfg 1

    ================= sdc1: Location of files loaded by Syslinux: ==================

    GiB - GB File Fragment(s)

    ?? = ?? ldlinux.sys 1
    ?? = ?? syslinux/gfxboot.c32 1
    ?? = ?? syslinux/syslinux.cfg 1
    ?? = ?? syslinux/vesamenu.c32 1

    ============== sdc1: Version of COM32(R) files used by Syslinux: ===============

    syslinux/gfxboot.c32 : COM32R module (v4.xx)
    syslinux/vesamenu.c32 : COM32R module (v4.xx)

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

    Unknown BootLoader on isw_dffiejdfai_ARRAY11


    Unknown BootLoader on isw_dffiejdfai_ARRAY12


    Unknown BootLoader on isw_dffiejdfai_ARRAY13



    ========= Devices which don't seem to have a corresponding hard drive: =========

    sdd sde sdf sdg

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

    unlzma: Decoder error
    /home/ubuntu/Desktop/boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY11: No such file or directory
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY11: No such file or directory
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY12: No such file or directory
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY12: No such file or directory
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY13: No such file or directory
    hexdump: /dev/mapper/isw_dffiejdfai_ARRAY13: No such file or directory

  5. #5
    Join Date
    Oct 2011
    Beans
    9

    Re: error: no such device: grub rescue>

    Hi Blasphemist, thanks for your help, too!

    Typing "ls" gives me the following line:

    (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

    Since I installed, un-installed and re-installed ubuntu, I have no clue on which partition my actual installation is, sorry. Can I find that out somehow?

    Thanks a lot!

  6. #6
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: error: no such device: grub rescue>

    What sort of raid are you running? Was the error you got during the wubi install "no root file system defined"?

  7. #7
    Join Date
    Oct 2011
    Beans
    9

    Re: error: no such device: grub rescue>

    - What's the meaning of "raid"? Sorry, I'm a total noob in this...

    - Yes, exactly, the error was "no root file system is defined"

  8. #8
    Join Date
    Oct 2010
    Location
    Pikes Peak
    Beans
    1,175
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: error: no such device: grub rescue>

    These commands should let you see what partition you should use.
    ls (hdX,Y)/
    This result should include vmlinuz and initrd.img
    ls (hdX,Y)/boot
    This result should include the specific kernel and initrd.img files
    ls (hdX,Y)/boot/grub
    Included should be numerous *.mod files and the grub.cfg file, as well as various *.img files.
    This will determine which partition has the grub files. You need to use hd0 and try 1, 2 and 3 for the partitions. Example-
    Code:
    ls (hd0,1)/
    ls is like the windows dir command.
    Jim
    Toshiba Satellite L505-S6946
    Precise, Fedora, Kororaa, Bodhi

  9. #9
    Join Date
    Nov 2009
    Location
    North Vancouver
    Beans
    Hidden!
    Distro
    Edubuntu 14.04 Trusty Tahr

    Re: error: no such device: grub rescue>

    Quote Originally Posted by MNBill View Post
    - What's the meaning of "raid"? Sorry, I'm a total noob in this...

    - Yes, exactly, the error was "no root file system is defined"
    Well... it looks like your computer came with a fakeraid setup - and some of these are not supported by Ubuntu e.g. Raid 0 or Raid 10 (1+0). I don't know a whole lot about raids but I'm surprised that you were able to install via the USB if Wubi failed. You should have seen that 'no root file system' error in both cases.

    I'm not sure how to approach this, but I'd start by booting a windows repair disk and running: bootrec /fixmbr
    Hopefully that will get windows running at least

  10. #10
    Join Date
    Oct 2011
    Beans
    9

    Re: error: no such device: grub rescue>

    Hi Blasphemist,

    I just tried the ls (hd0,X) command with different X's, there is always the same error:

    grub rescue> ls (hd0,1)/
    error: unknown filesystem.
    grub rescue> ls (hd0,2)/
    error: unknown filesystem.
    grub rescue> ls (hd0,3)/
    error: unknown filesystem.

    The ls (hd0,X)/boot command gives the following output:

    grub rescue> ls (hd0,1)/boot
    error: no such partition.
    grub rescue> ls (hd0,2)/boot
    error: no such partition.
    grub rescue> ls (hd0,3)/boot
    error: unknown filesystem.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •