Frugal installation

Version: 

Section: 

System

Introduction

A frugal install goes onto an existing partition and can co-exist with other frugal installs, with installed Linux or installed Windows. The major benefit is you get to take advantage of the speed and size of an internal drive, up to literally ten times faster! If you are starting out with a usb-3 live-usb in a usb-3 port then the speedup will be less dramatic, but from a live-dvd then prepare to have your mind blown.

Advantages of frugal installations:

  • Space is saved: installation to hard drive typically is 4 times the size of the ISO, whereas with frugal it is the size of the ISO.
  • Frugal from hard drive is faster than from a LiveMedium.
  • Great for testing (once set up).

For most users frugal_static may be the best way to go. For the sizes of the persistence files, with static persistence then 10 GiB each should be more than ample. If you use the Live-usb-storage/ directories (which don't even require persistence) for storing big things then 1 GiB home should be fine. The size of the root persistence depends on how much you want to be able to add to the system before you do a remaster. When you remaster, the root persistence gets combined into the compressed linuxfs file so the amount of root persistence used gets reset to close to zero.

Description

There are two modes of operation that are triggered by the same frugal boot parameter: install mode and boot mode. Normally the frugal device is a partition with the label MX-Frugal. If such a device is not found then you will be given a list of partitions to choose from. Once you have selected a device, you will be given an option to have it be given the MX-Frugal label. If an MX frugal install has not already been done on the device you selected then a frugal install will be performed.

The next time you boot with the frugal option, it will automatically boot from the MX-Frugal device into the frugal system that was installed. Again, if a frugal install is not found on that device, you will be given the option to automatically create one. If persistence is requested and the persistence files are not found then we will offer to create them after we do the install. If you want to force a persistence file to be created in a later boot, select that form of persistence with an exclamation point: frugal=root!.

Definitions

You will see a number of terms when you select a frugal install that need to be defined.

Table 13: Frugal installation terms

Term
Meaning

frugal
Enable frugal mode. Either boot into the existing frugal system or create a new one if it does not already exist.

frugal=
A contraction of frugal persist=*. It is common to add persist options when enabling frugal mode so you can add the persist options directly to the frugal boot parameter. Examples: frugal=root or frugal=home.

fdev
The name of the frugal device.

flab
The partition label of the frugal device.

fuuid
The UUID of the frugal partition.

FAQs

Can I have Frugal on SSD directory and  changes on a USB  (formatted ext4) like antix ?

Yes you can.  MX uses the antiX live system so almost anything you can do with antiX live you can also do with MX live.  Although to put changes on a different device requires extra boot parameters since the default is to save the changes on the frugal device (the ssd).

I am little confused about GRUB2 entry for MX Frugal. Can I get an example of GRUB2 entry for Frugal install?

Starting with antiX-17, we now make a small "grub.entry" file in the frugal directory that contains the recommended Grub2 entry to boot into the frugal install.  FWIW, that file is created using this template:

menuentry "$DISTRO_PRETTY_NAME Frugal Install" {
search --no-floppy --set=root --fs-uuid $uuid
linux /$bdir/vmlinuz bdir=$bdir buuid=$uuid $(gather_frugal_cmdline)
initrd /$bdir/initrd.gz
}

MORE: here.

v. 20171212

Language: 

English