The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 07:04:40

pcalvert
Member
Registered: 2017-05-15
Posts: 331  

Refracta Installer - possible bug found

It looks like I found bug in Refracta Installer. It appears that Refracta Installer may look for an ext2/ext3/ext4 file system, and if it doesn't find one, it assumes that the partition has not been formatted. I also tested the CLI version of Refracta Installer, and the behavior was the same.

The system and home partitions had been pre-formatted as follows:

# mkfs.nilfs2 /dev/sdc1
# mkfs.nilfs2 /dev/sdc3

I also did a final, quick test. I formatted /dev/sdc1 as ext2 to see if the installer would try to force me to format again, and it did not.

Refracta Installer screenshot 1:
ojDvVPi.png

Refracta Installer screenshot 2:
6Nx66q0.png

Refracta Installer screenshot 3:
qgg9P2l.png

Refracta Installer screenshot 4:
22IbFgb.png

Refracta Installer screenshot 5:
ZVZg3eR.png

Refracta Installer screenshot 6:
2LvVUzw.png

An idea just came to me about what might have caused this. Originally, I wasn't going to use encryption because this system is basically a test, and I'm not planning to use it for very long. However, when I saw the installer option to encrypt /home, I decided to check it. But now that I'm thinking about it, I'm not sure that this will work for a pre-formatted partition. The way the installer works, doesn't formatting the partition need to come after the encryption?


Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Another one is called Luxxle.

Offline

#2 Yesterday 15:35:19

fsmithred
Administrator
Registered: 2016-11-25
Posts: 3,003  

Re: Refracta Installer - possible bug found

You figured it out. I'm glad, because the first time I read your post I was not fully awake, and I got thrown off by the nilfs2. Never heard of that one.

Formatting the filesystem has to come after creating the encrypted volume. If you want something other than ext, you would have to use the cli installer and do some stuff manually. Somewhere in the early pages of the documentation section of this forum is a post that explains how to use refractaintstaller for lvm and raid, with or without encryption. That would work for other kinds of filesystem formats, too.

Offline

Board footer