MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
I can't see my second hard Drive on the GUI.
I'm a newbie and I'd like to know how to make my second hardrive to show on my folder.
If I run harddrake as root I can see it there, but I can't see it when I'm as the main user.
I installed Mandrake 9.2 and formated hd1 but the second hard drive was also formated and I'm afraid I lost some files there.
Hardrake shows the following information for my hardrives.
Hda1
Bus:Ide
Channel: primary
New devfs device: /dev/ide/host0/bus0/target0/lun0/disc
Old device file: /dev/hda
Hdb5.
Bus: ide
Channel: /dev/ide/host0/target1/lun0/disc
Old device file: /dev/hdb
I also checked the mounting for the hardrives in /etc/fstab and it shows that it is
OK.
Diskdrake does not show any other partitions othen then hdb5.
To find out the partition layout of the 2nd drive. Log in as root in a console window and enter the following command:
fdisk -l /dev/hdb (that is a small L)
It looks as though you have your first hard disk mounted as /, with the second hard disk mounted as /home. Drives in Linux don't appear the same way as in windows explorer. It appears to you as if /home is on your first disk, but it actually lives on the second drive.
If you created an ext2 filesystem on your second hard disk then it would have had to be formatted. Did you resize any existing windows partitions on this drive during the mandrake install?
Can you open konsole, use 'su' to change to root and get a partition table list using fdisk for your two drives?. That way we can see what has happened
Thanks for your response. I havn't do any other change to my system yet, but let me give you some more information about my problem.
I do have a /home directory on my hda1 but it's not my second hardrive.
also when I ran hardrake, yes I have another partition on hy second hard drive as hdb1 with swap as file format and the second partition as I said before hdb5 with ext3 as file format.
Thanks for your help.
The one who never asks will never learn.
The /home directory that you see lives on your first hard disk and is called a mount point. When your second hard disk gets mounted, all the files that live on it appear inside /home. Having all your home directories on that second hard disk is quite good, as if something goes badly wrong, you can reinstall Mandrake and tell it to use that /dev/hda5 and mount it as /home. That stops all your settings and personal files being deleted by mistake.
Thank you for explaining the way how two hardrives behave under linux.
The problem is that when I open the /home directory I got two folders made by mandrake one under my 'name' and the other called 'my documents', but none of this folder reside in hdb5. They reside in hda1.
At first I thought that this directory reside on hdb5 but it doesn't. This is my problem. I don't have a directory that would point to hdb5.
Thanks for your help.
Thank you one more time for your reply.
Yes, you were right. After checking with detail my system. The /home directory points to my second hardrive. I'm a newbie for sure.
But I have a second question related to this issue.
Before I installed mandrake 9.2 I had some files on hdb I have looked all over the directories and I couldnlt find those files.
Is it still posible that those files are still hidden some place?
When I installed mandrake 9.2 I didn't asked to format hdb neither I resized, but mandrake did it anyway.
This is the information that I get whe I ran fdisk.
Disk /dev/hda:3228 MB
DeviceBoot Start End Blocks Id System
/dev/hda1* 1 782 3152992+ 83 Linux
Disk /dev/hdb:2564 MB
DeviceBoot Start End Blocks Id System
/dev/hdb1* 1 126 508000+ 82 Linux Swap
/dev/hdb2 127 621 1995840 5 Extended
/dev/hdb5 127 621 1995808+ 83 Linux
Do I still have any chances to recover any file from hdb?
Thank you.
As far as I know (someone correct me if I'm wrong) if the Mandrake installer is run in 'Basic' mode repartitions your disks automatically, and formats them for you, especially if your system was all windows and the installer had to create linux partitions.. If there were any needed files on them before hand, they are lost and gone forever. The way to get around this is to use the 'Expert' install method and set out your partitions manually. The Mandrake installer may still ask if you want to format partitions that havent been changed and you need to clear the checkboxes to say no.
Sounds like you've just hit that nice point we've all been at during/after re-installs where you think 'I won't do that again...'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.