updated bios on dell inspiron 1100 and got X patch, but...
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
updated bios on dell inspiron 1100 and got X patch, but...
i use suse 9 and i've recently updated my dell inspiron's faulty A06 bios to the latest A26. i already new this would break X as runlevel 5 started, so i downloaded the new patch from geocities web page and installed it as root from console. it does the job. 10 mb of memory gets allocated for X. the only thing is i can't get it to start automatically at start up. i always have to type
init 3
/sbin/845patch 10000
init 5
to run X.i know the instructions on the web page say to type
echo "/sbin/845patch 10000">>/etc/rc.d/rc.sysinit
for redhat /mandrake. since suse uses rpms, i assumed it was based on redhat so i tried that but when i reboot it doesn't work. i noticed that suse left an rc.dREADME file in /etc/, so i read it.
it says that to comply with the linux standard base they moved start up scripts to /etc/init.d.
when i went back to the geocities web page to try and find an answer, i noticed the commands to start the patch automatically at boot for debian based distros used the same directories as suse's with:
i tried this and didn't get any errors until the 3rd line. the error said that S20-845patch didn't exist.
i started the patch manually and ran X. i opened the file browser and noticed there was an /rcS.d/S20single script. should i retry linking using this file or do i need to type something totally different all together for suse 9? everything works as far as the patch itself goes. and if i start X after manually running the patch, i can actually see my battery status for once thanks to the bios update. i'm just tired of typing that stuff just get a graphical log in each time. if anyone has been through this before and can give advice that would be great. thanks.
try using ln -s /etc/init.d/845patch /etc/init.d/rc5.d/S20-845patch instead. (NOTE: use init.d/rc5.d (yes, this is number five) instead of rcS.d)
some basic information about what all this really means (so you can help yourself, if it's still not gonna work): every runlevel has a subdirectory called rcX.d (where X is 0 thru 6 (runlevels 0 thru 6!!) or S (single user mode)). any files in these directories starting with a capital "S" contain a script to start a specific service when entering the runlevel specified by the name of the subdirectory that contains the file (e.g. if there is a file rc2.d/S20apache the apache webserver will be started when entering runlevel 2 (given that the file really contains the apache script - if you want you can rename the file - as long as "S20" remains the same, it will still work the same way)) - the number after the "S" just indicates a priority. well, i hope i did not confuse too much ;) (for more information have a look at 'man init'!).
so, since you want your script to be executed when switching to runlevel 5, you have to look for the subdirectory rc5.d. you should either find it in /etc or in /etc/init.d. if you found it executing the script
ln -s /etc/init.d/845patch <path to rc5.d>/rc5.d/S20-845patch
will create a symbolic link in the rc5.d subdirectory pointing to the actual script saved in /etc/init.d/845patch and the script should be executed any time you enter runlevel 5
tokkee it worked! that's awsome. i think i understand how these runlevel directories work now. since my system has been configured to my satisfaction, for now anyway, i can finally learn more about scripting and programming on linux. thanks alot!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.