[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Where does grub store the default choice?

From: Jon Anderson
Subject: Where does grub store the default choice?
Date: Tue, 13 May 2003 12:17:00 +0100
User-agent: KMail/1.4.1


I'm using the save default option with grub and everything works great, it 
loads the last selected choice.

What I am trying to figure out is where this data is stored on disk?  It 
doesn't appear to be stored in the boot sectors on the drive and I couldn't 
see anything change in /boot/grub - Does anyone know how this data is stored? 
I had a look over the code but I couldn't grok where the reading/writing was.

If anyone can tell me, you'll be saving me about 10% of my development time!

Thanks in advance.

Best Regards,

Jon Anderson

PS. What a lovely boot loader grub is!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]