23 May 2012, 02:37:34 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: EFIKA MX now in stock!
Home
SHOP
Help
Search
Login
Register
New IT forum
>
SheevaPlug
>
For beginners
>
How do I move my /home directory to a new partition?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How do I move my /home directory to a new partition? (Read 962 times)
cranny
Newbie
Posts: 7
How do I move my /home directory to a new partition?
«
on:
18 June 2010, 03:07:39 pm »
Hi,
I'm running a fresh installation of debian from an SD card. I've created 4 new users.
I want to move my /home directory to hard drive partition sda1. This partition already has 4 folders matching the names of the 4 users. These folders already contain a considerable amount of data.
I've renamed the original /home folder and created an empty one.
I've added the following as the only line in /etc/fstab
/dev/sda1 /home ext3 defaults,errors=remount-ro 0 1
Everything seems to work fine if I mount using mount -a
and If I log on as one of the four new users, I start out in the appropriate home directory on partition sda1.
BUT if I reboot it doesn't work and I can't start up in debian from the SD card. I have to boot using Ubuntu from the NAND and edit the fstab file for the SD card by deleting my added line to get the SD card working again.
Any advice please? (Keep it simple if you can - I'm a newbie)
Thanks,
Phil
Logged
NewIT_Marcus
Administrator
Hero Member
Posts: 960
Re: How do I move my /home directory to a new partition?
«
Reply #1 on:
18 June 2010, 04:25:26 pm »
Phil -
It could be a spin-up issue. Take a look at the
plug computer forum
for discussion of spin-up and spin-down issues.
TBH, if it were me, I'd be more likely to leave /home on the plug, and mount subdirectories within /home. Of course this might not be suitable for your purpose, but it could eliminate the possibility of getting locked out.
Logged
cranny
Newbie
Posts: 7
Re: How do I move my /home directory to a new partition?
«
Reply #2 on:
19 June 2010, 07:55:00 am »
Problem solved
A bit more experimenting and reading and I came up with:
UUID=3f8c5321-7181-40b3-a867-9c04a6cd5f2f /home ext3 nodev,nosuid 0 0
I'm not sure which change made the difference. I suspect it was changing the pass number for the fsck to zero. I'm using a drobo so maybe fsck causes conflicts. I guess the drobo does its own checking.
The other change I made was using the UUID instead of /dev/sda1
Cheers,
Phil
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Terms and Conditions
=> New IT News
=> Plug News
-----------------------------
Forum Help
-----------------------------
=> Forum Support
=> FAQ
-----------------------------
SheevaPlug
-----------------------------
=> For beginners
=> Software
===> Ubuntu
===> Booting
===> Applications and commands
=> Hardware
-----------------------------
DreamPlug
-----------------------------
=> Dreamplug for beginners
=> Dreamplug software
===> Dreamplug booting
=> Dreamplug Hardware
=> General Discussion
-----------------------------
Efika MX
-----------------------------
=> General Discussion
=> Efika MX for Beginners
=> Efika MX Software
=> Efika MX Hardware
-----------------------------
GuiPlug / VncPlug
-----------------------------
=> General Discussion
=> GuiPlug on the Sheevaplug
=> GuiPlug on the DreamPlug
-----------------------------
Guruplug
-----------------------------
=> General Discussion
=> Guruplug for beginners
-----------------------------
OpenRD
-----------------------------
=> General Discussion
=> Software
=> Hardware
-----------------------------
General Category
-----------------------------
=> General Discussion
Loading...