[Trisquel-users] Re : Trisquel 6: updates break GRUB

2015-01-05 Thread lcerf
Where exactly are you stuck? Here are various ways to fix Trisquel from a  
live system:  
https://help.ubuntu.com/community/Grub2/Installing#Fixing_a_Broken_System


I would personally go the 'chroot' way because it is what I have always done  
(and it reminds me of my installation of Gentoo some 12 years ago):  
https://help.ubuntu.com/community/Grub2/Installing#via_ChRoot


One you get a terminal in the installed system, do what quidam wrote:  
https://trisquel.info/fr/forum/trisquel-6-updates-break-grub#comment-61807


Notice that 'update-grub' is a command!


[Trisquel-users] Re : Trisquel 6: updates break GRUB

2015-01-07 Thread lcerf
To exit the 'chroot' you can use the 'exit' command. I guess Ctrl+D would  
work as well. Anyway, as long as you waited for the return of the prompt  
after firing 'update-grub', you could as well abruptly reboot like you did.


Since it did not work, could you check that the occurrences of  
"--unrestricted" were really erased from /boot/grub/grub.cfg?


[Trisquel-users] Re : Trisquel 6: updates break GRUB

2015-01-12 Thread lcerf

The file displayed upon executing the sed command.

My bad. I forgot to write the option "-i" that allows to actually edit the  
file (rather than showing the result on the standard output and letting the  
file untouched):

$ sudo sed -i 's/--unrestricted//g' /boot/grub/grub.cfg

Sorry about that. I am correcting my original instructions right now.

You really need to fire 'sudo update-grub' after altering GRUB's  
configuration.


[Trisquel-users] Re : Trisquel 6: updates break GRUB

2015-01-12 Thread lcerf
Booting "by hand" and letting APT do the job is another way to go. This time  
I am not even sure you need to execute 'sudo update-grub': 'apt-get' has  
probably executed it for you (command called from a post-processing script).  
Anyway, it does not hurt.