Linux installation and getting started

Getting Started with Linux: Installing Linux on Your Computer

So you’ve decided to give Linux a shot, and you’ve found a distribution that suits you. But how do you actually get it installed? Here, we’ll show you how to create a live CD or USB drive, boot into Linux, and install it on your system.

Whether you’ve played around with live CDs and drive partitioning before or this is your first time, this guide will get you up and running with Linux in just a little bit of time. It isn’t the most straightforward process, but if you’re reading this, you’re probably experienced enough with a computer to pull this off—it just takes a bit of legwork.

Five Best Live CDs

Live CDs (and DVDs) are versatile tools, allowing you to boot into an operating system without…

Note: If you’re installing Linux on a Windows computer, the process shouldn’t be too difficult (though you may want to brush up with our previous installation guide while you’re here). If you’re installing on a Mac or Hackintosh, however, you’ll need to perform a few extra steps, so definitely check out our triple booting guide for Macs and Hackintoshes , even if you aren’t triple booting.

Hack Attack: How to triple-boot Windows XP, Vista, and Ubuntu

Burning a Live CD or USB Stick

There are a few different methods for installing Linux on your computer, but generally, the most popular way is by downloading and burning a live CD (which has its own uses besides just installing Linux ). I’ll show you how to do both here. The live CD method is probably easier, so go that route unless you’re on a netbook, or otherwise can’t burn a CD.

Use an Ubuntu Live CD to Test Your PC’s Memory

If your PC has been experiencing strange system crashes, or even the dreaded Blue Screen of Death,…

The Live CD Method

You’ll have to get your live CD from the net, so head to your distribution’s home page (like Ubuntu’s )and look for a downloads section. Most will make it pretty easy to find. In addition, many sites will even host BitTorrent downloads of their distribution too, which will be a little faster—so if you see a link for » alternative downloads «, check that out. Otherwise you can probably download it directly from the site.

You’ll probably have a few different choices when you download. For example, some distributions have netbook-optimized versions, while others (like Ubuntu) will offer different versions based on the desktop environment they come with. And, most will have 32- and 64-bit versions available as well (if you don’t know which one’s right for you, we’ve written a handy guide to help you out ). Generally, it shouldn’t be too hard to figure out which one you want. When in doubt, just go with the 32-bit desktop version (sometimes labeled «i386»).

Читайте также:  Узнать код процесса linux
WTF Desktop Environments: GNOME, KDE, and More Explained

You can customize nearly every last inch of your Linux installation to fit your liking, and it…

Once your .ISO file is done downloading, open up your favorite burning program and burn that sucker to a blank CD. It’s pretty easy to do on Windows 7 . Once it’s done burning, restart your computer. Wait for the «press any key to boot from CD» prompt, and then press a key. Once the CD boots up, it’ll give you the option to try out Linux or install it. Go ahead and click install. If you want to try it out, though, go for it—you’ll be able get a pretty good feel for what the desktop is like. When you’re ready to install, you can usually launch the installer right from the desktop.

How to Burn ISOs in Windows 7

Good news for Windows users looking to burn a quick ISO disk image to a CD or DVD: Windows 7…

The Live USB Method

The Live USB method requires previously mentioned Unetbootin for Windows. All you need to do is download it, start it up, and you can manage everything from right inside the program. Pick your distribution from its list (remember to pick the right version, as described above), pick the drive letter that corresponds to your thumb drive at the bottom, and hit OK. If Unetbootin doesn’t list your distribution, you can still download an ISO as described in the live CD method and point Unetbootin to that file instead.

UNetbootin Creates USB-Bootable Linux the Easy Way

Windows and Linux only: Free bootable image creator UNetbootin automates the downloading, imaging,…

Booting from your USB drive will take a few extra steps over the live CD method. While your computer is probably set to check your CD drive for bootable discs, it probably isn’t set to check your USB ports. So, with your newly created live USB stick plugged in, restart your computer and enter your BIOS setup (usually by hitting a key like Delete when you first start up—your computer’s splash screen will let you know when you first turn on your computer). Head over to the «Boot» section of your BIOS and find the section for changing your PC’s boot order. You’ll want to move your USB hard drive to the top of the list. Save your settings and exit the BIOS. When your computer reboots, it should take you to the Unetbootin menu, from which you can boot into your Linux live session (as described in the live CD method).

The Installation Process

The installation process will be slightly different for every distro, but in general setup should guide you through the necessary steps pretty easily. Assuming you’re installing Linux alongside another OS like Windows, though, there are a few things you’ll want to pay attention to.

Читайте также:  Kali linux загрузчик на флешке

