ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Павел Исопенко" <master@pauli.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Создание копии hdd - восстановление со сжатием gzip - gunzip
Date: Wed, 20 Sep 2023 11:49:31 +0300
Message-ID: <b54ae093-3bdc-d939-caeb-9a9ec1f9ed49@pauli.ru> (raw)
In-Reply-To: <7185d1c2-b065-1059-494b-8d64e0e8deea@tut.by>

Добрый день.

Столкнувшись с такой ситуацией, я бы для начала получил несжатый образ, 
запаковал бы его в .zip, распаковал в другое имя и сравнил файлы. Они 
будут одинаковые или уже разные? Как метод, md5sum (sha1sum ...), я 
думаю, подойдёт.

Дополнительная информация, ключ для поиска: "как отлаживать скрипты в 
Linux".

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 работает на ура! Но образы дисков уж 
> очень большие...
> 
> Что я делаю не так? Куда копать?
> Спасибо!...
> 

-- 
С уважением, Павел Исопенко
tel. +79165329582


  reply	other threads:[~2023-09-20  8:49 UTC|newest]

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

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=b54ae093-3bdc-d939-caeb-9a9ec1f9ed49@pauli.ru \
    --to=master@pauli.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