DebianThis forum is for the discussion of Debian Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am installing a dual boot system. I have used GParted to partition the hard drive divided like so:
/dev/hda1 ntfs 40 gb
/dev/hda2 ext3 71 gb
/dev/hda3 fat32 1 gb
I have installed Win2K on the nfts partition.
The fat32 partition is intended to be shared between windows and linux.
I am currently installing Debian Etch on the ext3 partition.
It is telling me that I should have a swap partition.
I don't see how to do this in the Debian installer.
How do I do this? Do I need to go back into GParted?
How big should the partition be?
Depends on how much RAM you have and whether you will need to swap. My desktop has 2 GB of RAM, it never swaps, ergo I do not have a swap partition. My laptop has 1 GB of RAM, and occassionally swaps. It never swaps more than 256 MB, ergo the size of 256 MB for the swap partition is fine in my case. One way you can see how much you are swapping is by checking the output from /proc/meminfo
After deleting the 71gb partition, I then selected "Autmotically partition free space" and then "All files in one partition". It automagically created a 3.1 gb swap partition. Did it make an educated guess on how much I need based on my hw?
Why divide the 70g into 9 and 61?
By "reconsider the fat32 size", do you mean make it larger or smaller?
Assuming you have a 120 GB disk, this is how I would divide it.
15 GB NTFS ... Windows
40 GB FAT32 ... Shared Windows & Linux
9 GB Ext3 ... Linux / (root)
1 GB ....... Linux swap
The rest .... Linux /home
The reason for separating /home is similar to the reason for separating OS from Data in Windows. If you get a corrupted HD, the corruption usually occurs in the OS section. Makes it possible to retrieve data from the uncorrupted Data partition.
Also in Linux, if you decide to reinstall the OS, it's easy to re-install only the OS section and keep /home which includes all your data. Same thing for Windows.
Note: Disk partitioning schemes sometimes create as much controversy as distro selection. This is my theory.
I remember back when I started with Debian and I came across, several times, advice to have the swap partition placed on the disk before root. I recall at least once seeing that poohpoohed recently so perhaps it is no longer so. I am still doing it myself since it is no fun to have to repartition after the install
* Locate At the Front of the Disk: The physical beginning of any hard disk is the area that has the fastest data transfer, because of the use of multiple zone recording. If you put the swap file at the front of the disk, it should give better performance than putting it at the back. This is virtually impossible to do if you are leaving the swap file on the same disk as you have Windows installed into (because Windows itself will be at the front of the disk) but is easy to do if putting the swap file on its own hard disk.
Note: Remember that a hard disk can have several logical volumes. For example, if you divide a disk into two equal partitions, C: and D:, and put the swap file as the first file on D:, you aren't putting the swap file at the front of the disk because D: starts in the middle of the physical disk (C: is at the front.) This can still be a good move, however, see below.
* Locate At the Geographical Center of the Disk: Another trick for minimizing average seek time is to locate the swap file near the geographical center of the hard disk. This may be preferred in a situation where data is used all around the hard disk, and where a second physical hard disk for the swap file is unavailable. By putting the swap file in the center of the disk, the average seek distance to the swap file from a random spot on the disk is minimized. The easy way to do this is to split the disk into two equal partitions and put the swap file as the first file on the second partition (i.e., exactly what I described in the note immediately above.)