From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Перенос сервера
Date: Fri, 22 Apr 2005 10:08:49 +0400
Message-ID: <426894F1.5090702@stc.donpac.ru> (raw)
In-Reply-To: <19918057975.20050422124924@mail.ru>
Беляев Владимир Николаевич пишет:
> Hello Eugene,
>
> Friday, April 22, 2005, 10:40:51 AM, you wrote:
>
> Заранее извиняюсь за чайниковские вопросы
>
> EP> 1.2. Проверить, что система смонтирована в /mnt
> как ее смонтировать?
альтовский rescue это делает сам и даже сообщает об этом
в Кноппиксе я создаю каталог /system, затем mount туда корень
установленной системы, в var, home и т.д. монтирую соответствующие разделы.
> EP> 2.3. Создать следующие разделы:
> EP> /dev/hda1 / не менее 70М
> EP> /dev/hda5 swap не менее ОЗУ*2
> EP> /dev/hda6 /usr не менее 250М
> EP> /dev/hda7 /var не менее 500М
> EP> /dev/hda8 /home не менее 100М
> правильно ли я понимаю, что на эталонной системе должно было быть
> также?
В том-то и смысл, что нет. Может быть совершенно другая схема разбиения
на разделы и другие типы fs. Иначе бы вместо cpio я использовал dd для
копирования разделов, но это менее гибкий подход
> EP> 2.4. Создать файловые системы и смонтировать их в /mnt
> как?
fdisk
mkfs.*
mkdir /mnt/system
mount будущий_корень /mnt/system
mkdir /mnt/system/home
mount будущий_home /mnt/system/home
ну и т.д. Получите в результате необходимую Вам пустую иерархию
каталогов, куда будете переносить живую систему
> EP> 2.5. Выполнить команды:
> EP> cd /mnt
> EP> cat /data/system.img | gzip -d -c | cpio -i --make-directories
> EP> chroot /mnt /bin/bash
> EP> grub-install /dev/hda
> lilo?
аналогично
> EP> 2.6. Если установка производилась не на /dev/hda или диск был размечен
> EP> иначе, отредактировать файлы:
> EP> /etc/fstab
> EP> /etc/mtab
> EP> /boot/grub/menu.lst
> EP> /boot/grub/device.map
> т.е. раздел 2.3. и 2.6 взаимонезависимы?
Если вы выполнили шаг 2.3. не по инструкции ;) , Вам также необходимо
выполнить 2.6
Если целевая система будет на IDE, то в VMware тоже ставьте на IDE -
меньше манипуляций потом придется делать. Ну и наоборот.
--
С уважением, Прокопьев Евгений
next prev parent reply other threads:[~2005-04-22 6:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 7:34 Беляев Владимир Николаевич
2005-04-21 7:44 ` Slava Dubrovskiy
2005-04-21 7:48 ` Slava Dubrovskiy
2005-04-21 7:44 ` Michael Isachenkov
2005-04-28 19:40 ` [Comm] " Michael Shigorin
2005-04-22 4:40 ` [Comm] " Eugene Prokopiev
2005-04-22 6:49 ` Re[2]: " Беляев Владимир Николаевич
2005-04-22 6:08 ` Eugene Prokopiev [this message]
2005-04-22 7:04 ` Alexey I. Froloff
2005-04-23 10:15 ` Eugene Prokopiev
2005-04-23 10:40 ` Andrey Rahmatullin
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=426894F1.5090702@stc.donpac.ru \
--to=prokopiev@stc.donpac.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