PDA

View Full Version : Installing to multiple HDs



medicinecrow
11-11-2004, 05:58 PM
I have installed Knoppix 3.6 to the hard Drive. However, i wanted to have my /home directory on a separate HD. The Knoppix Installer will allow me to format the Hard Driives but I cannot seem to get it to install my /home directory on the second HD.

How can I get my /home directory to the other HD and how can I mount Fat 32 HD that i have my Music on....?

mzilikazi
11-11-2004, 07:00 PM
Simple. Read my howto (http://kanotix.mipooh.net/viewtopic.php?t=31). :)

medicinecrow
11-11-2004, 07:35 PM
I'll give it a try and let you know.

Thanks...

medicinecrow
11-11-2004, 07:43 PM
BTW - Am I correct in assuming that I will have to reinstall or can I do this from my current installation?

Markus
11-11-2004, 08:22 PM
You don't need to reinstall, just do:
mkdir /mnt/newhome
mount /dev/hdaX /mnt/newhome (where X is the new partition)
cp -a /home/* /mnt/newhome/
mv /home /oldhome (you can delete the oldhome later)
umount /mnt/newhome
mount /dev/hdaX /home
edit /etc/fstab to mount /home , this is what I have:
/dev/hdb6 /home ext3 rw,auto,users,exec 0 0

OErjan
11-11-2004, 08:57 PM
that was almost good, you only forgot to add a new /home dir. but a minor mistake (although the errormessage might be mislesding to a mewcommer to linux)
the way I would do to is.

mkdir /mnt/newhome
mount /dev/hdaX /mnt/newhome (where X is the new partition)
cp -a /home/* /mnt/newhome/
mv /home /oldhome (you can delete the oldhome later)
umount /mnt/newhome
mkdir /home <--- here is the change
mount /dev/hdaX /home
edit /etc/fstab to mount hdaX as /home , this is what I have:
/dev/hdb6 /home ext3 rw,auto,users,exec 0 0[quote]
i added the large red letters and the line comented with [quote]<--- here is the change
but now it should work.
and a small coment that in hdaX the a "x" is the partition number, and that the "a" might be another letter on his system, sorry if i am nitpicking.
OErjan

Markus
11-11-2004, 09:13 PM
Ah, thanks, but perhaps mkdir /home instead of /mnt/home....?
But you're right, I could be a bit more verbose from time to time :wink:

OErjan
11-11-2004, 09:39 PM
thanks! edited it:-)

medicinecrow
11-13-2004, 08:44 PM
Tried everything here...several times...every time a different error came up...nothing consistent...more trouble than ist worth...

thanks

Markus
11-13-2004, 10:58 PM
What's the error?
Did you set permissions on the new /home?
This explains how to do it from the live-CD: http://www.knoppix.net/docs/index.php/HomePartitionHowTo

medicinecrow
11-14-2004, 01:30 AM
Different one every time...OS wouldn't boot up after install...got hung up on configuring /etc/fstab...then three or four different errors with formating the HDs....blah,blah, blah...probably my own typos...but not worth the hassle

Mandrake installs and boots up just fine every time...just wanted to find a Debian based distro that doesn't require an engineering degree to install and use...apparently this aint it.

Thanks for the help gentlemen...

Mitakuye Oyasin!