LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-06-2022, 09:12 AM   #1
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Rep: Reputation: Disabled
Problems re-instaling/copy-paste, gparted.


Hello,

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.

Is it definitely unrecoverable?.

Thank you.
 
Old 01-06-2022, 10:10 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,112
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Bootloader installed in Sparky when you cloned in gparted < not sure what cloned in gparted means >
 
Old 01-06-2022, 10:26 AM   #3
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
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?.
 
Old 01-06-2022, 11:03 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Camello View Post
Is it definitely unrecoverable?.
We cannot answer that because we do not really know what you did there.
Can you mount that USB, and browse it with a file manager? Show us.
 
Old 01-06-2022, 11:31 AM   #5
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
https://i.postimg.cc/ctrP54Fk/Captur...6-12-26-01.png


https://i.postimg.cc/fJS6cytJ/Captur...6-12-26-27.png
 
Old 01-06-2022, 11:39 AM   #6
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
https://www.linuxquestions.org/quest...1&d=1641490627
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla_2022-01-06_12-26-01.png
Views:	7
Size:	147.9 KB
ID:	38017   Click image for larger version

Name:	Captura de pantalla_2022-01-06_12-26-27.png
Views:	2
Size:	97.8 KB
ID:	38018  
 
Old 01-06-2022, 11:53 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
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?
 
Old 01-06-2022, 12:21 PM   #8
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
https://www.linuxquestions.org/quest...1&d=1641492798

When i try to boot sparky i got a black screen with this information at the end of all lines:

Quote:
BusyBox, v1.30.1 (Debian 1:1.30.1-7+62) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla_2022-01-06_13-12-39.png
Views:	9
Size:	82.7 KB
ID:	38019  
 
Old 01-06-2022, 12:29 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 01-06-2022, 12:41 PM   #10
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-06-2022, 04:07 PM   #11
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by Camello View Post
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.
 
Old 01-06-2022, 04:32 PM   #12
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Putting aside the question of my aptitude ...

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?.
 
Old 01-06-2022, 04:56 PM   #13
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
Old 01-06-2022, 05:19 PM   #14
Camello
Member
 
Registered: Apr 2021
Location: USA
Distribution: MX-LINUX
Posts: 218

Original Poster
Rep: Reputation: Disabled
Question

Quote:
This sounds like you could do a new install of the OS, update it, and reinstall the apps you use.
I installed the system and updated it.
Copy/paste what I have on the Sparky USB to the home of the newly installed system.

Quote:
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.
Could you please elaborate more on this step, I can't follow it, I don't understand it.

To copy&paste the configurations from the USB to the HDD?.

EDIT:

Perhaps more explicitly: How do I bring the applications installed in Synaptic (from the USB) along with their settings to the new system?.

Last edited by Camello; 01-06-2022 at 06:57 PM.
 
Old 01-06-2022, 09:06 PM   #15
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and Paste - make /qmake fails when Linux "paste" include ( ) in name jan128 Linux - Newbie 4 01-30-2021 05:01 AM
[SOLVED] Preventing the screen copy and paste error on first paste slackartist Slackware 0 04-03-2016 06:48 PM
LXer: GParted Live Switches to Systemd, Includes GParted 0.22.0 LXer Syndicated Linux News 0 03-25-2015 08:03 AM
LXer: GParted Live CD 0.13.0-1 Is Based on GParted 0.13.0 LXer Syndicated Linux News 0 07-16-2012 04:40 PM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration