[Bug 1007988] Re: No Ubuntu or Windows boot after failed boot-repair

YannUbuntu yannubuntu at gmail.com
Sun Jun 3 21:51:56 UTC 2012


Thanks Paul for reporting this bug.
The problem is that there are errors when reinstalling the GRUB of your Ubuntu 12.04 in the MBR of sda:

1) update-grub returns the following error:
/usr/sbin/grub-mkconfig: 1: /usr/sbin/grub-mkconfig: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found

2) grub-setup /dev/sda returns the following error:
error: cannot stat /boot/grub/boot.img.

3) grub-install --recheck /dev/sda returns the following error:
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/grub-install: 1: /usr/sbin/grub-install: sed: not found
/usr/sbin/: Not found.

I hope a GRUB expert can interpret those errors.  (FYI Boot-Repair uses
the above commands via a chroot in the 12.04)


** Summary changed:

- No Ubuntu or Windows boot after failed boot-repair
+ grub-install returns "1: /usr/sbin/grub-install: sed: not found" error

** Changed in: boot-repair
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1007988

Title:
  grub-install returns "1: /usr/sbin/grub-install: sed: not found" error

Status in Boot-Repair:
  Triaged
Status in “grub2” package in Ubuntu:
  New

Bug description:
  The original problem was that Ubuntu would not launch on my dual boot
  machine.  I got errors like: "failed command: read DMA EXT" and
  "status DRDY ERR" and "error UNC."  Messages that made me wonder about
  hard drive failure.  However, after I ran boot-repair (from an Ubuntu
  12.04 live CD) and it failed, I lost my boot screen and couldn't get
  into Ubuntu or Windows.  All the disk scans I ran showed no hard drive
  problems..  I got failure messages during the boot repair.  Here is
  the report from the repair: http://paste.ubuntu.com/1019494/

To manage notifications about this bug go to:
https://bugs.launchpad.net/boot-repair/+bug/1007988/+subscriptions




More information about the foundations-bugs mailing list