[Bug 1023064] Re: Ubuntu installer crashed installing bootloader on btrfs+hw_raid5

Damiön la Bagh 1023064 at bugs.launchpad.net
Tue Jul 15 20:06:14 UTC 2014


No, Phillip, you are not up to date in your filesystem technologies.

I have 5 machines running with btrfs on raw disks with no partions and
no partition tables that boot Ubuntu just fine (some legacy bios and
other UEFI). As designed by the btrfs team (borrowed from the ZFS
filesystem methodology)

The trick is to install grub to /@/boot

using this command
mount /dev/sda /mnt
grub-install --boot-directory=/mnt/@/boot /dev/sda

If these two steps would be loaded into the Ubuntu Installer then there
would be no problems installing and booting btrfs raw disks.

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

Title:
  Ubuntu installer crashed installing bootloader on btrfs+hw_raid5

Status in “grub-installer” package in Ubuntu:
  Invalid

Bug description:
  Distributor ID:	Ubuntu
  Description:	Ubuntu 12.04 LTS
  Release:	12.04
  Codename:	precise
  LiveUSB 64-bit

  ubuntu at ubuntu:~$ apt-cache policy grub-installer
  N: Unable to locate package grub-installer

  Setup:
  Hardware Raid controller 768000MB RAID5 over 4 disks   mount point /home fstype btrfs
  Single disk (outside the raid) 320000MB partition1 mount / fstype btrfs
              10000 partition0 mount /swap fstype linux-swap                              

  Expected: grub-installer writes the booth loader to device /dev/sdc
  ubuntu installs, and we can use the computer

  What really happened:
  during the install of Ubuntu when the grub-installer went to write out grub the installer crashed.

  Will have to try again with a seperate /boot partition outside the
  btrfs file system to see if I can get it to start that way.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: ubiquity 2.10.16
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic x86_64
  ApportVersion: 2.0.1-0ubuntu5
  Architecture: amd64
  CasperVersion: 1.315
  Date: Tue Jul 10 18:57:52 2012
  InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.lz splash -- BOOT_IMAGE=/casper/vmlinuz
  LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  ProcEnviron:
   LANGUAGE=nl_NL.UTF-8
   TERM=unknown
   PATH=(custom, no user)
   LANG=nl_NL.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/1023064/+subscriptions



More information about the foundations-bugs mailing list