LinuxQuestions.org
Visit Jeremy's Blog.
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 10-08-2015, 10:08 PM   #1
remn
Member
 
Registered: Jun 2015
Posts: 37

Rep: Reputation: Disabled
adding arch boot to ubuntu laptop--a couple questions


I'm currently running a windows/ubuntu dual boot on my laptop, and I'm planning on making it a triple-boot by adding arch linux. At this point I have 2 questions:

1) Where should I add the partitions to my current partition table for the new arch installation? Will I loose data by adding partitions, or will it just use the free space without deleting any current data? I'll be adding 3 new partitions, one each for root, boot and swap. For data I want to share my current data partition from the ubuntu installation and be able to access it from both OS's.

2) My second question is about sharing the data partition. My ubuntu data partition is encrypted, so I'm wondering whether it will be possible to access the data on it from the new arch installation. If so, how do I do this?
 
Old 10-09-2015, 07:04 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
1) You do not need another boot and swap.
 
Old 10-09-2015, 08:24 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,272

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Where should I add the partitions to my current partition table for the new arch installation?
To free/unallocated space.

Quote:
Will I loose data by adding partitions, or will it just use the free space without deleting any current data?
You should not lose any data if you do it right. That is, if you create the partitions from free/unallocated space. As pointed out above, if yuo already have a swap partition, it is pointless to create another. Why a separate boot partition? Do you have one now for Ubuntu?

If you have a separate data partition, you would need to create a mount point in Arch then an appropriate entry in the /etc/fstab file so it is available on boot. You can find how to do this just doing an online search as there are thousands of sites explaining it with specific examples. I don't use encryption so don't know how you would access it.
 
Old 10-09-2015, 11:10 AM   #4
remn
Member
 
Registered: Jun 2015
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks for your answers. That answers all my questions except the one about accessing the encrypted data drive from arch. I used the drive encryption option while installing ubuntu from the .iso, so I'm wondering if there's a way to configure the arch installation to allow me to decrypt the data drive during boot, using the same password.
 
Old 10-09-2015, 12:41 PM   #5
pholland
Member
 
Registered: Jun 2015
Posts: 50

Rep: Reputation: Disabled
Quote:
Originally Posted by remn View Post
... Will I loose data by adding partitions, or will it just use the free space without deleting any current data? ...
Do you have free space, or is it all allocated to the windows, linux and swap partitions?

I've made a triple boot system from a dual boot system. It seemed to work best if I backed up any data in the original linux partition and deleted the linux and swap partitions. The free space was made an extended partition with 4 logical partitions -- swap, ext4 for linux OS 1, ext4 for linux OS 2, ext4 for data. None of the partitions was encrypted during installation. The data partition could be accessed from both linux OS partitions. There may be better ways to set the disk up, but I feel safer setting up the partitions the way I want rather than leaving it to the installer.
 
Old 10-09-2015, 05:28 PM   #6
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 5,959

Rep: Reputation: Disabled
Tip: Use same UID for user in your new install to retain files ownership.
 
  


Reply


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
quad boot - couple of questions sfzombie13 Linux - Newbie 6 10-13-2011 10:37 PM
A couple questions about Arch servers and Python vs PHP... sajro Linux - Server 2 03-08-2008 04:02 PM
New to Ubuntu with a couple of questions Weakest Ubuntu 6 08-25-2006 09:33 PM
boot idea and a couple questions xGo Linux - Newbie 4 10-29-2004 07:04 PM
Just a couple of minor Boot questions... Bob Taylor Linux - General 3 03-17-2003 05:14 PM


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