Linux For Dummies. Richard Blum
Чтение книги онлайн.
Читать онлайн книгу Linux For Dummies - Richard Blum страница 17
answers.microsoft.com
and you'll see lots of postings on how to handle this situation.
When the shrink process completes, a new partition appears in the Disk Manager listing. This new partition appears as Unassigned, and not have a drive letter assigned to it by Windows.
If you have lots of space available on your existing Windows partition you'll probably want a lot more than 10GB of space. The 10GB is the minimum recommended for most Linux distributions to fit the operating system. However, if you download lots of multimedia, you'll quickly eat up whatever was left after you installed your software! Give Linux as much space as you think you can spare from your Windows environment.
Partitioning using Linux tools
If you're in a situation where you don't currently have Windows installed on the hard drive but would like to partition the hard drive first, you can use Linux tools to do the work for you. The easy solution is to boot your PC using a Live distribution and use the disk management tools available. Plenty of Live distributions include disk management tools by default, but by far the most popular is the KNOPPIX Linux distribution.
The KNOPPIX Linux distribution was the first to create a live Linux version, even back before there were DVDs (it was called a LiveCD!). What keeps KNOPPIX at the top of the list of popular Linux distributions is the myriad of utilities it includes by default. It touts itself as a rescue disk — a way to boot your PC if things go horribly wrong with the existing operating system, and be able to troubleshoot and possibly fix issues.
Follow these steps to partition your hard drive using KNOPPIX:
1 Download the latest KNOPPIX CD or DVD ISO image from the KNOPPIX website at www.knopper.net
.
2 Burn the ISO image onto a bootable CD, DVD, or USB stick using a standard ISO image burning tool.Jump to the “Creating a boot disk” section” for quick instructions on how to do this, then come back here.
3 Boot your PC using the KNOPPIX LiveDVD.At the boot: prompt, press the Enter key to start KNOPPIX.
4 Select Graphical Programs ⇒ startlxde from the main menu.The KNOPPIX graphical desktop environment comes up. It's a fairly bare-bones graphical desktop so it can run on just about any PC, but it gets the job done.
5 From the KNOPPIX graphical desktop, click the Terminal icon in the taskbar at the bottom of the desktop.A Terminal session starts that provides access to the command prompt (I talk more about that in Chapter 16).
6 At the command prompt in Terminal, enter the command: sudo gparted.The GParted application is a popular disk management tool for Linux. It provides an interface similar to the Windows disk management tool, as shown in Figure 2-4.
7 Right-click inside the partition you need to shrink.
8 Select Resize/Move from the pop-up menu.The Resize/Move dialog box opens, as shown in Figure 2-5.FIGURE 2-4: The Linux GParted disk management tool main window.FIGURE 2-5: The GParted Resize/Move dialog box.
9 In the Resize/Move dialog box, either drag the right end of the partition graphical box to resize the partition, or enter a new value in the New Size text box.The colored portion of the box indicates where the existing data in the partition is stored. You should be able to move the end of the partition down close to that area.
10 Click the Resize/Move button to initiate the resizing process.
After the hard drive is partitioned you can exit the tool and shut down KNOPPIX. And that's all there is to it! After you've resized the partitions, you're ready to move on to the next step in preparing your PC for Linux — checking your hardware, as described in the next section.
Double-Checking Hardware Compatibility
If you're installing Linux on hardware you already own, just give it a try and then see what doesn't work. Parts of this section address fixing hardware problems in a general sense. In other chapters, more specific items such as sound cards (Chapter 13), wireless cards (Chapter 9), and so on, are addressed. So, if you run into trouble, start in the specific sections dedicated to particular tasks, and then come here for more general help if you still haven't solved the problem.
The biggest hardware incompatibility problem areas are wireless network cards and the very latest whiz-bang multimedia hardware such as video cards and sound cards. You can check hardware compatibility lists before installing or purchasing new hardware, but they are of limited use because the hardware world changes so quickly.
If you're interested in looking, first try the support website for your particular Linux distribution, such as the Red Hat Enterprise Linux listings at access.redhat.com/ecosystem/search/#/category/
for the CentOS or Fedora distributions, or the Ubuntu listings at certification.ubuntu.com/
for any of the Ubuntu distributions.
Keep in mind that hardware compatibility lists usually focus on business equipment instead of home items, so just because you don't see something listed there doesn't mean it won't work.
Don't worry about items being Certified (heavily tested to make sure they work properly) or not. Supported and Compatible are fine most of the time for a home user. Ultimately, the best way to tell if a piece of hardware is supported is to do a web search. Many go to Google and do a web search on the make and model of the hardware, plus the word Linux. If specific drivers are required to support the hardware you can often find additional installation information by adding your Linux distribution name to the search. Such a search is likely to show you what problems and successes people have run into with that particular piece of hardware. If even thinking about computer hardware gives you dizzy spells, don't worry, you can find plenty of information on the Internet. A great place to start is www.tomshardware.com
. Other places to look for information on how various devices work in Linux include
Other Linux-oriented websites: Quite a few websites are devoted to helping Linux users support hardware. The old standard was the generic Linux hardware list at