LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-09-2021, 01:10 PM   #1
jan128
Member
 
Registered: Nov 2020
Posts: 201

Rep: Reputation: Disabled
Recovering failed OS


I am not sure where to post this.
For safety reasons I run multi boot Linux.
It did not work well in last mishap.

I just experienced total meltdown of my primary OS.

As far as I can tell the cause was trying to copy folder from one partition to newly created and running / working RADI5 partition.
After careful analysis I used "sudo -i nautilus" to enable the destination files permissions.

It all behaved normal / correctly UNTIL I received a note that the destination is NOT large enough to accept the copy. That did not make sense since my destination was 100 GB and my source to copy was measly 5 GB. BUT the note has given me an option to do the copy anyway. Now I did not mind missing some files so I said OK copy it anyway.
And that was the last time I had a working operating system.

I can select regular option from grub menu or run any or the "advance " modes - the result are same - blank screen with lonely cursor in upper left corner, and no more disk activity.

My primary task - I like to restore my now defunct OS since my C code was build under it and now I have no clue how to access my code.

None of my C code is in my not accessible OS partition, it is in separate partitions.

So - how can I access it from my secondary and working OS?
In other words - is there "remote" way to access or make accessible my primary OS?
These are all standard C/C++ text files, nothing zipped or backed-up.

Secondary and more-less convenience task - how can I access my primary OS packages and "copy" them to my working backup OS? I have a few of them...


I am open to any suggestions.


ADDENDUM
Would e2fsck work? AKA is it worth the effort to try "newer version?"

q@q-desktop:~$ sudo e2fsck -p -v /dev/sda2
/dev/sda2 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!



http://old-releases.ubuntu.com/ubunt...n/e/e2fsprogs/

Last edited by jan128; 02-09-2021 at 01:40 PM.
 
Old 02-09-2021, 01:18 PM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
If your secondary OS Linux, then you should be able to mount the other partition to copy things over. If it is Windows, then you need to install an ext2/3/4 filesystem tools to read the partition. If you have WSL installed in Windows, it might be able to mount the other partition, but not sure.
 
1 members found this post helpful.
Old 02-09-2021, 01:27 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Making your OS functional and accessing your data are two different tasks. You can access your data (or what's left of it after you forced "writing to partition") by booting some external Linux media, mounting your filesystem(s) and copying off your files to another media, like a USB stick or network share.
 
2 members found this post helpful.
Old 02-09-2021, 01:40 PM   #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 jan128 View Post
I am not sure where to post this.
For safety reasons I run multi boot Linux.
It did not work well in last mishap.

I just experienced total meltdown of my primary OS.

As far as I can tell the cause was trying to copy folder from one partition to newly created and running / working RADI5 partition.
After careful analysis I used "sudo -i nautilus" to enable the destination files permissions.

It all behaved normal / correctly UNTIL I received a note that the destination is NOT large enough to accept the copy. That did not make sense since my destination was 100 GB and my source to copy was measly 5 GB. BUT the note has given me an option to do the copy anyway. Now I did not mind missing some files so I said OK copy it anyway.
And that was the last time I had a working operating system.

I can select regular option from grub menu or run any or the "advance " modes - the result are same - blank screen with lonely cursor in upper left corner, and no more disk activity.

My primary task - I like to restore my now defunct OS since my C code was build under it and now I have no clue how to access my code.

None of my C code is in my not accessible OS partition, it is in separate partitions.

So - how can I access it from my secondary and working OS?
In other words - is there "remote" way to access or make accessible my primary OS?
These are all standard C/C++ text files, nothing zipped or backed-up.

Secondary and more-less convenience task - how can I access my primary OS packages and "copy" them to my working backup OS? I have a few of them...


I am open to any suggestions.
Most of your threads and posts seem to be about how useless Linux is, how it's deliberately unfixable and how we aren't helping you.
Seriously, wouldn't another operating system be a better fit for you? It's possible to get a used Windows laptop or Chromebook for a reasonable price.
 
Old 02-09-2021, 05:54 PM   #5
jan128
Member
 
Registered: Nov 2020
Posts: 201

Original Poster
Rep: Reputation: Disabled
SOLVED
For unknown reason the primary OS partition shrunk or was too small AFTER last package was added.
Having two Linux OS on single drive saved my a..
However , the note about " destination partition too small " is puzzling. It almost looks as "sudo -i nautilus" was in reality copying the source to wrong partition.

Thanks for all support received to solve this, appreciate that very much.
 
Old 02-10-2021, 04:56 AM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Live, learn, back-ups (multiplied by how important the data is to you )
and try to evolve from opinions... pun in 10 did.

Quick search example: https://www.welivesecurity.com/2015/...-up-your-data/
 
Old 02-10-2021, 03:42 PM   #7
jan128
Member
 
Registered: Nov 2020
Posts: 201

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jamison20000e View Post
Live, learn, back-ups (multiplied by how important the data is to you )
and try to evolve from opinions... pun in 10 did.

Quick search example: https://www.welivesecurity.com/2015/...-up-your-data/
OK, I'll be frank.
I am very puzzled why this cliche about backing things up is endlessly repeated.
To me it clearly shows how the responder has chosen to NOT to read the post and mindlessly repeats the "back it up..." stuff. It this case this behavior does not contribute to the resolution of the issue - which is clearly stated at the post title. Read it please and if you can contribute to the solution - please do so.
I was NOT at any time concerned about loos of data , because I just lost access to the OS!
My data was never affected and as of today is still where I want it - intact.

I really appreciate group / forum support , but please , this constant preaching about irrelevant subject or personal innuendos is frustrating.
 
Old 02-10-2021, 04:18 PM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
jan128,

you really should do something like LFS or at least Gentoo. Once you put your OS together from bits and pieces you won't break it any more, because you know exactly how it works. And even if you break it you will know why it broke and how to fix it.
 
Old 02-10-2021, 10:08 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Talking [U][B]In a thread titled: "Recovering failed ..."[B/][/U]

[B][U]I'd mention it for other people finding this thread whether you care or not... especially after seeing solved.[/U][/B]
Quote:
Originally Posted by jan128 View Post
...
It's not my C code that you almost lost, because you don't know how to SEARCH you'll <3 this one, i.e: RTfreeM!

but mistakes happen,,,

Thx Ondoho
 
  


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
Slow file transfers between filesystems while recovering data from failed drive! Diademed Linux - General 18 08-14-2005 10:21 PM
Recovering from a failed RPM installation. Krontab Fedora 4 07-29-2005 12:28 PM
Recovering data on a failed burnt CD-R grenier Linux - General 1 03-28-2005 02:40 PM
Recovering data from a failed hard drive. 2damncommon LinuxQuestions.org Member Success Stories 0 10-03-2003 11:16 PM

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

All times are GMT -5. The time now is 09:13 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