ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Клонирование HDD
@ 2008-11-08  6:06 Olga Sorokina
  2008-11-08  8:11 ` Michael A. Kangin
  2008-11-08 19:08 ` altlinuxuser
  0 siblings, 2 replies; 18+ messages in thread
From: Olga Sorokina @ 2008-11-08  6:06 UTC (permalink / raw)
  To: community

Школа закупила 11 компьютеров для нового компьютерного класса. Нужно 
быстро и качественно установить на них Windows + ALT Linux (Junior).
Поискала в Интернете. Нашла простой вариант клонирования:
на клиенте # nc -l -p 9000| dd of=/dev/sda
на эталоне # dd if=/dev/sda | nc <ip-адрес> 9000
Порядок действий видится таким:
1. Установить две ОС+приложения на эталонный компьютер.

2. На клиентском ПК:
а) загрузиться с liveCD;
б) назначить IP-адрес (ifconfig?);
в) # nc -l -p 9000| dd of=/dev/sda.

3. На эталонном ПК: # dd if=/dev/sda | nc <IP-адрес> 9000

Сразу возникли вопросы.
1. При загрузке с liveCD вход в root не требует пароля. Это полноценный 
режим работы под root'ом, или нужно ещё что-то сделать?

2. Чтобы назначить IP-адрес, достаточно # ifconfig eth0 192.168.1.2?

3. Порепетировала с netcat на установленном Junior'e. Получила:
# rpm -qa|grep netcat
netcat-4.0.20061122-alt1

# nc -l -p 9000| dd of=dev/sda
-bash: nc: command not found
dd: opening `dev/sda': No such file or directory

# netcat -l -p 9000|dd of=/dev/sda
usage: netcat [-46DdhklnrStUuvz] [-e cmd] [-i interval] [-p source_port]
[-s source_ip_address] [-w timeout] [-X proxy_version]
[-x proxy_address[:port]] [hostname] [port[s]]
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.348e-05 seconds, 0.0 kB/s

Как я поняла, утилита netcat установлена. Почему "-bash: nc: command not 
found"?  Что можете посоветовать? В чем я ошибаюсь?
# uname -r
2.6.18-std-smp-alt12.M40.3


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2008-11-08 19:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-08  6:06 [Comm] Клонирование HDD Olga Sorokina
2008-11-08  8:11 ` Michael A. Kangin
2008-11-08  9:04   ` Olga Sorokina
2008-11-08  9:10     ` Dmitriy M. Maslennikov
2008-11-08  9:34       ` Michael A. Kangin
2008-11-08 10:16         ` Dmitriy M. Maslennikov
2008-11-08 10:20           ` Dmitriy M. Maslennikov
2008-11-08 10:25             ` Gennadiy Redko
2008-11-08 10:35               ` Michael A. Kangin
2008-11-08 10:37                 ` Starodumoff Ilya
2008-11-08 10:39                 ` Gennadiy Redko
2008-11-08 10:37               ` Gennadiy Redko
2008-11-08 10:35           ` Starodumoff Ilya
2008-11-08 10:44             ` Olga Sorokina
2008-11-08 10:57               ` Starodumoff Ilya
2008-11-08 11:30               ` Andriy Dobrovol`s`kii
2008-11-08  9:14     ` Michael A. Kangin
2008-11-08 19:08 ` altlinuxuser

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