Problem build initrd file

Thomas Charron twaffle at gmail.com
Fri Mar 23 15:53:23 EDT 2007


On 3/23/07, Don Leslie <donald_m_leslie at raytheon.com> wrote:
> Thomas Charron wrote:
> > On 3/22/07, Don Leslie <donald_m_leslie at raytheon.com> wrote:
> >> I have a RHEL3 system which boots from scsi disk .
> >> # grub.conf generated by anaconda
> >> #
> >> # Note that you do not have to rerun grub after making changes to
> >> this file
> >> # NOTICE:  You have a /boot partition.  This means that
> >> #          all kernel and initrd paths are relative to /boot/, eg.
> >> #          root (hd0,0)
> >> #          kernel /vmlinuz-version ro root=/dev/sda2
> >> #          initrd /initrd-version.img
> >> #boot=/dev/sda
> >> default=0
> >> timeout=10
> >> splashimage=(hd0,0)/grub/splash.xpm.gz
> >> title Red Hat Enterprise Linux WS (2.4.21-27.EL_SNARE096)
> >>     root (hd0,0)
> >>     kernel /vmlinuz-2.4.21-27.EL_SNARE096 ro root=LABEL=/ hda=ide-scsi
> >>     initrd /initrd-2.4.21-27.EL_SNARE096.img
> >> title Red Hat Enterprise Linux WS (2.4.21-27.EL)
> >>     root (hd0,0)
> >>     kernel /vmlinuz-2.4.21-27.EL ro root=LABEL=/ hda=ide-scsi
> >>     initrd /initrd-2.4.21-27.EL.img
> >> title Red Hat Enterprise Linux WS (2.4.21-27.EL  mpt scsi)
> >>         root (hd0,0)
> >>         kernel /vmlinux-2.4.21-27-mpt_scsi ro root=LABEL=/ hda=ide-scsi
> >>         initrd /initrd-2.4.21-27-mpt_scsi.EL_SNARE096.img
> >
> >  Wait, are your files in /boot, or in the root?  Sorry, I haven't
> > fudged with grub for a while, but if their in /boot, wouldnt they need
> > to full path?
> >
> The other boots in menu.lst work and they use root=/

  But is that where the files are physically located?  in / vs /boot?

-- 
-- Thomas


More information about the gnhlug-discuss mailing list