ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Владимир <fmfm@symmetron.msk.ru>
To: community@altlinux.ru
Subject: Re: [Comm] про загрузку с ide raid рзе 370
Date: Tue, 20 May 2003 15:54:35 +0400
Message-ID: <3ECA177B.5090603@symmetron.msk.ru> (raw)
In-Reply-To: <200305201620.35775.combr@vesna.ru>

Mike Lykov пишет:

>Привет всем.
>
>Надо мне настроить так, чтобы корневой раздел грузился с виента, подключенного 
>к HPT 370 (ide raid контроллер).
>
>среди модулей есть модуль для этого контроллера: hpt37x2.o
>
>Подключил один винт, не raid просто ide -винт на контроллере hpt.
>
>Сделал как:
>
>1. поставил винт на обычный встроенный ide контроллер, получилось 
>hda - винт, hdb  - кд-ром. 
>поставил все как обычно, все грузится замечательно, все по умолчанию.
>
>теперь - делаю mkinitrd  --preload=hpt37x2 2.4.20-alt5-up
>(свой образ с драйвером этого raid, который действительно входит в состав 
>дистрибутива, спасибо ;)
>

Вывод команды

mkinitrd -v ......

был бы информативней.

>перекладываю образ в /boot, исправляю lilo.conf как ниже, устанавливаю его
>
>гружу свой вариант - выходит:
>
>mounted root (romfs) readonly
> using.... scsi_mod.o 
>scsi subsystem driver version 1.00
>using.... hpt37x2.o 
>device driver... ver 1.3
>found controller HPT370
>scsi0: hpt37x2
>vendor: fujitsu
>type: direct-access
>(это о подключенном винте)
>using ... reiserfs.o
>kmod: failed to exec /sbin/modprobe -s --k block-major-8, errno = 2
>VFS: cannot open root device "sda1" on 08:01
>kernel panic: unable to mount root fs on 08:01
>  
>

Попробуйте

mkinitrd -v ....... --pause

после остановки с другой консоли скопируйте в дерево
файлы /dev/sda /dev/sda1, если их там нет
Отсутствие может создать проблему.


>при этом если загрузиться на ide, а второй винт подключить к HPT , и на нем 
>тоже будет reiserfs, то устройство /dev/sda1 отлично монтируется , когда 
>вручную загрузишь драйвер hpt37x2....
>
>лило:
>boot=/dev/hda
>map=/boot/map
>install=/boot/boot.b
>default=linux-up
>vga=normal
>lba32
>prompt
>timeout=50
>image=/boot/vmlinuz-up
>        label=linux-up
>        root=/dev/hda1
>        initrd=/boot/initrd-up.img
>image=/boot/vmlinuz-up
>        label=failsafe
>        root=/dev/hda1
>        initrd=/boot/initrd-up.img
>        append=" failsafe"
>        vga=normal
>        read-only
>image=/boot/vmlinuz-up
>        label=linux-hpt
>        root=/dev/sda1
>        initrd=/boot/initrdhpt.img
>other=/dev/fd0
>        label=floppy
>        unsafe
>
>
>если boot=/dev/sda, то при попытке установить его говорит "fatal: open 
>/dev/sda: no such device or address" (винт ,ессно, подключен к hda1, а иначе 
>не загрузится  и не исправишь чего) ....
>  
>

попробуйте добавить строки

disk=/dev/sda
    bios=0x80


>некоторый замкнуты круг ;) 
>Как бы вы посоветовали его обойти?
>
>  
>


-- 
Best regards
Vladimir




  reply	other threads:[~2003-05-20 11:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 11:20 Mike Lykov
2003-05-20 11:54 ` Владимир [this message]
2003-05-21  5:55   ` Mike Lykov
2003-05-21 16:37 ` [Comm] " Konstantin Lepikhov
2003-05-22  3:58   ` Mike Lykov
2003-05-22  4:42     ` Mike Lykov

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=3ECA177B.5090603@symmetron.msk.ru \
    --to=fmfm@symmetron.msk.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