From: Olga Sorokina <olsor2007@yandex.ru>
To: community@lists.altlinux.org
Subject: [Comm] Клонирование HDD
Date: Sat, 08 Nov 2008 09:06:04 +0300
Message-ID: <49152C4C.4010207@yandex.ru> (raw)
Школа закупила 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
next reply other threads:[~2008-11-08 6:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 6:06 Olga Sorokina [this message]
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
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=49152C4C.4010207@yandex.ru \
--to=olsor2007@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