Just to complete information about the previous e-mail that I sent to
the list...

livecd ~ # lspci
00:06.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8111 PCI (rev 07)
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-8111 LPC (rev 05)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE (rev 03)
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0 (rev 02)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-8111 ACPI (rev 05)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] AMD-8131 PCI-X Bridge (rev 12)
00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC (rev 01)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
00:19.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
00:19.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
00:19.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
00:19.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
01:03.0 RAID bus controller: Adaptec AAC-RAID (rev 01)
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704
Gigabit Ethernet (rev 03)
03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114
[SATALink/SATARaid] Serial ATA Controller (rev 02)
03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro
100] (rev 10)

2006/5/24, Leandro Melo de Sales <[EMAIL PROTECTED]>:
Hi list,

  I'm tired with my problem and I hope someone can help... the problem is:

  I have my / partition on /dev/sda1, including /boot. But 2 days ago
when I did the gentoo instalation I put it on a wrong disk. /
partition must be /dev/sdb2, that is connected to a SCSI controler
different than /dev/sda, that is connected in another one. Well, when
I had / on /dev/sda1 I setup lilo.conf and everything works fine:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
        label = Gentoo
        read-only # read-only for checking
        root=/dev/ram0
        append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sda1 udev"
        initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But as I said (due to my company rules) I have to put / partition on
/dev/sdb2. So, I boot from gentoo livecd and copy the entire /dev/sda1
data to /dev/sdb2. After this I change the lilo.conf as follows:

image=/boot/kernel-genkernel-x86_64-2.6.16-gentoo-r7
        label = Gentoo
        read-only # read-only for checking
        root=/dev/ram0
        append="doscsi init=/linuxrc ramdisk=8192 real_root=/dev/sdb2 udev"
        initrd=/boot/initramfs-genkernel-x86_64-2.6.16-gentoo-r7

But, when I boot the computer I got the following message:

>>Mounting root...
mkdir: Cannot create directory '/newroot/tmp':Read-only file system
mkdir: //newroot/dev/console: No such file or directory
mknod: //newroot/dev/tty1: No such file or directory
Booting (initramfs)......
chroot: cannot execute /bin/sh: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

I put Adaptec AARAID module *build in* in the kernel, without it the
/dev/sdb2 is not recognized. I generated the kernel using genkernel
--menuconfig all.

Any clue?

Thank you very much.

Leandro.



--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list

Reply via email to