[Bug 1187345] Re: package grub-efi-amd64 2.00-13ubuntu3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
Gerald Krottendorfer
gerald.krottendorfer at gmx.net
Fri Jun 7 15:07:07 UTC 2013
I tried your sugestions but was not succesfull either!
1) I first removed grub-pc. A window pops up, asking me whether I wnat to remove all grub files, I agreed.
sudo -s
apt-get --purge remove grub-pc
2)ThenI tried your original skript, with the changes in the for loop:
sudo -s
apt-get --purge remove grub-pc
apt-get install --reinstall grub-efi
mount /dev/sda8 /mnt
mount /dev/sda1 /mnt/boot/efi
for f in sys proc dev dev/pts ; do mount --bind /$f /mnt/$f ; done
chroot /mnt
grub-install /dev/sda
source_dir existiert nicht. Bitte geben Sie --target oder --directory an
3) since I got this "source_dir" error i tired this;
grub-install --directory=/usr/lib/grub/x86_64-efi /dev/sda
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
installation beendet. Keine Fehler aufgetreten.
modprobe efivars
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.8.0-19-generic/modules.dep.bin'
4) doesn't look very successful either -- therefore I tried to run update-grub instead. I found this somewhere in the WWW.
update-grub
grub.cfg wird erstellt …
Linux-Abbild gefunden: /boot/vmlinuz-3.8.0-23-generic
initrd-Abbild gefunden: /boot/initrd.img-3.8.0-23-generic
Windows Recovery Environment (loader) auf /dev/sda1 gefunden
Windows Recovery Environment (loader) auf /dev/sda5 gefunden
erledigt
5) reboot the laptop with:
"load legacy option ROM" <ENABLED>
boot list option <UEFI>
->
error: file '/boot/grub/i386-pc/normal.mod' not found
grub resvue>
5) reboot the laptop with:
"load legacy option ROM" <DISABLED>
boot list option <UEFI>
->
start PXE over IPV4 ESC->
start PXE over IPV6 ESC->
no boot device found
#############################################
I have 3 questions:
1) since "grub-install /dev/sda" did not work I have started "grub-install --directory=/usr/lib/grub/x86_64-efi /dev/sda"
Does this make sense?? I am not familiar with grub-install and its options, maybe the
"--directory=/usr/lib/grub/x86_64-efi /dev/sda" option is nonsens!?!
2) same question with the "update-grub" command. Does this make sense??
3) Would it help to recover the boot sector with an image which I made
before I installed ubuntu (a windows 8 only install) and afterwards try
to install grub using your script?
Tx in advance for your help,
Gerald
--
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/1187345
Title:
package grub-efi-amd64 2.00-13ubuntu3 failed to install/upgrade:
Unterprozess installiertes post-installation-Skript gab den Fehlerwert
1 zurück
Status in “grub2” package in Ubuntu:
Incomplete
Bug description:
dual boot windows 8 + ubuntu 13.04:
windows 8 preinstalled on dell inspiron 15r se 7520
install ubuntu
run bootrepair disk
-> rund fine, but fan turns on / off, without intermediate speed settings
therefore tried to install new AMD/ATI Catalyst AMD Radeon 7xxM Graphiccard driver ->
xwindows crashes -> reinstall ubuntu
windows 8 was gone (i guess my fault..) ->
recovery of W8
install ubuntu
bootrepair disk ->
ubuntu, W8 dual boot working fine, fan issue not solved yet.
************************
one think that is very strange with this laptop:
cant boot from DVD until I switched to "legacy boot mode" which forces me to turn secure EFI mode off.
(Still using EFI mode)
Internet says I'm not the only one with this issue..
ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: grub-efi-amd64 2.00-13ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Mon Jun 3 22:50:02 2013
ErrorMessage: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
InstallationDate: Installed on 2013-06-03 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
InvalidGrubScript: /etc/grub.d/25_custom
MarkForUpload: True
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-23-generic root=UUID=00c682df-dc04-4830-b90e-0a2f9e3158eb ro quiet splash vt.handoff=7
SourcePackage: grub2
Title: package grub-efi-amd64 2.00-13ubuntu3 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1187345/+subscriptions
More information about the foundations-bugs
mailing list