[lug] grub confusion
stimits at comcast.net
Tue Mar 2 14:04:54 MST 2004
Hugh Brown wrote:
> On Mon, 2004-03-01 at 18:56, D. Stimits wrote:
>>I'm trying to reinstall KRUD 9 on a machine that had a drive go bad, and
>>I have a completely new install there. It worked fine, until it is
>>actual boot time, and I get a GRUB error. The stage 1.5 error of "Error
>>16" appears to have more than one definition, depending on where I look
>>up/google. In one case (the case that is probably more correct) it says
>>that a device string was expected, but that the device string found did
>>not follow correct syntax rules. The other source says the filesystem
>>structure is inconsistent (probably correct if the string syntax is bad,
>>seeing as a non-existent device couldn't match any structure).
>>I've been going over grub.conf and trying over and over with variations
>>different syntax. The hard drive is partitioned as follows:
>>/dev/hda is sole hard drive, plus there is a cdrom.
>>/dev/hda1 is a primary ext2 partition with /boot/.
>>/dev/hda2 is an extended that covers the rest of the drive.
>>/dev/hda5 is swap, about 100 MB.
>>/dev/hda6 is root partition, consuming the remainder of the drive.
>>Can someone elaborate on this particular variation what is wrong?
>>title KRUD9 (2.4.20-13.9)
>> root (hd0,0)
>> kernel /vmlinux-2.4.20-13.9 ro root=/dev/hda6
>> initrd /initrd-2.4.20-13.9.img
>>NOTE: The kernel and initrd are found in /boot/, so (hd0,0)/vmlinux...
>>is correct for kernel and (hd0,0)/initrd... is correct for location of
> usu. the kernel is vmlinuz-... (on stock installs) instead of
> vmlinux-..., you might try checking to see if it is a typo.
This was my typo it seems. It was indeed vmlinuz for both kernel and
grub.conf, but since this is a failed install, I had copied this by
pencil and paper and messed up. Good try though, I have to believe it is
a simple typo like this.
D. Stimits, stimits AT comcast DOT net
More information about the LUG