Skip to main content
deleted 52 characters in body
Source Link

Well I thought I had already edited my question.

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda2 bs=1M | gzip -c -9 > sda2.dd.img.gz 

then I changed the partitioning of the Drive because I wanted to install Linux. And when trying to decompress and write it to the former (smaller) partition

gunzip sda2.dd.img.gz >/dev/sda2 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

Well I thought I had already edited my question.

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda2 bs=1M | gzip -c -9 > sda2.dd.img.gz 

then I changed the partitioning of the Drive because I wanted to install Linux. And when trying to decompress and write it to the former (smaller) partition

gunzip sda2.dd.img.gz >/dev/sda2 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda2 bs=1M | gzip -c -9 > sda2.dd.img.gz 

then I changed the partitioning of the Drive because I wanted to install Linux. And when trying to decompress and write it to the former (smaller) partition

gunzip sda2.dd.img.gz >/dev/sda2 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

added 138 characters in body
Source Link

Well I thought I had already edited my question.

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda<n>sda2 bs=1M | gzip -c -9 > sda<n>sda2.dd.img.gz 

Andthen I changed the partitioning of the Drive because I wanted to install Linux. And when trying to decompress and write it to the former (smaller) partition

gunzip sda<n>sda2.dd.img.gz >/dev/sdhsda2 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda<n> bs=1M | gzip -c -9 > sda<n>.dd.img.gz 

And when trying to decompress and write it to the former partition

gunzip sda<n>.dd.img.gz >/dev/sdh 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

Well I thought I had already edited my question.

I used gzip to compress an image which is quite huge still.

dd if=/dev/sda2 bs=1M | gzip -c -9 > sda2.dd.img.gz 

then I changed the partitioning of the Drive because I wanted to install Linux. And when trying to decompress and write it to the former (smaller) partition

gunzip sda2.dd.img.gz >/dev/sda2 

(using > instead of dd, as described here, its content is first written to another file (instead of directly to the partition as I expected).

The Problem: the Partition where the zipped file is on is to. small. I could use a external media but that will take more time. But would prefer to write the decompressed data to the partition directly.

So I decided to get more info about zipping itself first. but it left me even more confused (see my first response here) Can anyone give any hint, please ?

thanks in advance,

edited tags
Link
Marcus Müller
  • 52.8k
  • 4
  • 80
  • 123
added 8 characters in body
Source Link
Marcus Müller
  • 52.8k
  • 4
  • 80
  • 123
Loading
Source Link
Loading