Ask Your Question

Trying to create /boot for fedora 23 partition. But got Failed to add new device local variable 'e' referenced before assignment" Does anyone know how to fix this?

asked 2016-01-01 15:14:33 -0600

joshoy1 gravatar image

updated 2016-01-02 09:43:27 -0600

mether gravatar image


I am running on pre-installed Windows 8 and trying to install fedora 23 on 133Gb de-allocated space on my hard drive via LiveUSB. I de-allocated the space originally through fedora 22 and got fedora 22 installed but had complications with booting windows afterwards. Since I did not have anymore time at the point, I just did a quick restore of the windows boot and other potentially affected OS files. The space is still shows de-allocated.


In installation of fedora 23, when I try to manually add /boot under LVM, it comes up with a "Failed to add new device local variable 'e' referenced before assignment".I verified the iso, wiped my unallocated space, redownloaded the iso, and reinstalled the iso on the liveUSB. Also, Some bug was reported and fixed on what seemed like the same or very similar issue. (here) However, I am still getting this error. Does anyone know what is going wrong and how to fix this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-01-01 22:55:46 -0600

The boot partition should not be a LVM. See the example below:

Filesystem               Size  Used Avail Use% Mounted on
devtmpfs                 3.9G     0  3.9G   0% /dev
tmpfs                    3.9G  316K  3.9G   1% /dev/shm
tmpfs                    3.9G  1.6M  3.9G   1% /run
tmpfs                    3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mapper/fedora-root   50G  4.6G   43G  10% /
tmpfs                    3.9G  132K  3.9G   1% /tmp
/dev/sda2                477M  122M  327M  28% /boot
/dev/sda1                200M  8.4M  192M   5% /boot/efi
/dev/mapper/fedora-home  178G  429M  168G   1% /home
tmpfs                    789M  8.0K  789M   1% /run/user/42
tmpfs                    789M   16K  789M   1% /run/user/1000
edit flag offensive delete link more

answered 2016-01-01 22:26:30 -0600

joshoy1 gravatar image

turns out that there was a small partition left from the previous install that I had to remove because it was my fourth and I could only have four. Then everything was smooth after that.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-01 15:14:33 -0600

Seen: 3,096 times

Last updated: Jan 01 '16