ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: ABATAPA <altlinux-community@yandex.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Клонирование Linux-системы
Date: Thu, 21 Jul 2005 14:20:05 +0400
Message-ID: <200507211420.05922.altlinux-community@yandex.ru> (raw)
In-Reply-To: <42DF7480.8070905@rrnn.ru>

Четверг 21 Июль 2005 14:10, Овечкин Влад написал:
> Всем добрый день. Возникла необходимость склонировать систему. Делать
> это придётся в первый раз, поэтому, хотелось бы убедится, что
> теоретически я правильно мыслю.
> Есть 2 винта - 1 с работающей системой, другой - на который нужно
> склонировать. Оба по 10 Гб.
> 1. На чистом винте необходимо создать разделы один в один, как на
> оригинале. Отформатировать аналогично образцу.
Если модели разные - будет разная конфигурация винтов, и так делать нельзя.
Если не хотите вникать в детали и делать руками - смотрите в торону parted, он 
умеет копировать разделы. Внимание! Раздел-источник (или несколько) должны 
быть в режими Read Only. Можно загрузится, указав при загрузке параметры ядру 
" ro init=/bin/bash", сразу попадете в bash. Никакие скрипты не отработают, 
ничего не стартует. Если что нужно подмонтировать - руками. Другой вариант - 
LiveCD, или дискета - на сайте parted есть загрузочные образы с ним.

> 2. Воткнуть slave`ом в работающую систему.
> 3. dd if=/dev/hda of=/dev/hdb bs=10M

Так делать нельзя - смотрим выше почему.
> #4. Править lilo.conf на клоне.
Кроме того, его нужно запустить. При этом, если опыта мало - он должен быть 
тем же на IDE, как и будет далее грузится (т.е. Primary Master).

Еще /etc/fstab. 
> Всё верно - или можно проще?
Все неверно. :)
-- 
ABATAPA


  parent reply	other threads:[~2005-07-21 10:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 10:10 Овечкин Влад
2005-07-21 10:11 ` Michael Isachenkov
2005-07-21 10:16 ` Nick S. Grechukh
2005-07-21 10:26   ` Овечкин Влад
2005-07-21 10:29     ` Nick S. Grechukh
2005-07-21 11:15       ` Алексей Синицын
2005-07-21 11:18         ` Eugene Ostapets
2005-07-21 11:47           ` Алексей Синицын
2005-07-21 11:52             ` Eugene Ostapets
2005-07-21 12:00               ` Michael Isachenkov
2005-07-21 12:35               ` Алексей Синицын
2005-07-21 10:16 ` Eugene Ostapets
2005-07-21 10:20 ` ABATAPA [this message]
2005-07-21 10:32 ` Andrew Borodin
2005-07-21 14:26 ` Afanasov Dmitry
2005-07-21 14:35   ` Nick S. Grechukh
2005-07-21 14:39     ` Michael Isachenkov
2005-07-21 14:53       ` Nick S. Grechukh
2005-07-21 14:57         ` Michael Isachenkov
2005-07-21 17:49     ` [Comm] " Алексей Синицын
2005-07-22  6:26     ` [Comm] " Afanasov Dmitry
2005-07-22  7:07       ` Re[2]: " Беляев В. Н.
2005-07-22  7:28         ` [Comm] [JT] " Afanasov Dmitry
2005-07-22  8:00         ` [Comm] " Gennadiy Redko
2005-07-21 14:51   ` Gennadiy Redko
2005-07-21 15:41   ` Serge Kompan
2005-07-21 16:21     ` Gennadiy Redko
2005-07-22  5:31       ` Serge Kompan
2005-07-22  6:43     ` Dmytro O. Redchuk
2005-07-22  8:02       ` Serge Kompan
2005-07-23  8:08         ` Ilya V. Pobelov
2005-07-23  9:27           ` Serge Kompan

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=200507211420.05922.altlinux-community@yandex.ru \
    --to=altlinux-community@yandex.ru \
    --cc=community@altlinux.ru \
    /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