Login for USB in order to install

Hello @deepdark

I run Freedombox on a old laptop my self and from what I have learned. I would say it would be best if you first install a debian base and then Freedombox on another laptop first, that as a Ethernet port. Just put the hard drive from the old laptop on to other laptop ? that as Ethernet connection.

I do not use the Debian installer and it Wi-Fi option ! to install a debain base and then freedombox. If you are installing a desktop the Wi-Fi option is OK.

When you use the Debian installer and it Wi-Fi option for a command line setup only. At the end of the debian install and a reboot. The Wi-Fi setting will not be saved, so no Wi-Fi connection when the operating system is up and running. That why I use a computer with a Ethernet port to install debain and then freedombox.

Once you done a basic debian install. That is just a command line setup, no desktop.

It a good idea to setup sudo:

as root:

apt install sudo

Now add the user you created with the debian installer to the sudo group.

usermod -aG sudo username

Now install freedombox on the debian basic install.

sudo DEBIAN_FRONTEND=noninteractive apt install freedombox
After the freedombox package as been installed you need to edit the network file called ‘interfaces’.

sudo nano /etc/network/interfaces
So that only what shown below is in the ‘interfaces’ file.

``
auto lo
iface lo inet loopback
`
Hash out the lines that are not needed with # at the beginning of the lines you do not need.

Now that freedombox package as been installed and the interfaces file as been edited. It is time for a reboot and start the freedombox setup it self.

The reboot will fortunately stop at the rescue mode. You need to login as root.

There is a bug relating to the software ‘snapshot’ that was installed along with freedombox. snapshot: Does not mount /.snapshots correctly with Debian installer created btrfs

To temporarily get pass this point you need to edit a file called ‘fstab’.

Login as root and edit the file fstab.

nano /etc/fstab

Hash # out the line:
#UUID=/very-long-number /.snapshots btrfs subvol=.snapshots 0 1
After this is done, reboot the laptop and you will now be able to get a full boot and start the setup of freedombox.

From a web browser on your local network go to that your freedombox is on go to http://freedombox.local and start your freedombox setup.

All the best and regards: peter

3 Likes