[Bug 1354730] Re: 14.04 grub-install failed: Wrong number of args: mapdevfs <path>
Nick Fish
ubuntu at seaofdirac.net
Wed Apr 1 09:51:24 UTC 2015
FYI, for anyone that wants to use the original fix as a workaround until
an official fix is released, the grub-installer script can be found at
/usr/share/grub-installer/grub-installer on more recent versions of
Ubuntu. So, step #3 given by TJ above becomes:
sed -i 's/\($chroot $ROOT grub-probe $@\)/\1 | head -1/' /usr/share
/grub-installer/grub-installer
Changing this (I used nano to edit the file instead of sed) enabled me
to install Ubuntu 14.04 LTS Desktop on a BTRFS raid setup without issue.
--
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/1354730
Title:
14.04 grub-install failed: Wrong number of args: mapdevfs <path>
Status in grub-installer package in Ubuntu:
Triaged
Status in grub-installer source package in Trusty:
Triaged
Bug description:
I was previously able to install ubuntu on a root btrfs filesystem in raid1 mode as I described here:
http://askubuntu.com/questions/87241/how-to-install-using-btrfs-in-raid10-mode
So I used gparted to create btrfs partitions on all the disksand left
1 MB at the beginning of the disks for GRUB. (I also tried 2, and 5)
Then later I made the btrfs filesystem as follows:
mkfs.btrfs -m raid1 -d raid1 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1
And performed:
btrfs dev scan
Then I went back through normal installation.
I am now trying to do this again, using Ubuntu 14.04.
Everything goes fine up to the point that it wants to install grub.
It mentions the error in the title and fails.
Apparently, somebody else also reported an error like this with 14.04.
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/912431 (at the bottom a person mentions that it occurs in 14.04)
I will attach some files later.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1354730/+subscriptions
More information about the foundations-bugs
mailing list