Linuxathome.net - Linux news and help for home broadband internet users
 Home | Files | Case Mods | Reviews | Forum | Search | Links | RDF Feed | Contact
Sections

Installation Guide
Setting Up
Internet Sharing
Port Forwarding
Services Config
Installing Programs
Game Servers
Using IPTables
Useful Commands
Kernel Upgrading
System Recovery
Red Hat 7.2 Setup
OpenBSD Setup
BPA Login Setup
PPPoE Setup
Add New Hardware
Using PPTP VPN
VMware ESX Cmds
Our RC5 Team
Folding@Home
Help Support Us

 
Articles
Linux Security
NetStats FAQ
Linux KIS Trojan
CAT5/LAN Cables
Domain Names
Presario RH Install APC Debian DVD
 
Slashdot.org
  • Python Developer Survey: 55% Use Linux, 6% Use Python 2
  • 'Is It Ethical to Have Children in the Face of Climate Change?'
  • Tech Worker Builds Free AI-Powered Tool For Fighting US Health Insurance Denials
  • Oceanographers Mapping Underwater Mountain Find Flying Spaghetti Monster
  • Washington Post Calls Telegram 'a Haven for Free Speech - and Child Predators'
  • Inside Boeing's Factory Lapses That Led To the Alaska Air Blowout
  • Long Covid Knocked a Million Americans Off Their Career Paths
  • How Not To Hire a North Korean IT Spy
  • How a Group of Teenagers Pranked 'One Million Checkboxes'
  • Woman Mailed Herself an Apple AirTag To Help Catch Mail Thieves
  • Google Play Store Can Finally Update Multiple Apps At Once
  • Scientists Detect Invisible Electric Field Around Earth For First Time
  • US Government Opens Up 31 Million Acres of Federal Lands For Solar
  • Apple Stands By Decision To Terminate Account Belonging To WWDC Student Winner
  • Wells Fargo Worker Dies At Desk, Nobody Notices For Four Days
  •  
    Affiliates

    TweakTown.com
    ZGeek.com
    pebkac-consulting.com.au

      Adding New Hardware

     

    All systems need to be modified and upgraded in order to increase there life span and usability. This page was created with that in mind, here are some ways that you can get more life out of your Linux system by adding/replacing Hardware.

     

      Hardware Upgrades

     
    Adding More Memory

    With older Linux distributions you needed to manually inform the kernel that is had more memory than 64MB (not sure on current new Distributions). Increasing the amount of memory in your Linux system is rather straight forward, simply follow these few instructions (it shouldn't be necessary to increase your swap disk space, in fact your could probably decrease it depending on your memory size):

    1. With your machine powered off, open the case and install the appropriate memory into the system in the correct memory slots.

    2. Power on the machine, once the system boots log into your system with the root account.

    3. Open the /etc/lilo.conf file with your favourite text editor and you should find something like this:

    prompt
    timeout=50
    default=linux
    boot=/dev/hda
    map=/boot/map
    install=/boot/boot.b
    #message=/boot/message
    lba32

    image=/boot/vmlinuz-2.4.9-34
    label=linux
    root=/dev/hda2
    read-only
    initrd=/boot/initrd-2.4.9-34.img

    You need to add the line append="mem=XXXM" (where XXX is the new total of memory, in megabytes) so it looks like this:

    image=/boot/vmlinuz-2.4.9-34
    label=linux
    root=/dev/hda2
    read-only
    initrd=/boot/initrd-2.4.9-34.img
    append="mem="XXXM"

    4. Now that you have entered the appropriate information in your lilo.conf file you will need to reload lilo by typing /sbin/lilo, this will check your config file for correct syntax and then load the changes.

    When you have completed this your system should recognise the total amount of memory (including the new memory), you can double check this by typing in free which will give you information on your memory (such as total, used and free etc).

     

    Adding Another Hard Disk

    In order to gain more Hard Disk space under Linux (as with any other Operating System), you would need to add a second Hard Disk (or replace your old one with something bigger, but since this would most likely require a re-install the first choice is preferable). In order to install a second Hard Disk under Linux theses are the steps involved:

    1. Turn your system off and open the case, install the new drive and plug it into a free connector on your IDE cables.

    2. Once your new hard disk is installed in your system, the drive should be autodetected boot time. In order to work out the drives device name under Linux you can simply work it from the list here:

    Primary Controller First Drive: /dev/hda
    Primary Controller Second Drive: /dev/hdb
    Secondary Controller First Drive: /dev/hdc
    Secondary Controller Second Drive: /dev/hdd

    You will need to know this information to setup the drive under Linux.

    3. Now that you know what your Hard Disk is referred to under Linux you will need to use fdisk to partition the drive e.g. fdisk /dev/hdb. The preferrable method is to select the old partitions and added a single Linux partition, making sure the partition type is 83 (Linux).

    Type n to "add a new partition"
    Type e to make it a "primary partition" (depending on how many partitions your creating)
    Type 1 for a single partition
    Enter the first cylinder e.g. 1
    Enter the last cylinder e.g. 1245 (depending on the size of your drive)
    Type w to write the partition table to disk and exit

    4. When the partition has been created you need to create the file system by running mkfs. If you only created a single partition then it should be called something like this: /dev/hdb1, so you would only need to type: mkfs /dev/hdb1 in order to create the single file system. (This would work for multiple partitions but then you would need to run mkfs on each partition, e.g. mkfs /dev/hdb1 then mkfs /dev/hdb2 and so on until all your partitions have a file system).

    This newly created file system should be created by default as ext2, if you want to create an ext3 file system (which is just ext2 + journal) then you will need to type tune2fs -j /dev/hdb1 (this will conver the ext2 to ext3) and the same for all partitions and file systems you created on your disk.

    5. The next step is to make a mount point where you want the drive to be mounted, this can be done similar to this: mkdir /dir and then you can test mount the new filesystem: mount /dev/hdc1 /dir. The filesystem can then be unmounted using umount /dir.

    6. Finally you will need to create an entry in /etc/fstab describing the new filesystem so it can be automatically mounted at boot time. This can be tested using mount all and observing that the new filesystem is indeed mounted. You will most likely need to add one or more lines similar to this:

    /dev/hdX#     /dir/to/mount      extY     defaults     0 1

    Where X is worked out from the list in part 2 above and # is the partition number. Enter Y as the file system you have created, i.e 2 for ext2 and likewise 3 for ext3.

    Once you have completed this your machine is now ready with its increase Hard Disk capacity.

     

    Proudly Hosted By:
    Hosted by PEBKAC Consulting

    Please read our Legal Notice for information concerning our site and its content.
    All logos and trademarks in this site are property of their respective owner. All the rest © 2000 - 2016 by Linuxathome.net

    Reviews

    D-Link DI-704P
    VIA EPIA-M 9000
    Tux Applique
    Ricoh MP5125A
    AMD XP 2600+
    3DProphet 9000Pro
    Radeon 9700 Pro
    XTNDAccess IrDA
    Netgear FS-524s
    DSR2161 KVM
    Game TheaterXP & XPS-510 Speakers
    3D Prophet 4000XT
    AutoView 400
    Back-UPS CS 350
    Dual Neon Kit
    SwitchView KVM
    20x4 LCD Kit
    Window Kit

     
    LinuxSecurity
  • 5 Open-Source Blockchain Technologies That Linux Users Need to Know About
  • The Three Best Tools You Need to Scan Your Linux System for Malware
  • Navigating the Linux Kernel's Latest DMA Security Vulnerability
  • Staying a Step Ahead of Adversaries: Mitigating Chromium's Security Flaws on Linux
  • Slackware: 2024-244-01: libpcap Security Advisory Update
  • Fedora 40: microcode_ctl 2024-5c5c384fa7 Security Advisory Updates
  • Fedora 40: python3.11 2024-985017d277 Security Advisory Updates
  • Fedora 40: xen 2024-91ddad6c8b Security Advisory Updates
  • Fedora 39: xen 2024-ed546e3543 Security Advisory Updates
  • Debian: DSA-5762-1: webkit2gtk Security Advisory Updates
  •  
    Google Search
    Enter Keywords:

     
    Bash Jokes

    % gotta light?

    No match.

     
    Virtualization, Virtual Machine & Virtual Server Consolidation - VMware

    The Community ENTerprise Operating System

    Get Slackware Linux

    Use OpenOffice.org

    Use Asterisk