error 17 on main.lst recipe

gil3337

Member
Using EasyBCD with a stored recipe that I would have expected to function in GNU/GRUB EasyBCD returns an error 17. As a result of almost random keypresses I am able to boot at the EasyBCD command line interface. I will try the command line entries that I am now using as a stored recipe later; but in the mean time I would like to understand my mistake.
System configuration:
a factory installed vista premium with space made available for a linux DVD install of Centos using the 'diskpart' 'shrink' function. I did not try to reduce the space allocated to vista beyond the default returned by 'shrink'
Final output from fdisk p function after doing a desktop install of centos and accepting the defaults for the install and the partion option to used the remaining unallocated disk for the linux install:
FROM THE INSTALL DISKMANAGER:
------------------------------------------------------------------------------
LVM Volume Group MB
VolGroup00 212544
LogVol00 ext3 210560
LogVol01 swap 1984
Hard Disk
/dev/sda
/dev/sda1 ntfs 73694 1 9395
Free Free Space 3 9395 9395
/dev/sda3 ext3 196 9396 9420
/dev/sda4 Extended 70198 9421 18369
/dev/sda5 VolGroup00 LVM PV
70198 9421 18369
/dev/sda2 ntfs 8535 18370 19457
/dev/sdb
/dev/sdb1 ntfs 10240 1 1306
Free Free Space 4 1306 1306
/dev/sdb2 VolGroup00 LVM PV
142381 1307 19457
-----------------------------------------------------------------------------
information from the boot : linux rescue
chroot /mnt/sysimage
mount
/dev/VolGroup00/LogVol00 on / type ext3 (rw,default)
/dev/sda3 on /boot type ext3 (rw,default)
-----------------------------------------------------------------------------
the recipe edited into main.lst of EasyBCD after doing the EasyBCD install in vista - i.e., the failed recipe

title xyz
root (hd0,2)
kernel /boot/vmlinuz-2.18.8-e15 ro /dev/hda4
initrd /boot/initrd-2.18.8-e15.img
------------------------------------------------------------------------------
the command line entries that succeeded what intered into EasyBCD/GRUB :
grub> root (hd0,2)
grub> (hd0,2)/vmlinuz-2.18.8-e15
grub> (hd0,2)/initrd-2.18.8-e15.img
grub> boot
------------------------------------------------------------------------------
 
Hello & welcome to NeoSmart Technologies.

Question: how does /dev/hda4 translate to (hd0,2)?
 
/dev/hda4 does not translate to (hd0,2) I attempted to follow the pattern of a recipe from another system . I though that /dev/hda4 was a reference to / . In addition I think that the 'error 17' returnen by the stored recipe was caused by the first field of the kernel command, that is '/boot/vmlinuz-2.18.8-e15' .
 
:lol: no problem.

It's just you both use the term "recipe" and have the same exact issue at the same exact time :wink:

At any rate, yep, check that last bit I posted in his thread about vmlinuz and initrd not being found.
 
Back
Top