SCIENTIFIC-LINUX-USERS Archives

November 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jaroslaw Polok <[log in to unmask]>
Reply To:
Jaroslaw Polok <[log in to unmask]>
Date:
Thu, 23 Nov 2006 11:06:33 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (39 lines)
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 _

ATOM RSS1 RSS2