Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old May 11, 2021, 02:53   #1
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 19
werecobalt is on a distinguished road
Save dying computer

My computer has some problems. I’m trying to save the files and hopefully the computer too.

So it’s a ubuntu 18.04 LTS. It stucks at the purple booting screen and cannot proceed. But it can boot in recovery mode. The files seem to be all still there. “fsck” shows that “/etc/default/rcS no such file or directory”.

How do I:
1. back up all the files without GUI? (preferrably without usb disk)?
2. fix the computer?
werecobalt is offline   Reply With Quote
Old May 11, 2021, 07:36   #2
fph
Knight
 
Join Date: Apr 2009
Location: Pisa / DL0
Posts: 989
fph is on a distinguished road
Where would you like to back up the files then? Do you have a website or google drive with enough space to store them?

One of the easiest ways is with scp (cp over ssh), if you have ssh access to another server with enough space. Or you can install openssh-server and connect to your computer from another one, with e.g. winscp from Windows.

Is your disk failing? If so be careful and have things planned: every time you boot your computer could be the last one. Is that an HDD or an SSD? Do you get "read fail" or "bad sector" messages in the output of journalctl -xe (scroll with arrows, exit with q)?

The content of my /etc/default/rcS is the following --- but if you are missing that file out of the blue it is likely that it's not the only one. I'd recommend to back up and reinstall just to avoid future problems.

Code:
#
# /etc/default/rcS
#
# Default settings for the scripts in /etc/rcS.d/
#
# For information about these variables see the rcS(5) manual page.
#
# This file belongs to the "initscripts" package.

# delete files in /tmp during boot older than x days.
# '0' means always, -1 or 'infinite' disables the feature
#TMPTIME=0

# spawn sulogin during boot, continue normal boot if not used in 30 seconds
#SULOGIN=no

# do not allow users to log in until the boot has completed
#DELAYLOGIN=no

# be more verbose during the boot process
#VERBOSE=no

# automatically repair filesystems with inconsistencies during boot
#FSCKFIX=no
__________________
Dive fast, die young, leave a high-CHA corpse.
--
You read a scroll labeled 'lol gtfo' of Teleport Level.
fph is offline   Reply With Quote
Old May 11, 2021, 08:52   #3
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 19
werecobalt is on a distinguished road
Thanks for replying. I plan to send files to my mailbox or to my github.

No “read fail” or “bad sector” in “journalctl -xe” output.

Is it possible to update the distro, after backing up? Will it possibly fix it or break the disk?
werecobalt is offline   Reply With Quote
Old May 11, 2021, 09:14   #4
SaThaRiel
Adept
 
SaThaRiel's Avatar
 
Join Date: Nov 2009
Posts: 174
SaThaRiel is on a distinguished road
Analyzing this from the far is maybe not really working out as expected. Also this forum is sure not the best platform for it. Best would be to find a chat room with Linux experts that may help. The Ubuntu forums maybe also a point of contact. But to be honest, "real-time" help would be best.

Also it would be good if you have some kind of recovery CD/USB drive lying around (even the Ubuntu install disk may work - SystemRescueCD or something is better). You may also buy a magazine, they sometimes have those included. But analyzing/repairing from the damaged system may lead to even more errors and corruptions. The look from the "outside" is really important.

You have also not written about how much data we are talking here. Is is just some documents from you home folder or are you thinking about backing up the whole distribution (in which case the external boot disk is a must)? Just some MB or aa couple of GB. Anyway, I would also suggest backig this up locally on a usb drive, it will be much faster and also you may need some tries to repair it.

For the repair, I would (after you backed up everything correctly!), use "fsck -y /dev/sdaX" or so. Important is the -y, a damaged drive usually contains a ton of errors. Depending on how damaged it is, a repair is maybe not possible anymore. Is it a SSD or a magnetic disk? But here are - again - a million of possibilities, do the backup first, the analysis later.

Still - keep calm and backup your stuff. Hope that helps.
__________________
Proud candidate for the Angband Darwin Award!
SaThaRiel is offline   Reply With Quote
Old May 11, 2021, 09:37   #5
werecobalt
Rookie
 
Join Date: Jun 2019
Posts: 19
werecobalt is on a distinguished road
Thanks, I’ve bought a usb stick. I’ll back up the files when it arrives. The data is less than 10G.
werecobalt is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dying by townspeople Grotug Vanilla 5 January 4, 2017 18:12
About the stupidest thing you can do without dying... Bogatyr Vanilla 31 November 28, 2015 21:20
Analytics - Winning and Dying Mark Vanilla 38 August 14, 2014 23:54
can't load save file. anti-save scumming feature? unbuttered_toast Vanilla 4 May 21, 2010 17:57
[Sangband] I keep dying on level 4 K.I.L.E.R AAR 11 June 10, 2007 04:41


All times are GMT +1. The time now is 08:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.