1 |
Am Dienstag, 30. Mai 2006 06:00 schrieb ext Leandro Melo de Sales: |
2 |
|
3 |
> When I boot from livecd the configuration of my disks is as follows: |
4 |
> |
5 |
> BUS=scsi |
6 |
> /dev/sda -> SYSFS{model}=="SAMSUNG SP..." |
7 |
> |
8 |
> BUS=scsi |
9 |
> /dev/sdb -> SYSFS{model}=="SysOp " |
10 |
|
11 |
SATA or real SCSI? |
12 |
|
13 |
> I got this information through udevinfo shell command. |
14 |
> |
15 |
> /dev/sdb has BIOS boot priority, so I installed grub on it. |
16 |
|
17 |
Try to give sda boot priority, install grub on it and tell grub to boot |
18 |
Linux from sdb, see if that helps. |
19 |
|
20 |
> But when I boot the system with the kernel that I compiled (yes, I |
21 |
> put all modules/drivers required for my scsi controllers and sata on |
22 |
> it), the udev recognize the disks in a different order, such as: |
23 |
> |
24 |
> BUS=scsi |
25 |
> /dev/sda -> SYSFS{model}=="SysOp " |
26 |
> |
27 |
> BUS=scsi |
28 |
> /dev/sdb -> SYSFS{model}=="Dados " |
29 |
|
30 |
Just a guess, maybe because of the boot prio. |
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 |
Well, udev doesn't run until the kernel has booted. |
54 |
|
55 |
> So, what I'm doing wrong? All pointers/suggestion are accepted. When |
56 |
> I installed grub on /dev/sdb when I was on livecd everything went |
57 |
> fine. |
58 |
|
59 |
Could you post your grub.conf, partition information (/etc/fstab) and the |
60 |
relevant parts of dmesg output, please? |
61 |
|
62 |
Bye... |
63 |
|
64 |
Dirk |
65 |
-- |
66 |
Dirk Heinrichs | Tel: +49 (0)162 234 3408 |
67 |
Configuration Manager | Fax: +49 (0)211 47068 111 |
68 |
Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com |
69 |
Hambornerstraße 55 | Web: http://www.capgemini.com |
70 |
D-40472 Düsseldorf | ICQ#: 110037733 |
71 |
GPG Public Key C2E467BB | Keyserver: www.keyserver.net |