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.
During the reinstallation into the system, from a USB (previously cloned with Gparted), of Sparky, I think I made a mistake by resizing it, (in the usb) I did it because the partition to where I was going to install was smaller ...
Now after installing it into the partition, it does not open, I do not know if the system is damaged or if it is something related to how it was copied to the usb; I get an error on black screen and it keeps blinking ...
The system is there, with Thunar i can see all the files of the system into the USB.
With Gparted I copied the installed system (Sparky) and pasted it to a USB, (again, with Gpated) then, pasted it (from the USB) to a partition -- but as the partition on the system where it was to be pasted was smaller ... I decided, perhaps wrongly, to resize it (on the USB) so that it could fit.
The worst thing is -- I forgot to mention it -- I removed the 'old Sparky' from the system, confident that 'everything was going to be fine', now I'm left with whatever is on that cloned USB, badly cloned?. Is it definitely unrecoverable?.
Did you simply clone the partition on which you had Sparky? Did you clone the entire drive? Was there any other OS installed? Is it a Legacy/MBR install or UEFI?
It looks like you simply copied the whole filesystem tree to a USB stick. Might be tricky to rebuild as a bootable OS.
I suggest you keep what data you have safe, reinstall Sparky, and then manually copy over your personal data.
No, I have done it many times ... the problem was that I resized what I had copied to the USB because it did not fit in the partition that was much smaller than what I had on the usb.
No, if something can't be done and I'm going to lose all the configurations ... I'd better forget it.
No, I have done it many times ... the problem was that I resized what I had copied to the USB because it did not fit in the partition that was much smaller than what I had on the usb.
No, if something can't be done and I'm going to lose all the configurations ... I'd better forget it.
Thank you.
Wow, what a negative attitude.! Totally blowing off the suggestions on how to recover because you made a mistake and don't want to accept that. Planning ahead and being aware of the size restrictions with a 'clone' is important.
Simply put, if you can copy the 'entire' system from the USB onto the hard drive then the only thing needed to complete the recovery would be to install the boot loader. The configs would be still there.
If you totally blow it off then everything is gone.
Last edited by computersavvy; 01-06-2022 at 04:08 PM.
I have never done that what you mean, I always copy and paste the whole system to a USB and then copy/paste it back to a partition, for me it is the most understandable thing to do.
Tell me, what exactly do you suggest I do?. I know I can copy from the USB what is in home and paste into the new system I install but what about the rest?, for example, scid-vs-PC which is in Synaptic and requires a lot of configuration, how do I get it back without losing those settings?.
This sounds like you could do a new install of the OS, update it, and reinstall the apps you use.
Once that is done then you could probably simply do a copy&paste of the configs from the USB to the HDD and it would be done.
The config files for most software are located under /etc or in the users home directory, so it should not be to difficult to recover the configs once the app was installed on the newly installed OS.
Apparently you copied everything from the original location to the usb. Each app has one or more config files in one or more locations. I cannot be specific on each app as I don't know what you have and possibly may have never used that app.
The general instructions I gave above were to reinstall each app, then copy in the matching config file from what is on the usb so they can be adjusted to match what you previously did in setting each up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.