PDA

View Full Version : Linux scripts


Chain729
06-26-2007, 11:55 AM
Is there an easy way to run these? Or at least a write up somewhere?

Background: I found the instructions for updating the kernel to an i686 instruction set and it's either "do a bunch of stuff" or "run this script."

TWL
06-26-2007, 12:57 PM
Is there an easy way to run these? usualy just
cd /location_of_script
chmod u+x script --- this makes the script executable
./script Or at least a write up somewhere? Google for Linux (http://www.google.com/linux) is a good place to start

Background: I found the instructions for updating the kernel to an i686 instruction set and it's either "do a bunch of stuff" or "run this script." Which distro are you using? Most distros have i686 kernels. Just use your distros package manager to install it.

unixpirate
06-26-2007, 01:26 PM
Is there an easy way to run these? Or at least a write up somewhere?

Background: I found the instructions for updating the kernel to an i686 instruction set and it's either "do a bunch of stuff" or "run this script."



Creating and Running a script (http://www.vias.org/linux-knowhow/bbg_sect_02_01.html)

Chain729
06-26-2007, 02:20 PM
usualy just
cd /location_of_script
chmod u+x script --- this makes the script executable
./script Google for Linux (http://www.google.com/linux) is a good place to start

Which distro are you using? Most distros have i686 kernels. Just use your distros package manager to install it.

Thanks. I'm still trying to figure Linux out.

FC6. Anaconda has a known issue of intalling the wrong kernel.

TWL
06-26-2007, 07:42 PM
Thanks. I'm still trying to figure Linux out.

FC6. Anaconda has a known issue of intalling the wrong kernel.
RPM would be the package manager then. It's been awhile since I used a RPM based distros so the following may not be true.

I believe you should be able to download a i686 kernel RPM for FC6 and then enter the following:

cd /location_of_kernel_RPM
rpm -ivh kernel.rpm

Hopefully this should also add an entry for the new kernel into your boot loader [LILO or GRUB]. The next time you boot up you should be able to select between the old and new kernel. Select the new kernel and test it before you remove the old kernel.

Chain729
06-26-2007, 10:11 PM
TWL,

The commands you posted did run the script. Thanks.

Chain729
06-26-2007, 10:14 PM
Creating and Running a script (http://www.vias.org/linux-knowhow/bbg_sect_02_01.html)

Thanks for the link. It explained things a bit for me, but I'm still too new to Linux that most of it was over my head. I appreciate it though.

unixpirate
06-26-2007, 10:33 PM
Thanks for the link. It explained things a bit for me, but I'm still too new to Linux that most of it was over my head. I appreciate it though.


I sent you a PM. Hit me up if you need assistance :yay:


SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.