[Bug 1354948] Re: Installed Ubuntu 14.04.1 Desktop LTS using RAID1+LVM and Grub failed to install

gunxfight 1354948 at bugs.launchpad.net
Fri Feb 20 22:38:59 UTC 2015


I might have had the same problem as you, but i can't check any of the
log files because the computer isn't  accessible to me anymore.

The problem i had when grub-install was being ran from the installer was
it was trying to install grub to /dev/sda which was the USB device i was
actually booting Ubuntu 14.04.2 from.  I dropped into a terminal but
grub-install wasn't a command.  I used the boot repair disk to fix it,
you can find that here: https://help.ubuntu.com/community/Boot-Repair

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

Title:
  Installed Ubuntu 14.04.1 Desktop LTS using RAID1+LVM and Grub failed
  to install

Status in grub-installer package in Ubuntu:
  Confirmed

Bug description:
  I booted on Ubuntu 14.04.1 Desktop 64 bit (using the USB), went to ry
  Ubuntu and partition the 2 HDD (SATA 320GB) as I wanted, which is:

    - 2x 512MB as RAID1 (md) w/ ext4 for /boot
    - 2x 6GB as RAID0 (md) for swap
    - 2x 64GB as RAID1 (md) + 1 Logical Volume (LVM2) using all available space with ext4 as /
    - 2x remainder space as BTRFS RAID1 configuration for /home

  Why so complex? I had first only the /boot and swap on software RAID, the rest was under BTRFS with 2 volumes (for home and for /), but it was problematic to boot. So I "moved" the / to another more classical partition scheme using mdadm and lvm.
  But it does not work.

  I did this to at least get grub-install to report no blocking error:
  sudo -s
  echo raid1 >> /target/etc/modules
  echo dm-mod >> /target/etc/modules
  echo dm-snapshot >> /target/etc/modules
  echo dm-mirror >> /target/etc/modules
  echo raid1 >> /target/etc/initramfs-tools/modules
  echo dm-mod >> /target/etc/initramfs-tools/modules
  echo dm-snapshot >> /target/etc/initramfs-tools/modules
  echo dm-mirror >> /target/etc/initramfs-tools/modules
  mount --bind /dev /target/dev
  mount --bind /dev/pts /target/dev/pts
  mount --bind /proc /target/proc
  mount --bind /sys /target/sys
  chroot /target grub-install /dev/sda
  chroot /target grub-install /dev/sdb

  The command grub-install is outputing in both cases this:
  Installing for i386-pc platform.
  You have a memory leak (not released memory pool):
   [0x1b765f0] dtree
  Internal error: Unreleased memory pool(s) found.
  You have a memory leak (not released memory pool):
   [0x1b774f0] dtree
  Internal error: Unreleased memory pool(s) found.
  You have a memory leak (not released memory pool):
   [0x1b79a70] dtree
  Internal error: Unreleased memory pool(s) found.
  Installation finished. No error reported.

  
  I will report after reboot if it worked or not.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: ubiquity 2.18.8
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  CasperVersion: 1.340
  Date: Sun Aug 10 23:13:35 2014
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  LiveMediaBuild: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: grub-installer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1354948/+subscriptions



More information about the foundations-bugs mailing list