Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Ok, i'm building large home server (Debian). Will I be able to mount home partition on another disk rather than another partition on the same one during the installation?

Thanks a lot.

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

In principle yes. You should be able to use any partition on any disk during the install process.

The Linux Mint Debian installer which is based on the Debian Installer does not have this option for some reason (see discussion here). Maybe this problem is also present in the debian installer (I've never used it) but I very much doubt it. Every other installer I've ever used allows you to spread a system over as many disks as you desire.

In the worst case scenario, if you only have access to one physical drive during the installation process, you could just set your /home there, and move it to the other partition after the installation process finishes.

Once you login to your new Debian system, mount the 2nd disk somewhere and copy your $HOME directory to this location. You then delete your actual $HOME directory and edit /etc/fstab to set the other drive to be mounted at /home (let me know if you need help with that). Then logout and log back in and everything should be properly set up.

share|improve this answer
add comment

Yes the installer presents you with this option when defining the folders for this disk. I've done this before for server installs.

share|improve this answer
    
Thanks! And how You define such idea to hold /home on another physical drive? –  user149770 Aug 21 '12 at 15:56
1  
@user149770 I define it as a very good one :). It is the recommended approach, that way you can keep your $HOME if you switch distros, reinstall or whatever. You can also keep the same $HOME for multiple, different distributions. –  terdon Aug 21 '12 at 15:58
    
@terdon yeah, i see advantages. In most cases we just define partition, not another disk. If the whole disk fails with /home partition on it - I think it's not what You've waiting for... –  user149770 Aug 21 '12 at 16:13
1  
@user149770 True, but if you have $HOME on a separate disk, you don't lose your personal data if / fails. I think it is always a good idea to have separate disks if possible. That way if one fails you don't lose everything. It just, usually, isn't possible. –  terdon Aug 21 '12 at 16:16
    
Using the same $HOME for different distros can break all kinds of things, also. Just be wary with it. –  Rob Aug 21 '12 at 16:35
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.