grub rescue prompt after installation

Asked by William Batie on 2010-07-27

error: no such device: 352ad597-7049-425c-9c24-467768080a86. Installed OK on laptop with CD, but this install was done with USB and 64 instead of 32. Can I try reinstalling if 32 bit CD. What about the existing install.
Thanks,
Bill

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
William Batie
Solved:
2010-07-28
Last query:
2010-07-28
Last reply:
2010-07-27
Jim Bauwens (jimbauwens) said : #1

Try booting again from the life usb, and navigate to /boot/grub/ on the computers harddisk (not usb).
Could you post the content of grub.cfg here.

I will try to see if there is a simple solution.

JIm

delance (olivier-delance) said : #2

"352ad597-7049-425c-9c24-467768080a86" is UUID (identifier) of a partition.
In "/boot/grub/config.cfg", the UUIS linked to this partition is probably wrong.
Run command
   sudo blkid
and post result.
Check UUID given against one of "config.cf"g. You can also fix "config.cfg" with UUID given by "sudo blkid".

wojox (wojox) said : #3

William.

Also post back /etc/fstab

William Batie (woodworker02) said : #4

I could not find /boot/grub on hard drive; however, I found that the install took place on a USB Hard Drive. The grub.cfg file is on both the USB Hard Drive and the Main Hard Drive. I can not find "Config.cfg" on either.

The grub.cfg is:
#
# 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 $prefix/grubenv ]; then
  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
}
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
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
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
set locale_dir=($root)/boot/grub/locale
set lang=en
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 echo 'Loading Linux 2.6.32-21-generic ...'
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 82d829c0d829b379
 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 ###

William Batie (woodworker02) said : #5

I could not find /boot/grub on hard drive; however, I found that the install took place on a USB Hard Drive. The grub.cfg file is on both the USB Hard Drive and the Main Hard Drive. I can not find "Config.cfg" on either.
The grub.cfg is:
#
# 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 $prefix/grubenv ]; then
  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
}
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
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
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
set locale_dir=($root)/boot/grub/locale
set lang=en
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 echo 'Loading Linux 2.6.32-21-generic ...'
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 82d829c0d829b379
 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 ###

On Jul 27, 2010, at 12:57 AM, Jim Bauwens wrote:

> Your question #119088 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> Status: Open => Answered
>
> Jim Bauwens proposed the following answer:
> Try booting again from the life usb, and navigate to /boot/grub/ on the computers harddisk (not usb).
> Could you post the content of grub.cfg here.
>
> I will try to see if there is a simple solution.
>
> JIm
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> You received this question notification because you are a direct
> subscriber of the question.
>

William Batie (woodworker02) said : #6

I could not find /boot/grub on hard drive; however, I found that the
install took place on a USB Hard Drive. The grub.cfg file is on both
the USB Hard Drive and the Main Hard Drive. I can not find
"Config.cfg" on either.

The
grub.cfg is:

# 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 $prefix/grubenv ]; then
  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
}
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
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
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
set locale_dir=($root)/boot/grub/locale
set lang=en
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
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro quiet splash
 initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
 recordfail
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 echo 'Loading Linux 2.6.32-21-generic ...'
 linux /boot/vmlinuz-2.6.32-21-generic root=UUID=352ad597-7049-425c-9c24-467768080a86 ro single
 echo 'Loading initial ramdisk ...'
 initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
 insmod ext2
 set root='(hd2,5)'
 search --no-floppy --fs-uuid --set 352ad597-7049-425c-9c24-467768080a86
 linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
 insmod ntfs
 set root='(hd0,1)'
 search --no-floppy --fs-uuid --set 82d829c0d829b379
 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 ###
On Jul 27, 2010, at 2:11 AM, delance wrote:

> Your question #119088 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> delance proposed the following answer:
> "352ad597-7049-425c-9c24-467768080a86" is UUID (identifier) of a partition.
> In "/boot/grub/config.cfg", the UUIS linked to this partition is probably wrong.
> Run command
> sudo blkid
> and post result.
> Check UUID given against one of "config.cf"g. You can also fix "config.cfg" with UUID given by "sudo blkid".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> You received this question notification because you are a direct
> subscriber of the question.
>

William Batie (woodworker02) said : #7

/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="82D829C0D829B379" TYPE="ntfs"
/dev/sdb1: LABEL="MY BOOK 2" UUID="8AA0E157A0E14A71" TYPE="ntfs"
/dev/sdd: UUID="D0D5-8179" TYPE="vfat"
/dev/sdc1: LABEL="WinBook1" UUID="189453D09453AF4E" TYPE="ntfs"
/dev/sdc5: UUID="352ad597-7049-425c-9c24-467768080a86" TYPE="ext4"
/dev/sdc6: UUID="dd2b92fc-92bc-40e6-a0c8-b367790d3e3b" TYPE="swap"
On Jul 27, 2010, at 2:11 AM, delance wrote:

> Your question #119088 on grub2 in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> delance proposed the following answer:
> "352ad597-7049-425c-9c24-467768080a86" is UUID (identifier) of a partition.
> In "/boot/grub/config.cfg", the UUIS linked to this partition is probably wrong.
> Run command
> sudo blkid
> and post result.
> Check UUID given against one of "config.cf"g. You can also fix "config.cfg" with UUID given by "sudo blkid".
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/grub2/+question/119088
>
> You received this question notification because you are a direct
> subscriber of the question.
>

delance (olivier-delance) said : #8

blkid is consistent with grub.cfg
Sorry, no idea

William Batie (woodworker02) said : #10

There is no evidence of Ubuntu on the Master Hard Drive only the USB hard drive wear it installed itself. Wondering about resizing partition with GParted (Vista is all on one partition), unplugging the two USB hard drive and reinstalling. The question is should I use amd64 USB pen or 32 bit CD Live? I need to get Windows running again soon!

William Batie (woodworker02) said : #11

There is no evidence of Ubuntu on the Master Hard Drive only the USB hard drive wear it installed itself. Wondering about resizing partition with GParted (Vista is all on one partition), unplugging the two USB hard drive and reinstalling. The question is should I use amd64 USB pen or 32 bit CD Live? I need to get Windows running again soon!

William Batie (woodworker02) said : #12

Another thought. Just try recovering with Vista and buy a second hard drive?

William Batie (woodworker02) said : #13

I unplugged the USB Hard Drives and Re-installed. Both Ubuntu and Vista boot.

Thanks everyone, Thank you very much. Now I am looking for a Visual Studio substitute. Been looking at smalltalk Visual World if any one has any comments!
Thanks again,
Bill