-
Senior Member
registered user
Moving my home directory to another partition?
When I initially did my HD install, I didn't really leave enough space on the partition where I did the install, which in my case was hda2 (with hda1 as as FAT32 and hda3 as swap). I've since stripped hda1 down to the barest minimum as I don't use it anymore (WIN98SE boot partition) and have used that space to make hda4.....
So the question is, can I move, say, my /home/user (me!) directory onto hda4? and retain the working (system) stuff on hda2.....?
I recall this was an option during the HD install and has the advantage of keeping work (user) files separate from system stuff, should a system format/re-install be needed.....
Is this a daft question? - I know I can use the space on hda4 but the system doesn't view that as my user space, e.g. when I login..... Don't have a clue how to change this!
Cheers, Stuart.....
-
Senior Member
registered user
Yah you sure can move /home and Stephen wrote a howto for it. It's in the Docs section.
-
Senior Member
registered user
-
Junior Member
registered user

Originally Posted by
m_yates
That looks interesting, but I like the Knoppix-based way better. Since I'm a Linux newbie, the IBM method's mounting/unmounting and switching to single-user mode would have been a bit more than I'd have been ready for. Besides, using Knoppix to move files & directories around on an already-installed system is just what it's designed for, right? Here's the direct link, by the way: http://www.knoppix.net/docs/index.ph...PartitionHowTo
Sure, you could use a hand-cranked auger to drill a hole, if you really want to know how a hole gets drilled... but sometimes it's better to just use an electric drill.
By the way, don't make the mistake I did. I left off the final newline in my /etc/fstab file, and now Linux complains to me about it every time I boot. I just haven't gotten around to fixing it yet.
Here's a question of my own on this subject: should I move anything other than /home? I've only got 6 gig between the two partitions (plus swap) -- would it be worth the trouble?
-
Senior Member
registered user
the Knoppix howto and ibm howto use essentially the same commands. I'm not sure if they are both hand cranked augers or both electric drills, but they are essentially the same. I suggested the ibm howto because it has a little more explanation as to why things are done and what the commands do.
-
Senior Member
registered user

Originally Posted by
RobertB
By the way, don't make the mistake I did. I left off the final newline in my /etc/fstab file, and now Linux complains to me about it every time I boot. I just haven't gotten around to fixing it yet.
Simply go to the end of /etc/fstab and hit return. There just needs to be an empty line at the end of fstab.
Here's a question of my own on this subject: should I move anything other than /home? I've only got 6 gig between the two partitions (plus swap) -- would it be worth the trouble?
There's no 'right' or 'wrong' way to partition really but it certainly is possible to have Linux spread across multiple partitions. Here's my layout though on a larger drive:
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda1 ext3 942M 363M 532M 41% /
/dev/hda3 ext3 2.8G 209M 2.5G 8% /home
/dev/hda6 ext3 942M 19M 876M 3% /tmp
/dev/hda7 ext3 942M 329M 566M 37% /var
/dev/hda2 ext3 2.8G 2.3G 356M 87% /usr
Of course I just did mine when I installed .
Similar Threads
-
By stan45 in forum General Support
Replies: 1
Last Post: 05-21-2005, 11:50 AM
-
By Keyser in forum Hdd Install / Debian / Apt
Replies: 13
Last Post: 03-22-2005, 03:31 AM
-
By DieselDriver in forum General Support
Replies: 1
Last Post: 12-27-2004, 03:20 AM
-
By justwes in forum General Support
Replies: 1
Last Post: 06-30-2004, 09:21 PM
-
By Dr U in forum Hdd Install / Debian / Apt
Replies: 13
Last Post: 04-12-2004, 08:55 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00

1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99

IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99