Am Dienstag, 30. Mai 2006 06:00 schrieb ext Leandro Melo de Sales: > When I boot from livecd the configuration of my disks is as follows: > > BUS=scsi > /dev/sda -> SYSFS{model}=="SAMSUNG SP..." > > BUS=scsi > /dev/sdb -> SYSFS{model}=="SysOp "
SATA or real SCSI? > I got this information through udevinfo shell command. > > /dev/sdb has BIOS boot priority, so I installed grub on it. Try to give sda boot priority, install grub on it and tell grub to boot Linux from sdb, see if that helps. > But when I boot the system with the kernel that I compiled (yes, I > put all modules/drivers required for my scsi controllers and sata on > it), the udev recognize the disks in a different order, such as: > > BUS=scsi > /dev/sda -> SYSFS{model}=="SysOp " > > BUS=scsi > /dev/sdb -> SYSFS{model}=="Dados " Just a guess, maybe because of the boot prio. > so, when gentoo activate udev the system shows a message that the > boot device was not specified or not recognized. I go to shell and > type dmesg, the disks is recognized but in such order that I said, not > as the same as livecd. I started up the system with livecd again, than > I created the file /etc/udev/rules.d/10-local.rules with the following > rules: > > BUS=="scsi", SYSFS{model}=="SAMSUNG SP123245", NAME="/dev/sda" > BUS=="scsi", SYSFS{model}=="SysOp ", NAME="/dev/sdb" > BUS=="scsi", SYSFS{model}=="Dados ", NAME="/dev/sdc" > > and finally I typed: > > # udevstartup > # exit > # umount /mnt/gentoo/dev/ /mnt/gentoo/proc /mnt/gentoo > # reboot > > The system continue showing me the same message, after activate > udev, "the boot device was not find or not recognized". Well, udev doesn't run until the kernel has booted. > So, what I'm doing wrong? All pointers/suggestion are accepted. When > I installed grub on /dev/sdb when I was on livecd everything went > fine. Could you post your grub.conf, partition information (/etc/fstab) and the relevant parts of dmesg output, please? Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Hambornerstraße 55 | Web: http://www.capgemini.com D-40472 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net
pgppRhQPckNBu.pgp
Description: PGP signature