Can't get to 2nd partition in Mandrake 10.1 community
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't get to 2nd partition in Mandrake 10.1 community
I have the Mandrake 10.1 community version installed. First time with Linux...
I made two partitions when I installed. In KDiskFree they are listed as
/dev/hda1 (62.7MB) and /dev/hda3 (75.3 GB). Type: reiserfs.
I have been playing around with this for a few weeks, and haven't even used hda3.
Now I want to install the official mandrake 10.1, so I figured I could just move everything I want to keep over to the hda3, thinking that should be my user-partition anyway.
So I made a "moving-folder" (named flytte) with what I want to keep, logged on as root and tried to copy this directory over to hda3. This is what I get for an "answer":
You need to mount the partition in a mountpoint first. Sound complicated but it's not
Just create a directory somewhere (/mnt is good) and call it other_partition. chmod 0777 /mnt/other_partition so everyone has read/write access to it because this is your mountpoint. Then type this in a console as root
Code:
mount -t reiserfs /dev/hda3 /mnt/other_partition
If you get no error there then you're done, now the hda3 partition is located at /mnt/other_partition, so copy your files to there
That worked, so now I can acess this partition via Konqueror.
A couple of related questions if you have time:
Do I have to do this again after I install the new version of mdrk?
Can I move my whole home directory to this new directory without screwing anything up?
Yes and yes. You can add a line to your /etc/fstab line to make it do this automatically everytime you boot up but I'd guess the upgrade would overwrite that. And you can copy your home dir there as backup or if you feel like some more playing around I personally have my /home directory on a seperate partition so if for some reason (and I doubt it would happen) I get fed up with my distro and want to change, all my settings are carried over
Edit: Also since I'm guessing you want to copy some directories and you were getting errors before, you need the -r flag so it'll work recursively, like this.
Something weird happened!
When I open the new partition folder in Konqueror, I get the same stuff as at root. There I can open this folder AGAIN and then it's empty.
It looks like this in the location window:
file:/mnt/big_partition/mnt/big_partition
OK, now I feel like a total idiot!
So I should be moving my flytte-file over to hda1? Or should I just leave everything where it is, and install new mdrk on hda1?
Oops!
Got to go to work. I'll have to check again later...
Thanx for your help!
Nope, hda1 is your boot partition, can't change it that's what your OS boots from. hda2 is your swap partition, just think of it as virtual RAM and hda3 is your root partition. Best bet is to backup onto CDs or DVDs or something unless Mandrake installer leaves your /home directory alone, I couldn't tell you that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.