Gentoo Archives: gentoo-user

From: Leandro Melo de Sales <leandroal@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] udev rules and boot + SCSI disks
Date: Tue, 30 May 2006 04:13:24
Message-Id: 5bc4c4570605292100y2b5e7c3eh37edd0e623c286ce@mail.gmail.com
1 Hi...
2
3 I made a gentoo installation by reading gentoo installation guide.
4 When I boot from livecd the configuration of my disks is as follows:
5
6 BUS=scsi
7 /dev/sda -> SYSFS{model}=="SAMSUNG SP..."
8
9 BUS=scsi
10 /dev/sdb -> SYSFS{model}=="SysOp "
11
12 BUS=scsi
13 /dev/sdc -> SYSFS{model}=="Dados "
14
15 I got this information through udevinfo shell command.
16
17 /dev/sdb has BIOS boot priority, so I installed grub on it.
18
19 But when I boot the system with the kernel that I compiled (yes, I
20 put all modules/drivers required for my scsi controllers and sata on
21 it), the udev recognize the disks in a different order, such as:
22
23 BUS=scsi
24 /dev/sda -> SYSFS{model}=="SysOp "
25
26 BUS=scsi
27 /dev/sdb -> SYSFS{model}=="Dados "
28
29 BUS=scsi
30 /dev/sdc -> SYSFS{model}=="SAMSUNG SP123245"
31
32 so, when gentoo activate udev the system shows a message that the
33 boot device was not specified or not recognized. I go to shell and
34 type dmesg, the disks is recognized but in such order that I said, not
35 as the same as livecd. I started up the system with livecd again, than
36 I created the file /etc/udev/rules.d/10-local.rules with the following
37 rules:
38
39 BUS=="scsi", SYSFS{model}=="SAMSUNG SP123245", NAME="/dev/sda"
40 BUS=="scsi", SYSFS{model}=="SysOp ", NAME="/dev/sdb"
41 BUS=="scsi", SYSFS{model}=="Dados ", NAME="/dev/sdc"
42
43 and finally I typed:
44
45 # udevstartup
46 # exit
47 # umount /mnt/gentoo/dev/ /mnt/gentoo/proc /mnt/gentoo
48 # reboot
49
50 The system continue showing me the same message, after activate
51 udev, "the boot device was not find or not recognized".
52
53 So, what I'm doing wrong? All pointers/suggestion are accepted. When
54 I installed grub on /dev/sdb when I was on livecd everything went
55 fine.
56
57 Thank you,
58
59 Leandro.
60 --
61 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] udev rules and boot + SCSI disks Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
Re: [gentoo-user] udev rules and boot + SCSI disks Richard Fish <bigfish@××××××××××.org>