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:  Zap GPT data structures from a disk, while preserving existing MBR partitions

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:  Manual disk partitioning guide for Deepin 2014

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 runs network ads?  Yep, no more ads from the usual suspects that track 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.

Subscribe for updates. Trust me, no spam!

Mailchimp Signup Form

Sponsored links

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

Leave a Reply

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

Get the latest

On social media
Via my newsletter
Mailchimp Signup Form

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event for 2020.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
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.

Anastasia Marchenkova

An invitation from Anastasia Marchenkova

Hya, after stints as a quantum researcher at Georgia Tech Quantum Optics & Quantum Telecom Lab, and the University of Maryland Joint Quantum Institute, I’m now working on superconducting qubit quantum processors at Bleximo. I’ll be speaking during Algorithm Conference in Austin, Texas, July 16 – 18, 2020. Meet me there and let’s chat about progress and hype in quantum computing.