Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Here is my big problem.
My configuration is Ubuntu (KDE) in dual boot with Xp pro.
I made as root by mistake a mv /* /usr/lib/thunderbird
Actually i wanted to type mv ~/thunderbird/* /usr/lib/thunderbird
I guess you can imagine the result.
I can't anymore boot on my Kubuntu and I don't really know what to do in recovery mode to restore my partition.
Is it possible to do something and if yes, can you help me?
NB: I can boot on my Xp OS so i guess my /boot is still alive!
In recovery mode i find my root / in /root/usr/lib/thunderbird that is to say in /root/usr/lib/thunderbird i have:
etc mnt media bin sbin var cdrom ....
Tredegar,
i can't do the reverse of the mv command because it seems that he doesn't like it:
Cannot move files, Read only files system.
I am in recovery mode but do you know if the recovery mode loads a kernel in memory or my own kernel in the Hard Drive???
Amani,
the fact is that i can't load my GUI mode. My system is corrupt and even if i start the normal mode, it loads the recovery mode!
So how can i mount my kubuntu partition?
Hmmm. Well, we could make it a read/write, but I am not at all sure what you mean by "Recovery mode", and do not wish to offer bad advice.
It may be best to boot from a live-CD. You already have one - the CD / DVD you used to install kubuntu (you were using KDE, Yes?).
Then you can (rather slowly, as you are running from the CD, not your HDD) mount your broken root filesystem, move the files back, and try rebooting (it still may not be fixed).
This is all best done from the command-line, NOT the GUI. I'll talk you through it if you need help. So ....
Can you boot from your original install CD?
Do NOT click on the "Install" icon! Just check that you can boot to a live distro, give us the output of
Code:
sudo fdisk -l
(that's "ell" not "one") in a terminal then shut it all down and come back here.
Further Qs:
Do you have any important personal data in /home/gens that you need to recover / preserve?
If so, do you have a USB external HDD or memory stick large enough to backup your personal data ?
You didn't answer "How did you stop the original mv command?"
By recovery mode i mean when i boot i have 2 options, start ubuntu in normal mode or in recovery mode (the same thing exists with Windows by pressing F8 at the boot menu).
I don't think i have the live-cd i used to install my ubuntu but i may download it again. Yes i use KDE.
Ok i think taht this is the best idea. I'm gonna download the Live-CD and repair my files by mounting my broken files system, like you said, if it works.
As soon as i boot on the live Cd, i will give you the result of the output
Code:
sudo fdisk -l
In my home directory, i have nothing very important but i'am going to check out.
For the original mv command, she stopped by itself a few seconds later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.