You are not logged in.

#1 2014-06-20 11:50:34

Oldmoth
Member
Registered: 2013-01-25
Posts: 24

[Solved]Installing on two drives

I'm aware you can have a partitioned install on the one drive. I assumed you could do the same but with two hard drives and I have run into some trouble.
Is it in fact possible to have /dev/sda as the (/) root partition and /dev/sdb as the /home partition?

Is the mounting any different?
I was using;

mount /dev/sda /mnt
mkdir /mnt/home
mount /dev/sdb /mnt/home

then pacstraping to /mnt.


SOLVED; Mounting sda1 and sdb1 instead of sda and sdb, disks have 1 partition each taking up the entire volume.

mount /dev/sda1 /mnt
mkdir /mnt/home
mount /dev/sdb1 /mnt/home

Last edited by Oldmoth (2014-06-20 23:14:31)

Offline

#2 2014-06-20 12:06:49

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,776
Website

Re: [Solved]Installing on two drives

Yes, that should work fine.

Oldmoth wrote:

... I have run into some trouble.

What trouble is that?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-06-20 12:10:05

Oldmoth
Member
Registered: 2013-01-25
Posts: 24

Re: [Solved]Installing on two drives

I'm fairly sure it was hard drive related problems. I've run into some superblock problems, they are old drives I might need to swap out.
fsck.ext4 -y /dev/sda was running for 10+ mins.

Offline

#4 2014-06-20 12:17:32

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [Solved]Installing on two drives

It is the same, but fstab will be different. If you use genfstab you should be fine. If you write manually your fstab, just remember that /home is located on /dev/sdb not sda.

Offline

#5 2014-06-20 13:43:00

drhill1
Member
Registered: 2013-03-27
Posts: 31

Re: [Solved]Installing on two drives

sda and sdb are the raw disks.  You need to mount the partitions - probably sda1 and sdb1, but use "fdisk -l /dev/sda" to check.

Offline

#6 2014-06-20 15:12:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,776
Website

Re: [Solved]Installing on two drives

oops - drhill1 is quite right.  Sorry I had missed that.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2014-06-20 19:49:38

xero
Member
From: ~/
Registered: 2014-04-02
Posts: 86
Website

Re: [Solved]Installing on two drives

yes. that is exactly the setup i use. sdb1 is a SSD i use for / and sda1 is a HHD i use for /home


▬▬ι═══════ﺤ
http://git.io/.files

Offline

#8 2014-06-20 23:10:16

Oldmoth
Member
Registered: 2013-01-25
Posts: 24

Re: [Solved]Installing on two drives

drhill1 wrote:

sda and sdb are the raw disks.  You need to mount the partitions - probably sda1 and sdb1, but use "fdisk -l /dev/sda" to check.


How silly of me. That explains the problems I was having.
Thank you very much.

Offline

Board footer

Powered by FluxBB