[EMAIL PROTECTED] (Jared Ream) writes:
> I've been trying to install Grub as part of an automated
> new-system-imaging process.  When I invoke Grub in batch mode and pass
> commands to it (in a fashion which, under "normal" circumstances works
> just fine), I get 12 modprobe errors - two claiming it can't find
> block-major-33, two claiming it can't find block-major-34, and eight
> claiming it can't find block-major-8.

block-major-33 is for: 
Specialix serial card - alternate devices
                  0 = /dev/cux0         Callout device for ttyX0
                  1 = /dev/cux1         Callout device for ttyX1
                    ...
    block       Third IDE hard disk/CD-ROM interface
                  0 = /dev/hde          Master: whole disk (or CD-ROM)
                 64 = /dev/hdf          Slave: whole disk (or CD-ROM)

block-major-34 is for:
Z8530 HDLC driver
                  0 = /dev/scc0         First Z8530, first port
                  1 = /dev/scc1         First Z8530, second port
                  2 = /dev/scc2         Second Z8530, first port
                  3 = /dev/scc3         Second Z8530, second port
                    ...

                In a previous version these devices were named
                /dev/sc1 for /dev/scc0, /dev/sc2 for /dev/scc1, and so
                on.

    block       Fourth IDE hard disk/CD-ROM interface
                  0 = /dev/hdg          Master: whole disk (or CD-ROM)
                 64 = /dev/hdh          Slave: whole disk (or CD-ROM)

and block-major-8:
SCSI disk devices (0-15)
                  0 = /dev/sda          First SCSI disk whole disk
                 16 = /dev/sdb          Second SCSI disk whole disk
                 32 = /dev/sdc          Third SCSI disk whole disk
                    ...
                240 = /dev/sdp          Sixteenth SCSI disk whole disk

SCSI disk devices (0-15)
                  0 = /dev/sda          First SCSI disk whole disk
                 16 = /dev/sdb          Second SCSI disk whole disk
                 32 = /dev/sdc          Third SCSI disk whole disk
                    ...
                240 = /dev/sdp          Sixteenth SCSI disk whole disk

So my guess is that grub is looking for the 3rd and 4th IDE interfaces and
for a scsi interface. Because you don't have those, it doesn't work.

You could add in your /etc/modules.conf:
alias char-major-33 off
alias char-major-34 off
alias char-major-8 off

It should solve the problem.

-- 
Mathieu CHOUQUET-STRINGER              E-Mail : [EMAIL PROTECTED]
     Learning French is trivial: the word for horse is cheval, and
               everything else follows in the same way.
                        -- Alan J. Perlis

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to