Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to set /home to another partition, /home folder on a different partition< Next Oldest | Next Newest >
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: July 24 2008,16:41 QUOTE

Perhaps you stepped over the automatics, since you wouldn't have needed to edit fstab or bootlocal, or even create the directory..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 24 2008,18:20 QUOTE

You either use home= OR you use nofstab with and manually edited /etc/fstab.  That's an exclusive or.

In any case, your /etc/fstab was modified wrong: /dev/hda4 points to /mnt/hda4

It'll probably just be easier to use the automatic home= cheatcode.  For more information, there's an article in the wiki on persistence.
Back to top
Profile PM 
Tommy599 Offline





Group: Members
Posts: 6
Joined: April 2008
Posted: July 25 2008,12:01 QUOTE

Yes, I read the wiki article.

I tried it as it said, but torsmo shows the same values for / and  /home filesystem so I don't think it's worked. And the partitions aren't the same size.

Could it be a problem that lilo is on another partition, with Vector Linux Light? So I did this in DSL:

mount /mnt/hda4
mkdir -p /mnt/hda4/home
cp -a /home/dsl /mnt/hda4/home

Then booted in Vector, modified the lilo.conf (added the home=hda4) , ran lilo and then booted in DSL but no change....


--------------
DSL 4.4.3 @ Toshiba Satellite Pro 4200 - 500Mhz - 128MB RAM - 20GB HDD
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: July 25 2008,15:46 QUOTE

Not /mnt/hda4/home/... because the root of /mnt/hda4 is being mounted as /home. The directory for dsl needs to be in hda4's root. The way you're doing it is /mnt/hda4/home/home/dsl.

When I move stuff to new partitions like that:
$ su
(enter root password)
# cp -rp dsl/ /mnt/hda4

Now when /home is mounted on /dev/hda4, ./dsl is in /home (edit: with all the original permissions preserved). Not in /home/home.


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
Tommy599 Offline





Group: Members
Posts: 6
Joined: April 2008
Posted: July 26 2008,08:46 QUOTE

But this is what the wiki says:

Code Sample
Persistent home directory

A persistent home directory means that your entire home directory is written somewhere permanent, rather than constantly re-created at boot. Your home directory is probably where most of your custom settings are anyway, so making this persistent will save most or all of your settings. Here's how:

1) The first step is to create your home directory. Load up DSL as you normally would. Don't use the home boot option. Execute the following. If you want your home directory somewhere other than hda5, replace hda5 with the mount point of your device.

mount /mnt/hda5
mkdir -p /mnt/hda5/home
cp -a /home/dsl /mnt/hda5/home

2) Reboot, and use the boot option:

dsl home=hda5

Use this boot option every time you boot.


So what should I do now? I did a clean install of DSL 4.4.3 on hda2. I want my home to be on hda4. What's the right method of the 2?


--------------
DSL 4.4.3 @ Toshiba Satellite Pro 4200 - 500Mhz - 128MB RAM - 20GB HDD
Back to top
Profile PM 
13 replies since July 23 2008,16:05 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: How to set /home to another partition

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code