* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: Newbie Scrub Fails at Linux  (Read 731 times)

0 Members and 1 Guest are viewing this topic.

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • My Sprites and Walrii Collection
  • Gender: Male
Newbie Scrub Fails at Linux
« on: November 05, 2016, 07:47:03 pm »
I somehow managed to erase my home directory in elementaryOS. Now I can't login. I do have a backup for it, but I am unable to place it where it's needed because "Permission denied." Apparently, I don't have permission to do anything, even tho I have the only account(which is marked as Administrator) on the Linux half of my laptop. How do I restore the backup if I can't login?


  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2968
  • Post Rating Ratio: +27/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Newbie Scrub Fails at Linux
« Reply #1 on: November 05, 2016, 08:03:39 pm »
If you're a master of Linux command line, you can boot in Recovery Mode, login as root and restore your stuff.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron


if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline kotu

  • fast hard => french
  • Super User
  • Join Date: Aug 2016
  • Location: UK - facing deportation to Russia - I am French
  • Posts: 1052
  • Post Rating Ratio: +7/-7
  • I want points for being french
    • dj_kotu
    • @UCAy2ZF4hbc08iStnTn6jgxQ
    • rowanmedhurst
    • @romanov-psyco
    • futurerave.uk
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #2 on: November 05, 2016, 08:04:39 pm »
* kotu realises that juju is evil
QUOTE
"If you're a master of Linux command line,"
« Last Edit: November 05, 2016, 08:07:43 pm by kotu »
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PS3

i am NOT in love with mateoconlechuga

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #3 on: November 05, 2016, 08:13:40 pm »
Well, as the title says, I'm kind of not...
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Juju

  • aka Yuki Kagayaki aka J̵̭͕͇ù̞̭̝̯̦j̴̭̙̗͖͡ù͏͓̲̕
  • CodeWalrus Staff
  • Super User
  • Server Maintenance
  • Moderator
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Join Date: Nov 2014
  • Location: Inside a walrus
  • Posts: 2968
  • Post Rating Ratio: +27/-2
  • Couch potato
    • jul.savard
    • juju2143
    • @juju2143
    • juju2143
    • @julosoft
    • juju-kun
    • /u/juju2143
    • juju2143
    • Juju's shed
  • Gender: Female
  • WalriiPoints: 99999
Re: Newbie Scrub Fails at Linux
« Reply #4 on: November 05, 2016, 08:57:26 pm »
Ummm, type "startx" after you logged in in recovery mode? If it works, that is.
  • Calculators owned: TI-83+ (dead?), Casio Prizm (also dead???)
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron


if you wanna throw money at me and/or CodeWalrus monthly it's here

Offline Snektron

  • Lvl 69 Russian Snake
  • CodeWalrus Staff
  • Super User
  • Topic Management
  • Join Date: Dec 2014
  • Location: Netherlands
  • Posts: 3161
  • Post Rating Ratio: +32/-0
  • SSSssssss.....
    • RobinDeWalvis
    • Kzyrox
    • RobinDeWalvis
    • quantuminfinity
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #5 on: November 05, 2016, 09:21:46 pm »
I assume you did try sudo? :P
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #6 on: November 05, 2016, 09:56:03 pm »
I didn't know the command to use.
But I'll try Juju's suggestion.

EDIT: I can access the recovery mode, but I have no idea what to do when I get there.
« Last Edit: November 05, 2016, 10:04:58 pm by Jkolade936 »
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline gameblabla

  • Super User
  • Join Date: May 2015
  • Location:
  • Posts: 693
  • Post Rating Ratio: +14/-6
  • TI-nspire porter
Re: Newbie Scrub Fails at Linux
« Reply #7 on: November 05, 2016, 10:41:37 pm »
How you managed to delete your home folder ?
Unless you were root or Elementary OS is really bad, i don't know.
In any case, if you have access to a terminal (try Ctrl+Alt+F6 during the login screen) or the recovery mode with a shell mode,
you could try to create a new user :
Code: [Select]
adduser yourusernamehereThen log in with your new username and delete your old broken username.

Alternatively, you could just remove your linux partition with the usb installer
and reinstall Elementary OS.
  • Calculators owned: TI Nspire CX, TI-89

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #8 on: November 05, 2016, 10:58:11 pm »
How you managed to delete your home folder ?
Unless you were root or Elementary OS is really bad, i don't know.
In any case, if you have access to a terminal (try Ctrl+Alt+F6 during the login screen) or the recovery mode with a shell mode,
you could try to create a new user :
Code: [Select]
adduser yourusernamehereThen log in with your new username and delete your old broken username.

Alternatively, you could just remove your linux partition with the usb installer
and reinstall Elementary OS.
I was doing something in the terminal, and in all my n00bliness, it somehow got deleted. When I saw this, I attempted to create a new folder, but it said permission denied.

Also, I've been using ElementaryOS long enough to place some files I don't want to lose, so...

I am able to get to the root shell, but "startx" failed because of an authorization error. I'll try that.
I just wish I could open the file explorer with root permission, or have full control like I do with Windows 10. It makes no sense that I'm unauthorized to do certain tasks if there's no one else who is.

« Last Edit: November 05, 2016, 10:59:42 pm by Jkolade936 »
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline Unicorn

  • ??? ??? ??? ??? ???
  • Super User
  • CW Contest II - 2nd place
  • *
  • Join Date: Jan 2015
  • Location: ??? ??? ??? ??? ???
  • Posts: 2813
  • Post Rating Ratio: +5/-2
  • make :PICKACHUP: a thing!
    • Unicorn808
    • 114/11432
    • ??? ??? ??? ??? ???
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #9 on: November 06, 2016, 02:53:12 am »
Quote
I just wish I could open the file explorer with root permission, or have full control like I do with Windows 10. It makes no sense that I'm unauthorized to do certain tasks if there's no one else who is.
Depending on your OS's file browser, you should be able to right click and select "open as root" (or something along those lines), type in your password and be all set. And yeah, if you have problems in Terminal with permissions, just put "sudo" in front of it.

If you can't get back in, just boot from a usb OS and open up your HDD in the file explorer and find your files. Though if you deleted your home directory they probably aren't there....
  • Calculators owned: I own all of them: PICKACHUP TI 84+ CSE TI 83+ SE TI something something ??? ??? ??? ??? ???
  • Consoles, mobile devices and vintage computers owned: PICKACHUP ??? ??? ??? ??? ???



??? ??? ??? ??? ???

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • My Sprites and Walrii Collection
  • Gender: Male
Re: Newbie Scrub Fails at Linux
« Reply #10 on: November 06, 2016, 04:03:58 am »
I did the usb thing and it worked. Thanks. I already had a backup of the home folder made somehow the same time it was deleted.


EDIT: Nope, I lied. It totally failed. Guess i'll just have to reinstall everything.
« Last Edit: November 06, 2016, 02:38:52 pm by Jkolade936 »
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games