Debian 6 installation and disk partitioning guide

apterror

Debian Debian 6.0, aka Squeeze, is the latest release of Debian, a multi-purpose, GNU/Linux distribution. Like previous releases, Debian 6 (Debian 6 review) offers several installation methods and multiple disk partitioning schemes. Which installation method and disk partitioning scheme should you choose? It all depends on how you want to install your system. This article will help you evaluate the available options.

The most important topic covered in this article deals with the disk partitioning options. If you are new to Linux and to Debian, you will have a better understanding of the disk partitioning choices available when you are through reading this. Emphasis will be on LVM, the Linux Logical Volume Manager.

Note: If you are only interested in the LVM section of this article, jump to the last page.

Installation Options: If you want to install a fresh copy of Debian 6, you can do so by downloading a large ISO image or a small ISO image. A large ISO image can be a CD- or DVD-sized image, while a small ISO image comes in 180 MB and 40 MB sizes. If my experience installing Debian 6 on several machines this past few days is any thing to go by, you are very likely going to run into a major issue if you use a large ISO image.

Here is what I ran into.

This image shows a warning message that was generated during a test installation. I could not figure out why the repo could not be reached. Despite this, the installation completed successfully.
DVDinstall5

Related Post:  How to dual-boot Linux Mint 17.2, Windows 10, Windows 8.1 on a PC with UEFI firmware

However, updates could not be applied to the system because the main valid entry in /etc/apt/sources.list is the CDROM entry. As noted in the previous image, the remote repo was commented out. When I uncommented it and ran apt-get update, the system complained.
apterror

So, it is very likely that if you use a large ISO image, updating the package database could pose a problem . Also, you might not be able to install major applications which are not included in the installation image (CD or DVD). I did not have any problems when I used a small ISO image. Keep in mind that Debian offers two types of small ISO images. The 180 MB image is called a netinst image, while the 40 MB one is the businesscard image.

So, which installation image should you use? Because of the issue noted above, and the small file size, the netinst or businesscard images are recommended. If you would like to test whether the kernel that ships with Debian 6 is compatible with all the components of your computer, a Live version of the large installation image is recommended.

You may download a small ISO image here, and a full ISO image here.

Update: A commenter pointed out that the Volatile (squeeze) repository, which was the source of the error noted above, has been replaced by the squeeze-update repository. If you already have an installation of Debian 6 running, and still can’t apply updates, comment out the CDROM entry in your /etc/apt/sources.list file, and add the following:
deb http://ftp.debian.org/debian squeeze-updates main

Disk Partitioning Schemes: Debian’s installer offers two disk partitioning schemes – the traditional method and one based on LVM. In the image below, the “Guided – use entire disk” option uses standard disk partitions. This is the default. But it is not the best and I will not recommend it. Why? Because the next two options use LVM. If you ever have the option to use LVM or traditional disk partitions, always use LVM. It offers benefits and features the traditional method does not have. With LVM, you can resize logical volumes, which are LVM equivalents of traditional partitions, increase available storage space by adding extra hard drives (to the computer), all while the computer is humming.
debguide

Related Post:  How to configure LVM on Pardus 2011

Regardless of the option you chose in the previous image, the installer offers three more partitioning schemes, or sub-schemes. In the next series of images, we will examine what happens when any of the options is selected.
debguide2

This just shows the partitions that are created if the default option is selected. Though the installer recommends this, I will advise against it. Putting all files, including boot files, into one huge partition is not the best way to proceed. Notice that ext3 is the default journaling file system. Virtually all other Linux distributions use ext4.
debguide3

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
4. Axo Finans.

Upcoming events

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
4. Axo Finans.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.