From: Alex Yustasov <yust@anti-leasure.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] загрузка с SATA (unable to open root device)
Date: Wed, 15 Mar 2006 10:06:28 +0200
Message-ID: <20060315080627.GA4963@yust.work> (raw)
In-Reply-To: <441783FB.2000506@socenter.ru>
On Wed, Mar 15, 2006 at 09:03:23AM +0600, Maxim Savrilov wrote:
> Здравствуйте!
>
> Система не грузится с SATA диска
> хотя сделал для нее initrd с соответствующими модулями
> контроллер при загрузке виден и видны винты на нем
> а потом начинается следующее
> несколько раз
> failed to exec /sbin/modprobe -s -k block-major-8 errno=2
> и в конце
> Cannot open root device sda2 ...укажите правильно опцию root= в
> параметрах ядра и т.д.
>
> что делать?
>
> встречал в архивах совет поставить другую версию mkinitrd-busybox -
> менял, не помогло
>
>
> до этого систему поставил на PATA, думал перенести ее на SATA после
> обновления ядра - не тут то было...
>
> Мастер2.4 + ядро из сизифа последнее
> контроллер NForce4, соответственно модуль sata_nv
Что-то похожее и у меня.
Делал на PATA
#!/bin/bash
initrd-2.6.14-std26-smp-alt5.img 2.6.14-std26-smp-alt5
mkinitrd initrd-2.6.14-std26-smp-alt5.img 2.6.14-std26-smp-alt5 \
--preload ide-core --preload amd74xx --preload ide-generic \
--preload ide-disk --preload scsi-mod --preload sd-mod --preload libata \
--preload sata-nv
В initrd в linuxrc получается
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/ide/ide-core.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/ide/pci/amd74xx.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/ide/ide-generic.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/ide/ide-disk.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/scsi/scsi_mod.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/scsi/sd_mod.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/scsi/libata.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/drivers/scsi/sata_nv.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/fs/mbcache.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/fs/jbd/jbd.ko
/bin/insmod -f /lib/modules/2.6.14-std26-smp-alt5/kernel/fs/ext3/ext3.ko
Потом перенести этот initrd в SATA:/boot, chroot SATA:/, lilo
Попробовать перегрузиться.
--
Alex Yustasov
next prev parent reply other threads:[~2006-03-15 8:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-15 3:03 Maxim Savrilov
2006-03-15 8:06 ` Alex Yustasov [this message]
2006-03-16 8:31 ` Maxim.Savrilov
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=20060315080627.GA4963@yust.work \
--to=yust@anti-leasure.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