[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2024-06-13 Thread Mate Kukri
Ubuntu 'Precise Pangolin' is no longer supported, so i'll be closing
this bug.

If anyone is still experiencing this issue on modern Ubuntu releases,
please comment and/or open a new bug.

** Changed in: grub2 (Ubuntu)
   Status: Confirmed => Won't Fix

** Changed in: shim-signed (Ubuntu)
   Status: New => Won't Fix

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

Title:
  trusty upgrade: grub-install fails with odd file error

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2016-04-09 Thread jandro
Running into a similar issue with shim-signed:

https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1565578

** Also affects: shim-signed (Ubuntu)
   Importance: Undecided
   Status: New

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

Title:
  trusty upgrade: grub-install fails with odd file error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2014-03-07 Thread Alberto Salvia Novella
It prevents the package (or a dependent one) from functioning correctly
at all.

** Changed in: grub2 (Ubuntu)
   Importance: Undecided = High

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

Title:
  trusty upgrade: grub-install fails with odd file error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2014-02-22 Thread medb
I had the same problem because the /boot/efi partition was formatted in
HFS+ file system. But grub-install doesn't allow this, even if it
mounted as read-write.

Previously the /usr/sbin/grub-install file was a script and I have commented 
this check. Now it's binary file so I can't do this.
Example of disabling efi partition check if /usr/sbin/grub-install file is 
script:

if test -n $efidir; then
efi_fs=`$grub_probe --target=fs --device-map=${device_map} ${e$
#   if test x$efi_fs = xfat; then :; else
#   gettext_printf %s doesn't look like an EFI partition.\n ${ef$
#   efidir=
#   fi
fi

So I have come up with the next hack:
1. Backup all files from /boot/efi  partition
2. Format /boot/efi partition to FAT file system and mount it to the /boot/efi 
path
3. Copy all files backed up from the original  /boot/efi partition to the new 
one
4. Run `sudo grub-install` and `sudo dpkg --configure grub-efi-amd64`. Should 
complete successfully.
5. Backup all files from the /boot/efi  partition after successful grub 
upgrade/install
6. Format /boot/efi partition to HFS+ file system and mount it to the /boot/efi 
path
7. Copy all files backed up from the /boot/efi partition after grub 
upgrade/install to the new one
8. Update /etc/fstab to mount the /boot/efi partition during boot

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

Title:
  trusty upgrade: grub-install fails with odd file error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2014-02-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: grub2 (Ubuntu)
   Status: New = Confirmed

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

Title:
  trusty upgrade: grub-install fails with odd file error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1282375] Re: trusty upgrade: grub-install fails with odd file error

2014-02-19 Thread David Britton
** Attachment added: grub-install -v output
   
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1282375/+attachment/3987680/+files/grub-install-v-output.txt

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

Title:
  trusty upgrade: grub-install fails with odd file error

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs