Create ISO image without empty space

Help with issues regarding installation of Debian

Create ISO image without empty space

Postby Rabinhood » 2020-04-08 11:53

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.
Rabinhood
 
Posts: 2
Joined: 2020-04-08 11:49

Re: Create ISO image without empty space

Postby peter_irich » 2020-04-08 13:02

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.
peter_irich
 
Posts: 1299
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation

Re: Create ISO image without empty space

Postby Rabinhood » 2020-04-08 17:55

Thank’s I’ll try it
Rabinhood
 
Posts: 2
Joined: 2020-04-08 11:49

Re: Create ISO image without empty space

Postby cooleo » 2020-04-09 01:45

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?
cooleo
 
Posts: 28
Joined: 2020-04-07 05:28

Re: Create ISO image without empty space

Postby pylkko » 2020-04-09 05:08

if you are making the disk image from an existing partition, minimize that partition before you write the disk image.
User avatar
pylkko
 
Posts: 1793
Joined: 2014-11-06 19:02


Return to Installation

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable