LinuxQuestions.org
Help answer threads with 0 replies.
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-09-2016, 03:18 AM   #1
clunga
LQ Newbie
 
Registered: Jan 2016
Location: Rome
Distribution: Ubuntu 14.04 & 15.10
Posts: 14

Rep: Reputation: Disabled
Installing UBUNTU 15.10 into existing 14.04 - Partitions issue


Good morning to everybody,
I am not an expert and so, if you can, in your answer please give me the principle but also the operating details, I would really appreciate it.
This is my problem: I have happily installed UBUNTU 14.04 on an external HD 1TB and my gparted analysis give this picture:

sdb1 in ext4 used as root / with 14,65GB primary
sdb4 swap with 6 GB primary (I suppose)
sdb2 in ext4 used as home con 176 GB primary
sdb3 in ntfs /mnt/data with 703GB primary ,used as local storage and transit with Windows PCs to upload or download.
not allocated 30GB put apart for further installation as explained further.

I would like to install in the same HD an UBUNTU 15.10 , with the same UBUNTU 14.04 home ( giving instructions not to format ), same user name in order to maintain all preferences , but with a new / root partition where to install the 15.10.
However this is stopped as I can not have more than 4 primary partitions.
How should I move around maintaining the installed UBUNTU 14.04 with all the files and apps, to create a partition to use with UBUNTU 15.10 as / root?
Bear in mind that I do not care about “erasing” nTFS, as all data are immediately recoverable.
Thanks for your help and attention.
 
Old 01-09-2016, 02:16 PM   #2
pholland
Member
 
Registered: Jun 2015
Posts: 77

Rep: Reputation: Disabled
There is a limit to four primary partitions on a hard drive. So that external must be partly repartitioned into two or three primary partitions and one extended partition. The extended partition can be divided into as many logical partitions as you want.

IMO, use a single /data partition for both operating systems instead of a /home partition for each operating system. http://community.linuxmint.com/tutorial/view/1609

Backup all your data.

Use gparted on a linux live CD or DVD to:
1. Delete sdb3 and sdb4.
2. Shrink sdb2 to around 10 GB. Maybe less because most of the files that might go here will go on the /data partition.
3. Make a primary partition (sdb3) around the same size as your computer's RAM. Format it as /swap.
4. Make an extended partition containing all the rest of the hard drive space.
5. In the extended partition, make three logical partitions: sdb5 (around 65 GB, ext4, for second linux installation including home), sdb6 (around 200 GB, ext4, /data for both operating systems), sdb7 (rest of hard drive, NTFS, for storage and use with Windows PCs).

You may prefer partions of different sizes. But I don't think you can use fewer partitions.

Good luck.
 
1 members found this post helpful.
Old 01-09-2016, 07:21 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,062

Rep: Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896
Running a common /home works fine with two releases - I do it regularly when re-installing a later version. Allows for a seamless fallback in need.
As advised above, you will need to create an extended partition, then use logical partitions. In that scenario there is no need for any primary partitions - they can all be logical. Putting as much as possible as logical allows for much greater flexibility. We need to know the exact layout of the disk. Post the output of his using [code][/code] tags.
Code:
sudo parted /dev/sdb "print free"
 
  


Reply

Tags
installing, partitions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rebuild partitions/label from existing partitions - used parted on wrong drive zedmelon Linux - Software 4 07-26-2013 03:42 PM
HD partitions for existing Ubuntu installation scotsman Linux - Newbie 13 04-02-2013 06:57 PM
Installing ubuntu on existing Linux partitions (partition magic) markses Linux - Newbie 5 04-27-2006 11:50 PM
Installing Fedora tries to blow away all existing partitions? stefanlasiewski Fedora 2 07-17-2004 05:49 PM
Gentoo: Installing over existing partitions... nonz Linux - Distributions 0 01-18-2003 06:05 PM

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

All times are GMT -5. The time now is 05:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration