Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

[Solved] Problem with sufficient space for remaster

Help for Current Versions of MX
Post Reply
Message
Author
Antediluvian
Forum Novice
Forum  Novice
Posts: 25
Joined: Sun May 20, 2018 7:42 pm

[Solved] Problem with sufficient space for remaster

#1 Post by Antediluvian » Thu Jun 14, 2018 3:15 am

I am trying to remaster a LiveUSB (frugal_static). I make the following selections.
Remaster type = Personal.
"Do you want to save files under /home in the new remaster?
For yes I get the message "Have 362 megs available: Need 1870.
For no I get the message "Have 362 megs available: Need 1534.

I don't understand the lack of space. If I use the MX Remaster Control Center and select Basic operations >> Persistence it shows a total space on device of 25796 meg and available space 362 meg. However, Gparted shows 25.72 GB total space and 20.48GB free space on the same device/partition (sdb4).

Why the discrepancy and how can I create enough space for the remaster?
Persistence sizes.png
Gparted sdb4.png
You do not have the required permissions to view the files attached to this post.
Last edited by Antediluvian on Thu Jun 14, 2018 11:48 pm, edited 1 time in total.

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1727
Joined: Wed Apr 11, 2018 5:09 pm

Re: Problem with sufficient space for remaster

#2 Post by fehlix » Thu Jun 14, 2018 6:08 am

Antediluvian wrote:
Thu Jun 14, 2018 3:15 am
I am trying to remaster a LiveUSB (frugal_static). I make the following selections.
Remaster type = Personal.
"Do you want to save files under /home in the new remaster?
For yes I get the message "Have 362 megs available: Need 1870.
For no I get the message "Have 362 megs available: Need 1534.

I don't understand the lack of space. If I use the MX Remaster Control Center and select Basic operations >> Persistence it shows a total space on device of 25796 meg and available space 362 meg. However, Gparted shows 25.72 GB total space and 20.48GB free space on the same device/partition (sdb4).

Why the discrepancy and how can I create enough space for the remaster?

Persistence sizes.png
Gparted sdb4.png
Gparted tells you total 25.72 GB , which is something similar rematerCC tells you 25796 MB.
The freepace calculation from total Gparted is not real usable, as Gparted includes the "freespace" within rootfs and homefs.
So we have actually confused gparted (and us) with our frugal-mounts ;=)

If you sum up whats on /dev/sdb4:
/dev/sdb4 total 25796 MB (Gparted= 25,72 GB)
available 361 MB
current
rootfs 10240 MB ~= 10 GB
homefs 12288 MB ~= 11 GB
linuxfs 1200 MB ~= 1 GB
plus some more ....
You really have only usable free space on sbd4 of 361 MB.

But if you do a "remaster" you will create a new "rootfs.new" and a new "linuxfs.new" on /dev/sdb4. So you have not enough space on /dev/sdb4 for doing that.

After rebooting frugal the "*.new" will get current and the existing
one will renamed to "*.old", which you can remove later to get free space back.

My recomendation is to have always at least minimum 50% free space as current used for frugal ( and for LiveUSB-stciks). As you would need this min. for remastering.

Now how to fix you situation.
To resolve you situation I would reuse you current /dev/sdb3 (mint_home)
to use for as frugal-device as it has enough space.

1. Restart into Linux ( either mint or from Live USB-stick - not frugal)
move/copy the whole /antiX-Frugal-4.15.0-1-amd64 direcory
from /dev/sdb4 to /dev/sdb3 (you mint_home device).
(If you start mint, dev/sbd3 is mounted unter /home ( /dev/sdb3 mount pint P /home ),
so you need to move it from /dev/sdb4 to /home/antiX-Frugal-4.15.0-1-amd64
within booted mint )

2. Now replace within your grub-menu
the existing UUID of /deb/sdb4 with uuid of /dev/sdb3
You find you UUID of sdb3 using this command

Code: Select all

sudo blkid /dev/sdb3
You would need either to change the grub-menu within /boot/grub/custom.cfg
or within /etc/grub.d/40_custom , depending on which one you used
for the grub-menu entries. If 40_custom is used you need to
regenerate grub-menu with "update-grub" command

Hope not to have confused you to much ;=)
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Antediluvian
Forum Novice
Forum  Novice
Posts: 25
Joined: Sun May 20, 2018 7:42 pm

Re: Problem with sufficient space for remaster

#3 Post by Antediluvian » Thu Jun 14, 2018 9:09 pm

fehlix wrote:
Thu Jun 14, 2018 6:08 am
Hope not to have confused you to much ;=)
Surprisingly, give my level of incompetence, you didn't confuse me at all. Remaster done, sdb4 partition resized larger, and rootfs & homefs reduced in size (<40% sdb4). Thanks for the clear explanation!

Post Reply

Return to “MX Help”