Guest baldman6 Posted May 24, 2005 Report Share Posted May 24, 2005 (edited) I recently installed Mandrake 10.1 and after serveral weeks, and help with these forums, I was able to set up a file sharing server that ran just fine. Then I deceided to add a second hard drive for storage space. After install the drive I used the Configuration Manager to format the disk. No problem. It asked me for a mount point and stupidly ( I see now) I just chose the /usr folder as the mount point thinking that Linux would just move the files and everything would be OK. WRONG! I can boot to the login screen and login. I can't startx (command not found)but I can use the cd command to change to some of the directories. I can't use the dir command to view any of the contents of the directories or any other commands. I just get errors saying command not found. Can I somehow fix my foolish mistake and save the 10 Gb of data stored on the drive or do I have to start all over? Any help would be appreciated. Thanks! [moved from Software by spinynorman] Edited May 30, 2005 by baldman6 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 24, 2005 Report Share Posted May 24, 2005 You will more than likely have to reinstall. There is no easy way to fix this unless your / partition was ext2. For future reference, it is possible to do what you thought you were doing, but contrary to the typical Linux philosophy, it requires several reboots to be safe. Create the new partition reboot Format the new partition reboot Tell it the mountpoint is /usr and it will ask you if you want to move the contents of /usr there, just say yes. In theory, this should work correctly. Quote Link to comment Share on other sites More sharing options...
Guest baldman6 Posted May 24, 2005 Report Share Posted May 24, 2005 Thank you for the reply. I chose not to move the files and a I also told it to hide the files thinking that I would just create a new volume without messing things up. I have learned a valuable lesson. 10 gb of music gone! Thanks again baldman6 Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 24, 2005 Report Share Posted May 24, 2005 Waitaminute....where was your music? If you made a separate /home partition on install and that is where it is, you don't have to format /home when you reinstall. Quote Link to comment Share on other sites More sharing options...
devries Posted May 24, 2005 Report Share Posted May 24, 2005 With a livecd (or log in from another computer) and chroot. Quote Link to comment Share on other sites More sharing options...
spinynorman Posted May 24, 2005 Report Share Posted May 24, 2005 baldman6 - I have merged your two threads. Please don't post duplicate threads as it causes confusion. :) Quote Link to comment Share on other sites More sharing options...
Guest baldman6 Posted May 30, 2005 Report Share Posted May 30, 2005 I was able to reinstall Mandrake 10.1 without formatting my /home directory and lost nothing. Thanks for your help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.