* [sisyphus] chroot problem
@ 2003-10-02 8:43 Igor Solovyov
2003-10-02 10:12 ` Епифанов Сергей
0 siblings, 1 reply; 3+ messages in thread
From: Igor Solovyov @ 2003-10-02 8:43 UTC (permalink / raw)
To: Sisyphus
Hi All!
Прошу прощения что пишу сюда, а не в community (туда тоже написал),
просто нужно срочно разрешить проблему.
Система Мастер 2.2 + updates. Установлена на /dev/hda.
Нужно "переехать" на RAID-0 (HPT370-контроллер на m/b Abit SA6R).
1. Установил два новых диска (по 80G) на HPT370, сделал массив RAID-0.
2. сделал новый initrd:
# mkinitrd --preload sd_mod --with=hpt37x2 --with=scsi_mod \
initrd-`uname -r`-hpt.img `uname -r`
3. Загрузился. RAID-0 виден. Сделал на нем разделы, аналогичные
тем, что на hda. Теперь все выглядит так:
.....
Device Driver for HPT37x2 ATA RAID Controller
Version 1.3, Compiled Sep 25 2003 17:15:29
Found Controller: HPT370 UDMA/ATA100 RAID Controller
scsi0 : hpt37x2
Vendor: HPT Inc. Model: HPT37x2 RAID 0 Rev: 1.05
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 312602881 512-byte hdwr sectors (160053 MB)
sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 sda10 >
Вроде все нормально.
4. Смонтировал разделы и скопировал на них:
sda6 - полная копия hda6 (это /boot)
sda7 - копия /, с hda7.
5. Пытаюсь сделать chroot на sda7 (смонтирован в /mnt/disk):
# chroot /mnt/disk
Segmentation fault
Больше никаких сообщений нет, в том числе и в логах.
Извесный вопрос - "Что делать?". :-)
--
Best regards!
Igor Solovyov
System/network administrator
JSC CB "Zlatkombank"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] chroot problem
2003-10-02 8:43 [sisyphus] chroot problem Igor Solovyov
@ 2003-10-02 10:12 ` Епифанов Сергей
2003-10-02 12:23 ` Igor Solovyov
0 siblings, 1 reply; 3+ messages in thread
From: Епифанов Сергей @ 2003-10-02 10:12 UTC (permalink / raw)
To: sisyphus
В сообщении от 2 Октябрь 2003 12:43 Igor Solovyov написал:
> 5. Пытаюсь сделать chroot на sda7 (смонтирован в /mnt/disk):
>
> # chroot /mnt/disk
> Segmentation fault
>
> Больше никаких сообщений нет, в том числе и в логах.
> Извесный вопрос - "Что делать?". :-)
А что говорит
strace -o chroot.out chrot /mnt/disk
--
С уважением, Епифанов Сергей
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sisyphus] chroot problem
2003-10-02 10:12 ` Епифанов Сергей
@ 2003-10-02 12:23 ` Igor Solovyov
0 siblings, 0 replies; 3+ messages in thread
From: Igor Solovyov @ 2003-10-02 12:23 UTC (permalink / raw)
To: sisyphus
Hi!
On Thu, 2 Oct 2003 14:12:01 +0400
Епифанов Сергей <serpiph@entek.ru> wrote:
> > # chroot /mnt/disk
> > Segmentation fault
> >
> > Больше никаких сообщений нет, в том числе и в логах.
> > Извесный вопрос - "Что делать?". :-)
>
> А что говорит
> strace -o chroot.out chrot /mnt/disk
Все. Проблема решена. Оказалось, что сделал все неправильно.
Надо было делать initrd не с модулями sd_mod, hpt37x2 и scsi_mod,
а с модулями hptraid и ataraid.
Извиняюсь за беспокойство.
--
Best regards!
Igor Solovyov
System/network administrator
JSC CB "Zlatkombank"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-02 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 8:43 [sisyphus] chroot problem Igor Solovyov
2003-10-02 10:12 ` Епифанов Сергей
2003-10-02 12:23 ` Igor Solovyov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git