Disk Useage

Share your opinion about Porteus Kiosk Edition.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
tom.karez@gmail.com
Ronin
Ronin
Posts: 2
Joined: 22 Jan 2015, 17:26
Distribution: Kiosk
Location: United States

Disk Useage

Post#1 by tom.karez@gmail.com » 22 Jan 2015, 17:33

I really like the Kiosk, perfectly fits my needs. The one thing I would like to see is to not have the install use the whole disk. I use a PXE based imaging tool for backup and restore and the tool can't see free space in the partition when using linux so it tries to backup the entire hard drive. If the install only used a portion of the disk it needed and left the rest as unused it would address the issue. Cut's down on the cool factor as I need to use ISO's to deploy it instead of booting accross the network.

Tom

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Disk Useage

Post#2 by fanthom » 22 Jan 2015, 17:45

hello tom,

there is definitely a way of backing up only the real space the kiosk is taking. i remember running following command under Desktop edition:

Code: Select all

dd if=/dev/sdX1 of=kiosk.iso
and it produced 46MB ISO.
unfortunately this wont work for UEFI images as separate FAT parition is created just for the EFI loader.

Please boot Desktop edition and check if you get the same result then try to figure out how to update your backing tool.

thanks
Please add [Solved] to your thread title if the solution was found.

tom.karez@gmail.com
Ronin
Ronin
Posts: 2
Joined: 22 Jan 2015, 17:26
Distribution: Kiosk
Location: United States

Re: Disk Useage

Post#3 by tom.karez@gmail.com » 22 Jan 2015, 18:04

The iso file is fine, 56MB. I am using Terabyte's image for linux product. It boots using PXE and then it copies the disk/partitions to file server. So it is looking at the disk from the outside, not running the kiosk itself, it does not have permissions to see what is in the partitions. So onless the partitions themselves are small it will simply just back up the whole disk (very bad).

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Disk Useage

Post#4 by fanthom » 23 Jan 2015, 09:49

it is looking at the disk from the outside, not running the kiosk itself,
i'm referring to the same method. Porteus Desktop edition is like your tool - you need to boot it on a PC where you want to make the backup and then run 'dd' command. it produces small ISOs somehow - please try and you will see yourself.
Please add [Solved] to your thread title if the solution was found.

Locked