Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Create ISO image without empty space

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Rabinhood
Posts: 2
Joined: 2020-04-08 11:49

Create ISO image without empty space

#1 Post by Rabinhood »

Dear all, I have a ISO about a Debian custom version bootable.
The Debian OS it's on a MicroSD with 126 giga and the space busy are 60 Giga.
I ask how I can make a ISO with dd command without empty space, to have a final iso with 60 giga.
Thanks.

peter_irich
Posts: 1405
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: Create ISO image without empty space

#2 Post by peter_irich »

I don't know is it possible. You can mount this iso to any directory and again make the new iso from it,
then unmount old iso and use new.
Last edited by peter_irich on 2020-04-09 05:23, edited 1 time in total.

Rabinhood
Posts: 2
Joined: 2020-04-08 11:49

Re: Create ISO image without empty space

#3 Post by Rabinhood »

Thank’s I’ll try it

User avatar
cooleo
Posts: 38
Joined: 2020-04-07 05:28

Re: Create ISO image without empty space

#4 Post by cooleo »

peter_irich wrote:I don't know is it possible. You cam mount this iso to any directory and again make the new iso from it,
then unmount old iso and use new.

I think what Rabinhood trying to do is:
create a iso from a USB_stick, so there is not "old-iso" to mount. am I right?

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Create ISO image without empty space

#5 Post by pylkko »

if you are making the disk image from an existing partition, minimize that partition before you write the disk image.

Post Reply