LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-09-2013, 09:57 AM   #1
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Rep: Reputation: Disabled
Question Disk partition scheme for extended partitions


I am a first time Linux user running windows 7 on my laptop - I own a seagate e-sata external hdd and have partitioned this external hdd into 8 NTFS partitions using windows 7 disk management / the partitions are around 30 geg each / there are 4 primary paritions and the rest are extended and logical patitions - I plan on installing several linux distributions on the external e-sata hdd which will be connected to and running on my laptop from the external hdd - in attempting to instal Federa 18 to my external hdd I was given a choice of several parition schemes - these where as follows => Standard Partition, RAID parition and LVM partition - I have been lead to believe that in this situation LVM is the way to go - I am lost as to what I should now do as I have already created the paritions on my external hdd using windows disk management services in win-7 - should I repartition the external drive using Fedoras own partition scheme and if so, should I select the LVM partition scheme given the fact I want to run several Linux distros on my external hdd - any expert suggestions ??

Last edited by synchlavier; 03-09-2013 at 09:59 AM. Reason: Tags
 
Old 03-09-2013, 12:43 PM   #2
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hi,

if you plan to install Linux you need partitions that have a Linux filesystem (like ext3 or ext4). Not NTFS, which is Windows native and would not allow the powerful file permissions setup of Unix-like operating systems (like Linux).

To create partitions for a Linux operating system it is also recommended to use a Linux partitioning tool (like the one used in Fedora's installation disk). If you don't have data on your partitions, delete them and re-create them with Fedora's tool. You don't need LVM for now, use standard partitions.

Make sure you don't wipe out your internal HDD data while playing with the partitioner: I strongly suggest you read some documentation before you start. This will be fine:

http://www.tldp.org/HOWTO/Partition/index.html

Best regards,

Philip
 
1 members found this post helpful.
Old 03-11-2013, 10:15 AM   #3
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Lightbulb

Hello Mr. Lacroix -

Thank you very much for replying to my query sir and pointing me in the right direction your information was helpful indeed & cleared up much confusion on this end. As far as erasing my internal hdd I am fortunate in that my BIOS allows me to take it offline & kick in down the food chain out of the way. The Fedora installer I am using also gives me a choice of where to install the distribution. I am confused though - you said => [You don't need LVM for now, use standard partitions.] I am curious to know why you suggest Standard Partitions over LVM partition - your suggestion would certainly make my life a lot easier however, I have been lead to believe that LVM partitions are a must when setting up numerous partitions for the expressed purpose of installing other distributions - please clarify why I should first go with Standard partitions, I'd like to know. Also I would like to install BSD in one of the paritions - would that in your opinion be possible. Last thing will Slackware work with Grub as a bootloader or does it only work with LILO -

Synch

Last edited by synchlavier; 03-11-2013 at 10:18 AM.
 
Old 03-11-2013, 10:18 AM   #4
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
The reason I ask about Slackware is that it is a very good way to learn Linux -

Respectfully
Synch
 
Old 03-11-2013, 12:57 PM   #5
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hello Synch,

you're welcome. I suggested to use standard partitions because this is probably the easiest way to start and to deal with most situations, learning how partitioning works. Even if you want to install multiple distributions on your disk, you can do it using standard partitions. LVM allows for more complex and flexible setups, but it is not a must for a multiboot system (I never needed it myself).

http://en.wikipedia.org/wiki/Logical...er_%28Linux%29

I suspect that you are confusing the Logical Volume Manager with logical partitions, and yes, these are needed if you want to have more than 4 partitions on your disk and install many distributions (please see the partitioning howto).

Code:
/dev/sda1 Primary
/dev/sda2 Primary
/dev/sda3 Primary
/dev/sda4 Extended primary, which contains:
/dev/sda5 Logical
/dev/sda6 Logical
/dev/sda7 Logical
(...)
Quote:
Also I would like to install BSD in one of the paritions - would that in your opinion be possible.
Unfortunately I have no experience with BSD systems, but I know this is possible:

http://geodsoft.com/howto/dualboot/

Quote:
will Slackware work with Grub as a bootloader or does it only work with LILO -
Slackware comes with Lilo as its default boot loader, but Grub is available as a slackbuild:

http://slackbuilds.org/result/?search=grub2&sv=14.0

If you already have another distribution installed, say Debian, which has grub as its boot loader, you can install Slackware and skip the Lilo part, then reboot into your first distribution and update grub - Slackware will be automatically detected and grub will allow you to load it.

Quote:
The reason I ask about Slackware is that it is a very good way to learn Linux -
It is , a great distribution.

Kind regards,

Philip

Last edited by Philip Lacroix; 03-11-2013 at 01:40 PM.
 
1 members found this post helpful.
Old 03-11-2013, 09:00 PM   #6
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Question Partitions

Hello Mr. Lacroix -

I have one more question sir as one of your responses created a bit of confusion on this end you said - I suspect that you are confusing the Logical Volume Manager with logical partitions, and yes, these are needed if you want to have more than 4 partitions on your disk and install many distributions (please see the partitioning howto).

What are needed ? LVM or Logical Partitions ? If logical partitions are needed would they have to be NTFS or can I use standard Linux partitions for this expressed purpose ?

Thank You
Synch
 
Old 03-12-2013, 04:45 AM   #7
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hello Synch,

you do need logical partitions, you don't need LVM. Primary and logical partitions for a Linux operating system should be created using a Linux tool (like fdisk, or your distribution's default partitioner) and must be initialized (formatted) with a Linux filesystem, like ext3 or ext4. As I mentioned above, not NTFS. I would suggest that you start installing one distribution with a simple partitioning scheme, like:

Partition #1: /
The root filesystem (15-20GB would be plenty of space)

Partition #2: swap
Swap partition (with today's computers RAM is not a problem, so a swap partition with the same size of RAM should be enough for most needs). If you have 2GB RAM or more, in most situations swap will hardly be used.

Partition #3: /home
Partition for your data (size depends on your needs)

Partition #4: unused
When using tools like partman I always create a partition to fill the remaining disk space, to be 100% sure that I can easily use it later with any partitioning tool. Otherwise you might have problems. For example, if 3 primary partitions are already in place, partman will "close" the 4th extended partition right after the last logical one, which would make the remaining space unusable by tools like fdisk.

You can later install other distributions using the free space, removing partition #4. You will probably have to go through this process a few times, in order to understand what your particular needs are: there is no universal partitioning scheme. I understand that this can be a little confusing at first, but with practice and the help of documentation you will soon master this topic.

Here are some valuable resources (and many others are available):

http://www.tldp.org/LDP/intro-linux/html/index.html
http://www.tldp.org/
http://www.tldp.org/LDP/GNU-Linux-To...tml/index.html
http://www.debian.org/doc/
http://docs.slackware.com/
http://slackbook.org/

Kind regards,

Philip

Last edited by Philip Lacroix; 03-12-2013 at 08:07 AM.
 
1 members found this post helpful.
Old 03-12-2013, 08:35 AM   #8
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Dear Philip

Your reply was quite comprehensive and has cleared up the theory aspect of questions related to partions, partitioning & linux partitioning schemes for me - I now have a good roadmap from which to start - thank you very much for taking the time and putting in the effort to clarify all these points for me. I think %90 of that which makes Linux so daunting is the installation process alone as there is much to know before one can instal such an operating system - whereby windows is plug and play Linux first requires some hard knowledge to instal - It has taken me two months to get this far - my most daunting challenge was making an ISO disk as I was determined to use win-7 native inbuilt utilities and tools for this task. Trouble was ISO wasn't comming up, it turned out to be a file association issue involving virtual clone drive. The rest of the time was spent just reading about this operating system hopefully I can soon get it up and running - once I get Fedora up and running setting up the other distributions should be mechanical - first principle is always the hardest.

Respectfully
Synch
 
Old 03-12-2013, 08:44 PM   #9
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
To be fair to Linux though, if you were using a dedicated system (instead of dual boot), all you would have to do is burn the install DVD, boot from it and take the defaults.
You wouldn't need to know about partitioning (although it would give you the option if you chose not to select the Default install).

Hope these links help
http://linux.oneandoneis2.org/LNW.htm
http://rute.2038bug.com/index.html.gz

PS Welcome to LQ
 
Old 03-13-2013, 07:17 AM   #10
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hello Synch,

what you are doing is great, as not everyone is wanting to understand some of the Linux backgrounds before actually installing the system. I did it myself and was also determined not to install the X server before understanding the basics of the command line interface (CLI). Now I'm glad I started that way, even if it wasn't easy.

Of course what Chris is saying above makes perfectly sense, and might spare you some frustrations. You could start with an easy (it really is, at least for mainstream distributions) default installation and build your knowledge with a working system handy, then go one step further and start editing partitions and so on. I guess the choice is up to you. Anyway, welcome to the Linux family

Best wishes,

Philip

Last edited by Philip Lacroix; 03-13-2013 at 01:13 PM.
 
Old 03-13-2013, 08:55 AM   #11
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
Thumbs up

Oh boy!!! linux is so hard to learn for beginners. its just nightmare. nothing seems to work. can't even set ip address. even ipconfig is different. and worst of all no gui - imagine what it means to a windows guy. and linux admin friends won't help, they tell u cant understand, and laugh behind u.

unless you are just trying linux for educational purpose, then its ok. but if you want to make a career in linux, you have to learn it hard way. i.e, no gui, everything on terminal, try every command you come across and see what happens when executed. of course with some basic knowledge prior to it. all computer housekeeping through terminal only. use LVM, setup ur own bind server, ftp server, http server, yum repo, etc.

to do all this, you cant install linux on hdd, cause even a small mistake can bring the system down to screeching halt. so better learn in virtual machine, so if you make mistakes, you can rollback. and best part is you don't have to dual boot, and can have multiple distros side-by-side.

as for LVM, its just for administrative convenience and for smart space management.

best of luck.
 
Old 03-13-2013, 09:14 AM   #12
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
To Mddesai - Thank you for the advice & the advice is well taken. I see where you're comming from on this, it is why one of the Distributions I will be using is Slackware. Regarding help from Linux Administrators what I need is not so much technical support but theory - example why use LVM over standard partitioning in Linux. I don't need someone to tell me how to do it, cause this how to information is readily available. As for hdd carshing in Linux that's why I'm not using my native hdd but an external one dedicated just for this task. Setting up IP etc.. is basic set up and installation stuff anyone can find out online. Why one would use LVM over Standard partitions is a query better asked here. To sum up Linux like Windows is not a toy before using a command read what it does & read about it's function before using it. Otherwise you could very well be in for a major fubar.

Respectfully
Synch
 
Old 03-13-2013, 09:19 AM   #13
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
Hello Philip -

In my case I will be installing the whole Linux package GUI included - that does not mean I will be using Linux like windows indeed I will be using the command line. Speaking of Windows I do run Windows 7 & should learn the power shell -) As for reading, Linux is a reading game..

Respecfully
Synch
 
Old 03-13-2013, 09:29 AM   #14
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
To Mddesai

Virtualization is not an option in Windows-7 which is my native O/S - first Windows is not Linux friendly & I have read virtualizing Linux in Windows creates problems down the line for both O/Ses - However the main reason one does not want to do virtualization in Windows-7 at least is because you're several abstraction layers above the actual physical system so to speak & don't have direct access to all your machines physical resources at least not in Windows-7 - no for virtualization Windows-8 provides a much better solution through Hyper-V as you have a very think software layer between the virtualized O/S environment and the systems actual physical resources -

Respectfully
Synch

Last edited by synchlavier; 03-13-2013 at 09:31 AM.
 
Old 03-13-2013, 12:56 PM   #15
synchlavier
Member
 
Registered: Feb 2013
Location: southern california
Distribution: fedora and debian
Posts: 37

Original Poster
Rep: Reputation: Disabled
@Chrism01 Thanks for the links - I have my reading cut out for me -)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition scheme, Partitions sizes choice leamassiot Linux - General 5 11-29-2011 01:56 PM
[SOLVED] How can I change an extended partition with 3 logical partitions to 3 primary bubuntu Linux - General 18 06-03-2010 07:37 AM
dd command ...duplicated the extended partition but not subsequent partitions? lbrownne Linux - Newbie 11 12-09-2009 07:12 AM
setting up a linux partition and primary/extended partitions joemamma Linux - Newbie 6 02-23-2003 01:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration