[Bug 1069178] [NEW] grub-install doesn't work (it says "source_dir doesn't exist")

Mustafa Muhammad 1069178 at bugs.launchpad.net
Sat Oct 20 19:08:42 UTC 2012


Public bug reported:

When I run:

sudo grub-install /dev/sda

I get:

source_dir doesn't exist. Please specify --target or --directory

and even setting the directory doesn't work:

sudo grub-install --directory=/boot/ /dev/sda

/usr/sbin/grub-install: 357: .: Can't open /boot//modinfo.sh

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: grub2-common 2.00-7ubuntu11
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 20 21:53:07 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal running-unity

-- 
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/1069178

Title:
  grub-install doesn't work (it says "source_dir doesn't exist")

Status in “grub2” package in Ubuntu:
  New

Bug description:
  When I run:

  sudo grub-install /dev/sda

  I get:

  source_dir doesn't exist. Please specify --target or --directory

  and even setting the directory doesn't work:

  sudo grub-install --directory=/boot/ /dev/sda

  /usr/sbin/grub-install: 357: .: Can't open /boot//modinfo.sh

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: grub2-common 2.00-7ubuntu11
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Sat Oct 20 21:53:07 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1069178/+subscriptions




More information about the foundations-bugs mailing list