ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Yereschenko <ave4600@yandex.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Создание копии hdd - восстановление со сжатием gzip - gunzip
Date: Sun, 24 Sep 2023 22:56:33 +0300
Message-ID: <e774c21f-fab2-469f-ec4a-a8ca6b4fe14b@yandex.ru> (raw)
In-Reply-To: <7185d1c2-b065-1059-494b-8d64e0e8deea@tut.by>

20.09.2023 11:29, А. Куликовский пишет:
> Проблема:
> Альт Рабочая станция К 10 с обновлениями.
> Копирую диск виндовс+линукс или виндовс в образ:
> dd if=/dev/sdс bs=8M conv=sync,noerror | gzip -c > 
> /nmt/sdd1/backup.img.gz
>
> Обратный процесс:
> gunzip -c /nmt/sdd1/backup.img.gz | dd of=/dev/sdc conv=sync,noerror 
> bs=8M
>
> И не загружается, ни загрузчик линукса ни виндовс...
> Тот-же процесс баз gzip-gunzip работает на ура! Но образы дисков уж 
> очень большие...
>
> Что я делаю не так? Куда копать?
> Спасибо!...
>
Попробуйте для gunzip добавить ключ -d в явном виде.
В принципе gunzip это тот же unzip:
$ ls -l /bin/gunzip
lrwxrwxrwx 1 root root 4 апр  8  2022 /bin/gunzip -> gzip

-- 
С уважением, Александр Ерещенко.



      parent reply	other threads:[~2023-09-24 19:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20  8:29 А. Куликовский
2023-09-20  8:49 ` Павел Исопенко
2023-09-24 19:56 ` Alexander Yereschenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e774c21f-fab2-469f-ec4a-a8ca6b4fe14b@yandex.ru \
    --to=ave4600@yandex.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git