Hello
> the file /etc/grub.conf is modified this way :
>
> sed -e "s/splashimage/password --md5 ${MD5PASSWD}\nsplashimage/g" \
> < grub.conf > grub.conf.new
> mv grub.conf.new grub.conf
Well , I'm not sure you really want to do this that way:
# ls -l /etc/grub.conf
lrwxr-xr-x 1 root root 22 Feb 26 2005 /etc/grub.conf
-> ../boot/grub/grub.conf
originally /etc/grub.conf is a symbolic link to /boot/grub/grub.conf
-> after your manipulation you substitute it with a file .. and not the
one that actually boot loader loads ...
> and we re-install grub :
>
> /sbin/grub-install /dev/sda
>
> => We get an error message when executing /sbin/grub-install /dev/sda
> saying that it is not defined in BIOS
And the exact error message is ? ...
(you may want to run grub-install --debug /dev/sda)
Cheers
Jarek
__
-------------------------------------------------------
_ Jaroslaw_Polok ___________________ CERN - IT/FIO/LA _
_ http://home.cern.ch/~jpolok ___ tel_+41_22_767_1834 _
_____________________________________ +41_78_792_0795 _