Hi,again! I wrote some weeks ago about troubles with installing grub under linux-shell version of grub.(0.5.98).It works properly with standart ide-disks. I tried to install grub to logical disk of Compaq SCSI Smart Array 5300 RAID controller(cciss.o). I used "install" command. /sbin/grub root (...) install ... and etc. But I got an error:22 NO SUCH PARTITION The most interesting thing was,that it worked,if i used it from command-line of boot version of grub. You said that I should to use "setup" command. I made some additional tests,but got the same error. (Seems there is the same problems with Compaq Smart Array 4200 (cpqarray.o)) I also tested one of the lasted versions of lilo(21.7.5).It was installed properly. I hope that information contained in log-files will help you(they contain my system configuration and debug-data,which I got during running grub(in linux)). Can be this caused by devfs? Or that is a bug of kernel(2.4.9). I returned hardware,So I only wanted to make report. Thanks,YP
Disk /dev/cciss/disc0/disc: 255 heads, 32 sectors, 4358 cylinders Units = cylinders of 8160 * 512 bytes Device Boot Start End Blocks Id System /dev/cciss/disc0/part1 34 56 93840 83 Linux /dev/cciss/disc0/part2 * 57 4358 17552160 83 Linux /dev/cciss/disc0/part2 on / type ext2 (rw) proc on /proc type proc (rw) devfs on /dev type devfs (rw) none on /dev/shm type shm (rw) cciss0: Compaq Smart Array 5300 Controller Board ID: 0x40700e11 Firmware Version: 1.26 Memory Address: 0xd8829000 IRQ: 10 Logical drives: 1 Current Q depth: 0 Current # commands on controller 0 Max Q depth since init: 56 Max # commands on controller since init: 110 Max SG entries since init: 31 cciss/c0d0: blksz=512 nr_blocks=35561280 nr_allocs = 2758 nr_frees = 2758 major minor #blocks name 104 0 17780640 cciss/disc0/disc 104 1 93840 cciss/disc0/part1 104 2 17552160 cciss/disc0/part2 nodev proc nodev sockfs nodev tmpfs nodev shm nodev pipefs ext2 iso9660 nodev devfs reiserfs nodev devpts PCI devices found: Bus 0, device 0, function 0: Host bridge: ServerWorks CNB20LE Host Bridge (rev 5). Master Capable. Latency=64. Bus 0, device 0, function 1: Host bridge: ServerWorks CNB20LE Host Bridge (#2) (rev 5). Master Capable. Latency=64. Bus 0, device 1, function 0: SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c1510 (rev 2). IRQ 15. Master Capable. Latency=255. Min Gnt=30.Max Lat=8. I/O at 0x2000 [0x20ff]. Non-prefetchable 32 bit memory at 0xc6cffc00 [0xc6cfffff]. Non-prefetchable 32 bit memory at 0xc6cfe000 [0xc6cfefff]. Bus 0, device 1, function 1: SCSI storage controller: Symbios Logic Inc. (formerly NCR) 53c1510 (#2) (rev 2). IRQ 10. Master Capable. Latency=255. Min Gnt=30.Max Lat=8. I/O at 0x2400 [0x24ff]. Non-prefetchable 32 bit memory at 0xc6cfdc00 [0xc6cfdfff]. Non-prefetchable 32 bit memory at 0xc6cfc000 [0xc6cfcfff]. Bus 0, device 2, function 0: Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 8). IRQ 5. Master Capable. Latency=64. Min Gnt=8.Max Lat=56. Non-prefetchable 32 bit memory at 0xc6cfb000 [0xc6cfbfff]. I/O at 0x2800 [0x283f]. Non-prefetchable 32 bit memory at 0xc6b00000 [0xc6bfffff]. Bus 0, device 5, function 0: Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (#2) (rev 8). IRQ 5. Master Capable. Latency=64. Min Gnt=8.Max Lat=56. Non-prefetchable 32 bit memory at 0xc6afd000 [0xc6afdfff]. I/O at 0x3000 [0x303f]. Non-prefetchable 32 bit memory at 0xc6900000 [0xc69fffff]. Bus 0, device 3, function 0: VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 122). Master Capable. Latency=64. Min Gnt=8. Prefetchable 32 bit memory at 0xc5000000 [0xc5ffffff]. I/O at 0x2c00 [0x2cff]. Non-prefetchable 32 bit memory at 0xc6aff000 [0xc6afffff]. Bus 0, device 4, function 0: System peripheral: Compaq Computer Corporation Advanced System Management Controller (rev 0). I/O at 0x1800 [0x18ff]. Non-prefetchable 32 bit memory at 0xc6afef00 [0xc6afefff]. Bus 0, device 15, function 0: ISA bridge: ServerWorks OSB4 South Bridge (rev 79). Bus 0, device 15, function 1: IDE interface: ServerWorks OSB4 IDE Controller (rev 0). Master Capable. Latency=64. I/O at 0x3040 [0x304f]. Bus 3, device 5, function 0: RAID bus controller: PCI device 0e11:b060 (Compaq Computer Corporation) (rev 2). IRQ 10. Master Capable. Latency=64. Non-prefetchable 32 bit memory at 0xc6fc0000 [0xc6ffffff]. Non-prefetchable 32 bit memory at 0xc6e00000 [0xc6efffff]. I/O at 0x4000 [0x40ff]. Bus 3, device 6, function 0: Fiber Channel: PCI device 0e11:a0fc (Compaq Computer Corporation) (rev 6). IRQ 11. Master Capable. Latency=64. Min Gnt=32. I/O at 0x4400 [0x44ff]. I/O at 0x4800 [0x48ff]. Non-prefetchable 32 bit memory at 0xc6dffe00 [0xc6dfffff].
Script started on Wed Sep 12 17:46:54 2001 [root@localhost root]# grub 00 --verbose Probing devices to guess BIOS drives. This may take a long time. [1;25r[0;10m[4l[H[J GRUB version 0.5.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> debug Debug mode is turned on grub> root * (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 1, Filesystem type is ext2fs, partition type 0x83 grub> root (hd0,1) Filesystem type is ext2fs, partition type 0x83 grub> install /boot/grub/stage Possible files are: stage1 stage2 grub> install /boot/grub/stage1 d (hd0, ) /boot/grub/stage Possible files are: stage1 stage2 grub> install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p /etc/gr[H[3M[23d Possible files are: group group- grub.conf grub> install /boot/grub/stage1 d (hd0) /boot/grub/stage2 p /etc/grub.conf [H24944, 0, 4096>[5181904][5181905][5181906][5181907][5181908][5181909][5181910][ 5181911]<4724952, 0, 4096>[5181912][5181913][5181914][5181915][5181916][5181917 ][5181918][5181919]<4724960, 0, 4096>[5181920][5181921][5181922][5181923][51819 24][5181925][5181926][5181927]<4724968, 0, 4096>[5181928][5181929][5181930][518 1931][5181932][5181933][5181934][5181935]<4724976, 0, 4096>[5181936][5181937][5 181938][5181939][5181940][5181941][5181942][5181943]<4724984, 0, 4096>[5181944] [5181945][5181946][5181947][5181948][5181949][5181950][5181951]<4724992, 0, 409 6>[5181952][5181953][5181954][5181955][5181956][5181957][5181958][5181959]<4725 000, 0, 4096>[5181960][5181961][5181962][5181963][5181964][5181965][5181966][51 81967]<4725008, 0, 4096>[5181968][5181969][5181970][5181971][5181972][5181973][ 5181974][5181975]<4725016, 0, 4096><4725024, 0, 4096>[5181984][5181985][5181986 ][5181987][5181988][5181989][5181990][5181991]<4725032, 0, 4096>[5181992][51819 93][5181994][5181995][5181996][5181997][5181998][5181999]<4725040, 0, 4096>[518 2000][5182001][5182002][5182003][5182004][5182005][5182006][5182007]<4725048, 0 , 4096>[5182008][5182009][5182010][5182011][5182012][5182013][5182014][5182015] <4725056, 0, 4096>[5182016][5182017][5182018][5182019][5182020][5182021][518202 2][5182023]<4725064, 0, 4096>[518[45@2024][5182025][5182026][5182027][5182028][518 029][5182030][5182031]<4725072, 0, 4096>[5182032][5182033][5182034][5182035][51 82036][5182037][5182038][5182039]<4725080, 0, 4096>[5182040][5182041][5182042][ 5182043][5182044][5182045][5182046][5182047]<4725088, 0, 4096>[5182048][5182049 ][5182050][5182051][5182052][5182053][5182054][5182055]<4725096, 0, 2976>[51820 56][5182057][5182058][5182059][5182060][5182061][K Error 22: No such partition[K [7G[Kquit[25;1H [25;1H [root@localhost root]# Script done on Wed Sep 12 17:47:47 2001