Ask Your Question
1

Installation fails (/boot/efi cant be mounted)

asked 2018-10-31 08:38:32 -0600

skylzz gravatar image

I tried to install Fedora 29 Silverblue, I've set partitioning myself (/ on /dev/sda1, /home on /dev/sda2, /boot/efi at /dev/sda3, where sda1 and sda2 are ext4 and sda3 an EFI Partition) and at some point during installation process i get an error like this:

The following error occurred while installing. This is a fatal error and installation will be aborted.

mount['--bind','/mnt/sysimage/boot/efi', '/mnt/sysimage/ostree/deploy/fedora-workstation/deploy/f17...430/boot/efi'] exited with code 32

I tried to mount it manually ftrom another tty, I got an error that this mountpoint doesn't exist. So now I am unable to install Fedora on my machine. Help please

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
0

answered 2018-11-02 06:04:33 -0600

anusinga gravatar image

Windows directly when you power it on, giving you no option to boot Linux. I see the mountpoint manually, unfortunately still getting error, this time around it's (printer in error state)

Note: For more details about this error: https://askubuntu.com/questions/28610...

edit flag offensive delete link more
0

answered 2018-10-31 14:54:53 -0600

skylzz gravatar image

updated 2018-10-31 15:47:42 -0600

So I did a little digging in anaconda source files, I found function responsible for executing mount command and I added this code (file rpmostreepayload.py: after 287 line):

 if not os.path.isdir(dest):
             os.system("mkdir -p " + dest)

This basically check if mountpoint directory exists, if not creates it. With this I no longer get error with mounting /boot/efi, now instead I'm getting this:

The following error occurred while installing. This is a fatal error and installation will be aborted. ostree['admin','instutill','set-kargs','rhgb','quiet','root=UUID=(UUID of sdb1 here)'] exited with code 1

So just as before i checked what output will this give me if run manually, and that's it:

error: fstatat(ostree/deploy): No such file or directory

I thought that change in the code I made coul be causing this so instead of changing code I created mountpoint manually, unfortunately still getting error, this time around it's:

The following error occurred while installing. This is a fatal error and installation will be aborted. ostree['admin', '--sysroot=/mnt/sysimage', 'deploy', '--os=fedora-workstation', 'fedora-workstation/29/x86_64/silverblue'] exited with code -6.

And manually in the terminal:

OSTree:ERROR:src/libostree/ostree-bootloader-grub2.c:354:_ostree_bootloader_grub2_write_config: assertion failed (deployment->len > 0): (0 > 0) Aborted (core dumped)

edit flag offensive delete link more
-1

answered 2018-10-31 16:28:21 -0600

bt1397 gravatar image

hello , for install linux you should have boot , swap , root , home partition .

1- "cfdisk -L" for partition manager

2- set model of partition :label type ,such as dos

3- create

4- set type of partition

swap , linux , ...

5-set boot partition

in 4,5 set efi or ....

6-

example:

mkfs.ext4 /dev/sda1

mkswap /dev/sda2

mkfs.ext4 /dev/sda3

mkfs.ext4 /dev/sda4

7-

mount /dev/sda3 /mnt

mkdir /mnt/boot

mount /dev/sda1 /mnt/boot

swapon /dev/sda2

mkdir /mnt/home

mount /dev/sda4 /mnt/home

. . . .

umount -R /mnt

reboot

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-10-31 08:35:54 -0600

Seen: 735 times

Last updated: Nov 02 '18