Partitioning Your Drive

When the installer asks you where you want to install Linux, you’ll have to partition your drive. We’ve gone through how to do this a few times before , and it’s usually pretty simple to add new partitions from the free space on your drive.

Ubuntu’s installation should partition the drive for you automatically, and unless you have any special needs (like if you’re on a Mac), you can breeze right through the installation with no problems. If not, you may be given a more advanced partitioning tool, and you’ll have to create the partitions yourself. If this is the case, you’ll actually want to create two new partitions. One is for the operating system itself, which I’d format as Ext4. Give it at least 10 GB of space, and set the mount point as / . You’ll want to create the second partition for what’s called swap space. This essentially helps your computer manage memory more effectively and keeps it running fast. If you have a small amount of ram (one or two GB), you’ll want your swap partition to be twice as large as the amount of RAM you have. If you have 3 GB or more, you can probably just make a swap partition that’s the same size as the amount of RAM you have.

GRUB and Other Bootloaders

Linux is going to install a new bootloader for you called GRUB. It’s going to replace your normal bootloader and give you the option to choose between Windows and Linux at startup. In general, you shouldn’t have to do anything here—most distros will install GRUB by default, and it should work correctly out of the box. Just note that Mac users will want to install GRUB on the Linux partition itself , and Windows users will need to be careful since if you reinstall Windows, you’ll lose GRUB and have to reinstall it yourself . Of course, if you prefer something a little prettier, you can mess around with previously mentioned Burg , but we’d recommend doing that after you get your Linux installation up and running.

Recover the GRUB Menu on a Dual-Boot System

Planning ahead to multi-boot Windows and Linux distributions is the way to do it, but what if you…

That’s it! To boot into your newly installed Linux partition, you just need to restart your computer. When you do, it’ll take you to the GRUB menu, which will let you choose whether to boot into Linux or Windows. From there, you can play around with your new Linux installation. It’ll probably come with quite a few apps installed, some you’ll recognize and some you won’t, and you can poke around in the settings and see what’s available to you. If you’re lucky, most of your hardware will work. If you’re unlucky, you’ll have a few quirks with your hardware, and if you’re really unlucky, your Wi-Fi won’t work out of the box and you’ll have to work just to get connected to the internet. Luckily, we’ll be talking all about getting your hardware working tomorrow, so check back with us then!

Читайте также:  Настройка сети в линукс debian

Источник

Установка Linux и первые шаги (Linux Installation and Getting Started). Версия 3.2.2

Matt Welsh
Phil Hughes
David Bandel
Boris Beletsky
Sean Dreilinger
Robert Kiesling
Evan Liebovitch
Henry Pierce
Перевод на русский Паутов Алексей.

Во избежание искажения смысла лицензии, являющейся юридическим докуметом, привожу ее в оригинальном виде (скопирована из оригинальной документации).

Names of all products herein are used for identification purposes only and are trademarks and/or registered trademarks of their respective owners. Specialized Systems Consultants, Inc., makes no claim of ownership or corporate association with the products or companies that own them.

Copyright ©1992-1996 Matt Welsh

Copyright ©1998 Specialized Systems Consultants, Inc (SSC)
P.O. Box 55549
Seattle, WA 98155-0549
USA
Phone: +1-206-782-7733
Fax: +1-206-782-7191
E-mail: ligs@ssc.com
URL: http://www.ssc.com/

Linux Installation and Getting Started is a free document; you may reproduce and/or modify it under the terms of version 2 (or, at your option, any later version) of the GNU General Public License as published by the Free Software Foundation.

This book is distributed in the hope it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, in Appendix C.

The authors encourage wide distribution of this book for personal or commercial use, provided the above copyright notice remains intact and the method adheres to the provisions of the GNU General Public License (see Appendix C). In summary, you may copy and distribute this book free of charge or for a profit. No explicit permission is required from the author for reproduction of this book in any medium, physical or electronic.

Note, derivative works and translations of this document must be placed under the GNU General Public License, and the original copyright notice must remain intact. If you have contributed new material to this book, you must make the source code (e.g., LaTeX\ source) available for your revisions. Please make revisions and updates available directly to the document maintainers, Specialized Systems Consultants. This will allow for the merging of updates and provide consistent revisions to the Linux community.

If you plan to publish and distribute this book commercially, donations, royalties, and/or printed copies are greatly appreciated by the authors and the Linux Documentation Project. Contributing in this way shows your support for free software and the Linux Documentation Project. If you have questions or comments, please contact SSC.

Clarica Grove
Wed Mar 4 10:46:42 PST 1998

Источник

Оцените статью
Adblock
detector