Re: cant boot into system

2015-05-18 Thread Michael
Arghya, > i can get into root terminal through elementary OS recovery mode but i cant > remove the entry from system startup. If update.rc does not work for you (for whatever reasons) just delete the script in init.d - that alone should suffice to give you a normal boot again, and you can clean

Re: Cant Boot into system

2015-05-18 Thread Michael
Arghya, You don't need any sudo when the script is run by init, because it will be executed with system (root) authority. Just make it one line echo OFF > /sys/kernel/debug/vgaswitcheroo/switch and it should work. That is, if "OFF" is correct here, and "vgaswitcheroo" really sounds a little

Re: Cant Boot into system

2015-05-18 Thread Quinn Fissler
On 18 May 2015 at 11:49, Arghya Das wrote: > the script worked fine but when i tried to run in on boot by adding it in > update-rc.d file > When you say your script "worked fine", what definition of fine did you use? I think that you should speak to whoever *wrote *that *script*. The third lin

Cant Boot into system

2015-05-18 Thread Arghya Das
i tried to turn off my discrete graphics by writing a script : sudo chown username /sys/kernel/debug/vgaswitcheroo/switch sudo chown username /sys/kernel/debug/ echo OFF > sudo chown username /sys/kernel/debug/vgaswitcheroo/switch the script worked fine but when i tried to run in on boot by addin

cant boot into system

2015-05-18 Thread Arghya Das
i tried to turn off my discrete graphics by writing a script : sudo chown username /sys/kernel/debug/vgaswitcheroo/switch sudo chown username /sys/kernel/debug/ echo OFF > sudo chown username /sys/kernel/debug/vgaswitcheroo/switch the script worked fine but when i tried to run in on boot by addin