From: ABATAPA <altlinux-hardware@yandex.ru>
To: hardware@lists.altlinux.org
Subject: Re: [Hardware] Бэкап раздела "Compaq diagnostics" на TP R50e
Date: Tue, 21 Aug 2007 15:22:41 +0400
Message-ID: <200708211522.42116.altlinux-hardware@yandex.ru> (raw)
In-Reply-To: <faee6m$5m3$1@sea.gmane.org>
21 августа 2007 г. Andrei Lomov написал:
> На жестком диске ноута IBM TP R50e есть раздел "Compaq diagnostics" (id=12)
> с операционкой (XP), занимает 5 Gb.
Что мешает сделать, например, хотя бы так:
(Резервируем образ первого сектора диска - MBR)
# dd if=/dev/hda of=backup.hda.mbr count=1
(Делаем образ раздела в файл)
# dd if=/dev/hda1 of=backup.hda.img
(При необходимости сжимаем полученный файл)
# bzip2 backup.hda.img
При необходимости восстановления этого раздела на диске достаточно:
1. Загрузиться с любого Linux LiveCD.
2. Восстановить (при необходимости!) таблицу разделов (если они менялись -
ИЗМЕНЕНИЯ И ДАННЫЕ БУДУТ ПОТЕРЯНЫ!):
# dd if=backup.hda.mbr of=/dev/hda
3. Перегрузиться, или перечитать таблицы разделов:
# partprobe
3. Распаковать (если был сжат) образ:
# bzip2 -d backup.hda.img.bz2
4. Восстановить его из образа:
# dd if=backup.hda.img of=/dev/hda1
Кроме того, полученный несжатый образ можно смонтировать
(в простейшем случае):
# mount -oloop backup.hda.img dir/
Разумеется, есть еще (под Windows) Acronis True Image, Norton Ghost, и т.д.
Разумеется, есть под Linux и другие средства архивирования/восстановления,
есть уже упомянутый Ghost for Linux, есть Partition Image
(http://sourceforge.net/projects/partimage/), и т.д. (полный список - поиском
на http://sourceforge.net/, http://ya.ru, http://google.com).
Но этот - самый простой и доступен всегда и везде способ.
--
ABATAPA
next prev parent reply other threads:[~2007-08-21 11:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-21 10:19 Andrei Lomov
2007-08-21 10:25 ` Алексей Шенцев
2007-08-21 13:31 ` Andrei Lomov
2007-08-21 14:21 ` Алексей Шенцев
2007-08-21 11:22 ` ABATAPA [this message]
2007-08-21 15:19 ` ALT Linux User
2007-08-21 15:35 ` Pavlov Konstantin
2007-08-22 17:36 ` [Hardware] Бэкап раздела "Compaq diagnostics" на TP R50e [JT] Andrei Lomov
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=200708211522.42116.altlinux-hardware@yandex.ru \
--to=altlinux-hardware@yandex.ru \
--cc=hardware@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 hardware support
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
public-inbox-index hardware
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.hardware
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git