SPUG: Off-topic (need RedHat 7.2 LILO/GRUB help)

Michael R. Wolf MichaelRWolf at att.net
Fri Apr 30 13:45:26 CDT 2004


Warning -- off topic. Hit delete now if you can't spare the diversion.

Thanks for the indulgence,
Michael

================================================================

I know it's off-topic for a Perl list, but you're my favorite techies,
and I know someone out here in SPUGland has a clue.

I'm trying to get a computer set up to test a custom PCI board. The
drivers for the board require the 2.4.22 kernel. That requires a
standard install, then two updates/upgrades/up-somethings.

I got RH 7.2 to jump right off the CD's.

The customer sent me a CD with some other stuff on it, so that I could
upgrade to the 2.4.20 kernel then the 2.4.22 kernel then add some
avtec-specific drivers.

I expect that this will look familiar to someone who's used LILO or
GRUB before. My local contact prefers LILO (but is currently in
Japan). The customer has used GRUB (and is in Maryland). I'll go with
what works because I just need an OS so I can write a Perl test
harness to exercise the board.

Here's what was on the customer's CD:

  -r--r--r--   1 michael  root   226105 Apr 23 10:51 avtec_2.4.22.tar.gz
  -r--r--r--   1 michael  root 10625740 Apr 23 11:06 boot.tar.gz
  -r--r--r--   1 michael  root   832426 Apr 23 11:00 dev-3.3-4.i386.rpm
  -r--r--r--   1 michael  root   176773 Apr 23 11:00 iptables-1.2.8-8.72.3.i386.rpm
  -r--r--r--   1 michael  root   126202 Apr 23 11:00 iptables-ipv6-1.2.8-8.72.3.i386.rpm
  -r--r--r--   1 michael  root 12671436 Apr 26 04:40 kernel-2.4.20-20.7.i386.rpm
  -r--r--r--   1 michael  root  6362328 Apr 26 04:41 kernel-BOOT-2.4.20-20.7.i386.rpm
  -r--r--r--   1 michael  root  1790757 Apr 26 04:41 kernel-doc-2.4.20-20.7.i386.rpm
  -r--r--r--   1 michael  root  1153405 Apr 23 11:01 kernel-headers-2.4.9-34.i386.rpm
  -r--r--r--   1 michael  root 38692562 Apr 26 04:41 kernel-source-2.4.20-20.7.i386.rpm
  -r--r--r--   1 michael  root 41042746 Apr 23 10:48 linux-2.4.22-6.ll.rh73.tar.gz
  -r--r--r--   1 michael  root   208818 Apr 23 11:00 modutils-2.4.18-3.7x.i386.rpm
  -r--r--r--   1 michael  root    47516 Apr 23 11:00 modutils-devel-2.4.18-3.7x.i386.rpm

The clues as to how to load multiple kernels are probably in the
boot.tar.gz file, whose contents are below:

 drwxr-xr-x    root/root          0 boot/
 drwxr-xr-x    root/root          0 boot/grub/
 -rw-r--r--    root/root       1262 boot/grub/grub.conf
 -rw-r--r--    root/root      54044 boot/grub/splash.xpm.gz
 srwxrwxrwx    root/root          0 boot/grub/menu.lst --> ./grub.conf
 -rw-r--r--    root/root         82 boot/grub/device.map
 -rw-r--r--    root/root        512 boot/grub/stage1
 -rw-r--r--    root/root     120000 boot/grub/stage2
 -rw-r--r--    root/root      10848 boot/grub/e2fs_stage1_5
 -rw-r--r--    root/root       9744 boot/grub/fat_stage1_5
 -rw-r--r--    root/root       8864 boot/grub/ffs_stage1_5
 -rw-r--r--    root/root       9248 boot/grub/minix_stage1_5
 -rw-r--r--    root/root      12512 boot/grub/reiserfs_stage1_5
 -rw-r--r--    root/root       8512 boot/grub/vstafs_stage1_5
 srwxrwxrwx    root/root          0 boot/vmlinuz --> vmlinuz-2.4.20-20.7
 -rw-r--r--    root/root       5824 boot/boot.b
 -rw-r--r--    root/root        612 boot/chain.b
 -rw-r--r--    root/root      23108 boot/message
 -rw-r--r--    root/root        640 boot/os2_d.b
 srwxrwxrwx    root/root          0 boot/kernel.h --> kernel.h-2.4.9
 -rw-r--r--    root/root    1095761 boot/vmlinuz-2.4.22-6.ll.rh73
 srwxrwxrwx    root/root          0 boot/System.map --> System.map-2.4.20-20.7
 -rw-r--r--    root/root     116130 boot/initrd-2.4.22-6.ll.rh73
 -rw-r--r--    root/root    1192132 boot/vmlinuz-2.4.22-6.ll.rh73_av
 srwxrwxrwx    root/root          0 boot/module-info --> module-info-2.4.20-20.7
 -rw-r--r--    root/root     850361 boot/bzImage
 -rw-r--r--    root/root     850361 boot/vmlinuz-2.4.7-10_avtec
 -rw-r--r--    root/root     811923 boot/vmlinuz-2.4.7-10_avtec.sav
 -rw-r--r--    root/root     327990 boot/initrd-2.4.7-10custom.img
 -rw-r--r--    root/root     431819 boot/System.map.old
 -rw-r--r--    root/root     850455 boot/vmlinuz-2.4.7-10_avtec_5
 -rw-r--r--    root/root     431819 boot/System.map-2.4.7-10custom
 -rw-r--r--    root/root     802068 boot/vmlinuz-2.4.7-10.bu
 -rw-r--r--    root/root     850332 boot/vmlinuz-2.4.7-10_avtec_3
 -rw-r--r--    root/root     511785 boot/System.map-2.4.20-20.7
 -rw-r--r--    root/root        405 boot/kernel.h-2.4.9
 -rw-r--r--    root/root      15438 boot/module-info-2.4.20-20.7
 -rw-r--r--    root/root      44882 boot/config-2.4.20-20.7
 -rw-r--r--    root/root     116130 boot/initrd-2.4.20-20.7.img
 -rw-r--r--    root/root    3005123 boot/vmlinux-2.4.20-20.7
 -rw-r--r--    root/root    1079416 boot/vmlinuz-2.4.20-20.7

Gunshy and looking for a clue.  It's a separate system, so I can 

    ready && fire && aim until sucess;	# Here's the Perl.... :-)

But I'd rather
    ready && aim  && fire;

Please call (206)782-8377 if you've got time to share a clue.

Many thanks,
Michael Wolf

-- 
Michael R. Wolf
    All mammals learn by playing!
        MichaelRWolf at att.net





More information about the spug-list mailing list