Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

Notices

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.

I have read about the LVM support in Linux, and to me it seems to be the best news since peanutbutter...

I have a few questions though, that I can't figure out.

Usually I make three partitions when I install Linux (/,/home and /usr), shall I make these partitions even if I will add LVM to the system? It doesn't seems like I can install Linux if I create the partitions with "type 8E" from start. If I make three partitions, what will happen with the data on them when I convert them?
Can I run the /-partition with "type 8E"?

However, you'll end up migrating the data off /home /usr. This isn't such a bad thing, but if you only have the one disk, can be substantially painful.

If you're planning on going LVM right away, I wouldn't bother making the partitions, no.

When you 'convert' the data, you're essentially going to make an LVM volume (/home) and copy the data from the physical partition to the logical (lvm) volume. You can then safely remove the physical partition and mount your logical in it's place.

You can't install Linux using LVM as it's base filetype no.
You *can* convert your root (/) to LVM, but.. there are issues with it. Any upgrades you might do to LVM can potentially hose your root directory.

My suggestion, and what I typically do myself is to have a small disk dedicated to the OS. That is /, /boot, /dev

These things don't generally change in size. Leave those alone. You can then create volumes for /var, /usr, /home and others (/opt if you go that way) using a second/third/fourth hard drive and LVM.

If you only have the one hard drive I'd heartily recommend installing to / only, parted the drive at a convenient point just above the amount of disk used, create your LVM volume groups using the rest of the space, migrate stuff off the /var /usr /home, parted the original space down to whatever's left (plus a bit), re-assign the now unused space to your LVM and then sit and enjoy the show.