Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Where is grub-set-default?, Booting fallback systems from GRUB< Next Oldest | Next Newest >
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 20 2005,13:13 QUOTE

Hello,
 I am trying to setup grub such that it can boot from a fallback entry. When booting, grub does a 'savedefault' but I don't see the default directory mentioned in the manual besides there isn't a grub-set-default that I was planning to put in opt/bootlocal.sh.

 I was wondering if grub.dsl (0.95) would have what I need or am I missing something or should I be doing something different.

Thank you,
Prasad

Re: http://www.gnu.org/softwar....systems
Back to top
Profile PM YIM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Oct. 20 2005,14:42 QUOTE

Those entrys go in the menu.lst file of the /boot/grub directory

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 20 2005,15:38 QUOTE

I do have the entries per the manual in the menu.lst file in the /boot/grub directory.

My menu.lst is something like this
----------------------------------------------
default saved
timeout 10
fallback 1

title A
....
....
savedefault fallback

title B
....
...
savedefault
-----------------------------------------------------

Per the above menu.lst file, the first time boot saves the default as 1 so the next time, title B will boot and it will keep booting B till the default is changed to 0. So, everytime the system is booted without any errors or problem, the grub-set-default 0 needs to be executed. the fallback 'B' will boot only if grub-set-default is not executed when an error occurs.

from Grub
1) the savedefault is not saved
from DSL
2) the grub-set-default is not present just in case the default file is hidden somewhere.

-Prasad
Back to top
Profile PM YIM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Oct. 20 2005,18:24 QUOTE

Maybe I'm not understandng what you are saying, but in DSL, any change in scripting gets written into the backup.tar.gz file. If you put it in filetool.lst, for example, the new version gets packed into that backup file.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
khurdp Offline





Group: Members
Posts: 43
Joined: Jan. 2005
Posted: Oct. 20 2005,18:47 QUOTE

Sorry for not expressing myself correctly doobit. I have corrected(edited) myself in my last post.

from Grub
1) the savedefault is not saved
from DSL
2) the grub-set-default is not present just in case the default file is hidden somewhere.


From the Grub changelog, it looks like grub versions after 06-20-04 have grub-set-default which actually creates the default file and which it is advised should be modified by it only.

thank you,
Prasad
Back to top
Profile PM YIM 
6 replies since Oct. 20 2005,13:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Where is grub-set-default?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code