Editing Linux
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
16:30 - 18:30 [[C_and_assembler_on_Linux|C and the Assembler on Linux]] | 16:30 - 18:30 [[C_and_assembler_on_Linux|C and the Assembler on Linux]] | ||
18:30 - 20:00 [[Linux. | 18:30 - 20:00 [[Linux 101]]: Introductory Class. The class will be presented in 2 parts and restarts the 1st and 3rd week of each month. Live CD's and thumb drives will be available for hands-on learning. Feel free to come early if you might need extra assistance. No experience necessary or expected. | ||
==Wednesdays== | ==Wednesdays== | ||
Line 18: | Line 18: | ||
System Recovery (Fie: Failure is Eminent) | System Recovery (Fie: Failure is Eminent) | ||
Devoted to recovery and backups of Data. Either weekly or bi-monthly. | Devoted to recovery and backups of Data. Either weekly or bi-monthly. | ||
Your system recovery plight put to the test! Not sure whether this is a class, a roving group activity, or | Your system recovery plight put to the test! Not sure whether this is a class, a roving group activity, or just a straight challenge. If you don't have any form of recovery, perhaps this will inspire you to do so. Will probably open this up to the internet communities at large if it goes well for the space. | ||
Considerations: | Considerations: | ||
Line 86: | Line 84: | ||
==Building Linux from source code on Debian-based GNU/Linux systems== | ==Building Linux from source code on Debian-based GNU/Linux systems== | ||
# Get the build requirements: | # Get the build requirements: | ||
#: <code>su -c 'apt-get install build-essential | #: <code>su -c 'apt-get install build-essential ncurses5'</code> | ||
# Download the Linux source code from the [http://www.linux-libre.fsfla.org/pub/linux-libre/releases/ Linux-libre project]. The source tarballs from kernel.org should be avoided if possible, because it includes proprietary binary blobs. | |||
#: <code>wget http://www.linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-3.4.N/linux-libre-3.4.2-gnu.tar.bz2</code> | |||
# Download the Linux source code from the [http://www.fsfla.org/ | |||
#: <code>wget http://www.linux-libre.fsfla.org/pub/linux-libre/releases/LATEST-3.4.N/linux-libre-3.4. | |||
# Extract the source archive: | # Extract the source archive: | ||
#: <code>tar xf linux-libre-3.4. | #: <code>tar xf linux-libre-3.4.2-gnu.tar.bz2</code> | ||
# Enter the directory with the extracted source code (and make edits to the source if you wish): | # Enter the directory with the extracted source code (and make edits to the source if you wish): | ||
#: <code>cd linux-3.4. | #: <code>cd linux-3.4.2</code> | ||
# Create or edit the build config file: | # Create or edit the build config file: | ||
#: <code>make menuconfig</code> | #: <code>make menuconfig</code> | ||
# Build the kernel and package it into deb files (if you don't intend on debugging, set the INSTALL_MOD_STRIP variable to 1 to remove the debugging symbols): | # Build the kernel and package it into deb files (if you don't intend on debugging, set the INSTALL_MOD_STRIP variable to 1 to remove the debugging symbols): | ||
#: <code>INSTALL_MOD_STRIP=1 make deb-pkg</code> | #: <code>INSTALL_MOD_STRIP=1 make deb-pkg</code> | ||
#: ( | #: (This step can take several hours, depending on the machine your building it on.) | ||
# Go up one directory: | # Go up one directory: | ||
#: <code>cd ..</code> | #: <code>cd ..</code> | ||
# Install the deb package files you created: | # Install the deb package files you created: | ||
#: <code>sudo dpkg -i linux-*.deb</code> | #: <code>sudo dpkg -i linux-*.deb</code> | ||
# Reboot to load your new kernel: | # Reboot to load your new kernel: | ||
#: <code>su -c 'shutdown -r now'</code> | #: <code>su -c 'shutdown -r now'</code> | ||
=Suggestions | =Suggestions for Improving this Section= | ||
This wiki is build on Mediawiki. I highly recommend installing a USB version of it or something like so you can edit, expand, and this page while offline. Thanks! | |||
This wiki is | |||
version of it or something like so you can edit, expand, and this page | |||
while offline. Thanks! | |||
Include photos and descriptions of community linux machines, live cd's, | Include photos and descriptions of community linux machines, live cd's, and other relevant things at nb. | ||
and other relevant things at nb. | |||
Should [[Android]] get talked about here as well? | Should [[Android]] get talked about here as well? |