Re: Grub, how to save last OS which was started., resolved, now it works !!!!!!!



the problem on my machine was, that grub-set-default writes the correct
number and grub boots from this number. but after every boot this
number was 0. the configuration file was not right, after reading the
documentation of grub hundred times i have seen that the parameter
savedefault requires a number but this number was not mentioned in the
docu or in the examples.
in every entry must be a line with savedefault followed by a number to
write to /boot/grub/default
for instance:
title Debian GNU/Linux, kernel
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 ro ramdisk_size=100000 lang=us
apm=power-off nomce vga=0x317
initrd /boot/initrd.img
boot
savedefault 0
the next savedefault 1 and so on....
thats all and it works very fine!!!!

Greetings Randolf Balasus

.



Relevant Pages