Re: Problems with grub-reboot/savedefault/default=saved

2010-02-25 Thread Colin Watson
On Wed, Jan 06, 2010 at 09:22:15PM -0800, Jordan Uggla wrote: > On Tue, Jan 5, 2010 at 3:08 AM, Colin Watson wrote: > >> 2: Setting GRUB_DEFAULT=saved in /etc/default/grub also enables savedefault > >> functionality. There are many people who would want to use grub-reboot and > >> grub-set-default

Re: Problems with grub-reboot/savedefault/default=saved

2010-01-06 Thread Jordan Uggla
On Tue, Jan 5, 2010 at 3:08 AM, Colin Watson wrote: >> 2: Setting GRUB_DEFAULT=saved in /etc/default/grub also enables savedefault >> functionality. There are many people who would want to use grub-reboot and >> grub-set-default without savedefault. The second patch adds a separate >> variable, GR

Re: Problems with grub-reboot/savedefault/default=saved

2010-01-05 Thread Colin Watson
On Tue, Jan 05, 2010 at 12:33:23PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Colin Watson wrote: > > I don't understand why /boot on LVM should mean that grubenv is not > > writable. The point of grubenv is to be a short chunk of contiguous > > reserved disk space which can be written

Re: Problems with grub-reboot/savedefault/default=saved

2010-01-05 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Colin Watson wrote: >> 4: Even with the first grub-reboot fix the default is still not restored >> when grubenv is not writable ( /boot on lvm for example ). Since >> grub-reboot can't work without a writable grubenv it's at least safer to >> boot into the "real" default instead of the "temporar

Re: Problems with grub-reboot/savedefault/default=saved

2010-01-05 Thread Colin Watson
On Sun, Dec 20, 2009 at 12:37:17AM -0800, Jordan Uggla wrote: > I found another bug. For some reason grub-reboot ( the utility ) > checks if prev_saved_entry ( which has just been set equal to > saved_entry ) is empty ( zero length or unset ), and if it is > unsets it. This makes grub-reboot ag

Re: Problems with grub-reboot/savedefault/default=saved

2010-01-05 Thread Colin Watson
On Wed, Dec 16, 2009 at 02:28:03PM -0800, Jordan Uggla wrote: > 1: grub-reboot doesn't restore the default after rebooting, making it > effectively equivalent to grub-set-default. This is because the > savedefault functionality currently saves the entry you boot from as the > new default even wh

Re: Problems with grub-reboot/savedefault/default=saved

2009-12-22 Thread Colin Watson
On Wed, Dec 16, 2009 at 02:28:03PM -0800, Jordan Uggla wrote: > There are multiple problems with grub-reboot/savedefault/default=saved. Hi, I do intend to follow up on this; however, due to Christmas holidays and the like it won't be until the new year. I'm just sending this messa

Re: Problems with grub-reboot/savedefault/default=saved

2009-12-20 Thread Jordan Uggla
I found another bug. For some reason grub-reboot ( the utility ) checks if prev_saved_entry ( which has just been set equal to saved_entry ) is empty ( zero length or unset ), and if it is unsets it. This makes grub-reboot again equivalent to grub-set-default the first time you use it. Instead

Problems with grub-reboot/savedefault/default=saved

2009-12-16 Thread Jordan Uggla
There are multiple problems with grub-reboot/savedefault/default=saved. 1: grub-reboot doesn't restore the default after rebooting, making it effectively equivalent to grub-set-default. This is because the savedefault functionality currently saves the entry you boot from as the new de