[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Jan 2003 ]

Re: [edlug] redhat, lilo vs. grub, kernel-drm



I am guessing based on much attrition with grub this week....

Try replacing

root=/dev/hda4

with

root=(hd0,3)

grub has "issues" as it is not native to the OS but runs as an emulator.
It may not be able to see the devices /dev/hda or /dev/hda4 at install for
some reason or it may not be able to map them to correct BIOS drives. Try
something like

grub --batch  --config-file='(hd0,3)/boot/grub/grub.conf' <<EOF 1> /tmp/out.1 2> /tmp/out.2
root (hd0,3)
install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf
quit
EOF

See what pops up in /tmp./out.[12]

I am no expert so sorry if this is no help....

James



On 23 Jan 2003, Peter G. Hancock wrote:

>
> Now and then I install a rawhide kernel.  In the
> post-install phase, I generally get an error
> from "grubby" saying (don't have the exact message):
> /dev/hda: no such file.
> (There is of course.)
>
> Fair enough, I've always used lilo. I suppose the problem
> must be in /boot/grub/grub.conf. But ...
>
> $ grep -v '^#' /boot/grub/grub.conf | grep -v '^[ ]*$'
> timeout 30
> default 4
> title  Red Hat Linux (2.4.20-2.25)
> root (hd0,0)
> kernel /vmlinuz-2.4.20-2.25 root=/dev/hda4
> initrd /initrd-2.4.20-2.25.img
> title  Red Hat Linux (2.4.20-2.15custom)
> root (hd0,0)
> kernel /vmlinuz-2.4.20-2.15custom root=/dev/hda4
> initrd /initrd-2.4.20-2.15custom.img
> title  Red Hat Linux (2.4.20-2.21)
> root (hd0,0)
> kernel /vmlinuz-2.4.20-2.21 root=/dev/hda4
> initrd /initrd-2.4.20-2.21.img
> title  Red Hat Linux (2.4.20-2.11custom)
> root (hd0,0)
> kernel /vmlinuz-2.4.20-2.11custom root=/dev/hda4
> initrd /initrd-2.4.20-2.11custom.img
> title  GNU/Linux
> root (hd0,0)
> kernel /vmlinuz root=/dev/hda4
>
> Is there anything wrong with that? Where's
> it getting the /dev/hda from that it's complaining
> about? I wouldn't mind switching to grub.
>
> Peter
>
> PS: I only install kernels to get kernel-drm, required
> for XFree86 rpms.  Is there some way to fool rpm (4.2),
> and put kernel-drm in by hand?
>
>
> -----------------------------------------------------------------------
> You can find the EdLUG mailing list FAQ list at:
> http://www.edlug.org.uk/list_faq.html
>

   ----------------------------------
         James Jarvis BSc., PhD
      The University of Edinburgh
            0131 650 5013
    email 'james.jarvis@xxx.xxx.xxx'
   http://www.ucs.ed.ac.uk/~jjarvis/
   ----------------------------------

-----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage