LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-27-2016, 04:11 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
partitioning for two different distros


hi guys,

i have a machine with a 1TB hdd

i want to install centos7 and slackware on the same drive

i installed slackware first

i partitioned the drive as follows

sda1 150 gb slackware root
sda2 150 gb /home
sda3 100 gb /data1
sda4 50 gb /data2
sda5 50 gb /shared

i left the other 500gb alone for the centos installation

i went through the centos installation but when it comes time to setup partitions i am only able to create /

the space says 500gb free but i can only create / why can i not make any other partitions? it says fail...unable to verify partition scheme or something like that.

whats the best way to accomplish what im trying to setup?

also can i share a few partitions...maybe one of the 50GB or 100GB between my distros...could be useful..

thanks for reading
 
Old 01-27-2016, 04:24 PM   #2
huffdad
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware & LFS
Posts: 31

Rep: Reputation: 6
Quote:
Originally Posted by sigint-ninja View Post
also can i share a few partitions...maybe one of the 50GB or 100GB between my distros...could be useful.
Yes. I share a common /boot partition. Other partitions could be shared, as long as both OS's recognize the file system type it was formatted with. Ownership and permissions may give you a headache. Since my shared partition is owned exclusively by root, I don't have an issue with it.

As for the main question, I don't have an answer. Maybe it has something to do with primary partitions vs logical extended partitions.
 
Old 01-27-2016, 04:29 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by sigint-ninja View Post

i left the other 500gb alone for the centos installation

i went through the centos installation but when it comes time to setup partitions i am only able to create /

the space says 500gb free but i can only create / why can i not make any other partitions? it says fail...unable to verify partition scheme or something like that.

whats the best way to accomplish what im trying to setup?

also can i share a few partitions...maybe one of the 50GB or 100GB between my distros...could be useful..

thanks for reading
Primary and extented partitions now are in play I do believe, that left over 500GB would fall into , yes? it'd have to be extened? then split into /dev/sdaX --
 
Old 01-27-2016, 04:30 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You can only have one extended partition. When you create the extended partition you need to have it include all of the remaining free space on the drive. Then you can continue on to create partitions in the extended partition for your Centos installation.

--------------------
Steve Stites
 
Old 01-27-2016, 04:39 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I tend to play it by ear whenever I got a do that, this is why I do not remember specifically all of that info, Thanks JailBait -- <-- catchy name BTW ... want some candy? J/K lol
 
Old 01-27-2016, 04:40 PM   #6
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
are extended and logical the same thing?

so are you saying my slack can only have 3 primary partitions adding up to 500
then an extended (logical) partition of 500gb for my centos?

thanks
 
Old 01-27-2016, 04:42 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
logical partitions are subdivisions of the extended partition. So you create 3 primary partitions. Then include all the rest of your space in an extended partition. Then divide the extended partition into however many logical partitions you need.

---------------------
Steve Stites

Last edited by jailbait; 01-27-2016 at 04:45 PM.
 
Old 01-27-2016, 04:45 PM   #8
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
ok so i should have a primary for slack
primary can be subdivided into a few logicals i need for slack

then an extended for centos
subdivided into however many logical partitions i need for centos?
 
Old 01-27-2016, 04:46 PM   #9
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
sorry didnt finish reading your post...thanks
 
Old 01-27-2016, 04:57 PM   #10
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
ok so where should / of each distro be installed?

thanks
 
Old 01-27-2016, 05:01 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by sigint-ninja View Post
ok so where should / of each distro be installed?

thanks
good question... in there own partition do not mix them

GRUB of the last install will be the one that takes command of boot -- so LiLo will go away and if Centros uses grub2 then it will be the one that will have Slackware and itself in grub when you boot it, or you can have Centros NOT install grub then have to deal with that.. better to have it install grub then deal with boot secquence later

Last edited by BW-userx; 01-27-2016 at 05:04 PM.
 
Old 01-27-2016, 05:15 PM   #12
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
hi BW

yes i know they need to be in their own partition and i have grub2 booting both distros
but the partitioning on the centos is messed up...only 1 partition of 120gb

i am reinstalling now...

do the / partitions have to be on a primary partition? or doesnt it matter?

how should the partitioning scheme be???
 
Old 01-27-2016, 05:18 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by sigint-ninja View Post
hi BW

yes i know they need to be in their own partition and i have grub2 booting both distros
but the partitioning on the centos is messed up..

i am reinstalling now...

do the / partitions have to be on a primary partition? or doesnt it matter?

how should the partitioning scheme be???
not really, but order is better then chaos. you can put / anywhere, /dev/sdb5 / /dev/sda2 /home fstab takes care of direction

Quote:
.only 1 partition of 120gb
what happen to the 500GB?

Last edited by BW-userx; 01-27-2016 at 05:26 PM.
 
Old 01-27-2016, 05:27 PM   #14
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
centos only let me make a / partition and nothing else...

how do you make an extended partition with cfdisk it only has primary and logical option available
do i have to change the type?

thanks for the help
 
Old 01-27-2016, 05:45 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by sigint-ninja View Post
centos only let me make a / partition and nothing else...

how do you make an extended partition with cfdisk it only has primary and logical option available
do i have to change the type?

thanks for the help
I just ran cfdisk on my /dev/sdb when I deleted it, then created a new partition it questioned me
Code:
"primary" "extended"
so I'd say. cfdisk does to allow extended along with primary. but of cource I did not write that to my /dev/sdb
 
  


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
[SOLVED] Partitioning for multiple Linux distros mr_mohamed Linux - Newbie 5 04-03-2013 04:51 AM
usb distros,partitioning.... ott0disk Linux - General 2 05-12-2009 03:29 AM
partitioning for 3 distros + win clinto Linux - Laptop and Netbook 10 05-10-2007 02:16 AM
Partitioning 2 Distros sdpeelejr Linux - Newbie 1 04-07-2004 09:44 AM
partitioning for distros titanium_geek Linux - Hardware 3 06-19-2003 02:18 PM

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

All times are GMT -5. The time now is 10:12 AM.

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