I can't boot except in root [SOLVED}

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

What about ls -lh /mnt/home/signmeuptoo/.local/share/
ImageImage
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

Well, I have no idea what transpired here, but you're missing a good chunk of your home folder structure.

The only thing I can recommend given the circumstances is to reinstall.
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

Code: Select all

mint@mint ~ $ ls -lh /mnt/home/signmeuptoo/.local/share/
total 68K
drwxrwxr-x 2 1000 1000 4.0K Mar  2 01:03 applications
drwxrwxr-x 2 1000 1000 4.0K Mar  2 01:03 baloo
drwxrwxr-x 3 1000 1000 4.0K Feb 28 15:25 dolphin
drwx------ 2 1000 1000 4.0K Feb 28 16:14 gvfs-metadata
drwxrwxr-x 3 1000 1000 4.0K Feb 28 15:25 kactivitymanagerd
drwxrwxr-x 2 1000 1000 4.0K Mar  2 01:22 klipper
drwxr-xr-x 2 1000 1000 4.0K Feb 28 15:23 konsole
drwxrwxr-x 2 1000 1000 4.0K Feb 28 15:25 kscreen
drwxr-xr-x 2 1000 1000 4.0K Mar  2 01:22 kwalletd
drwxrwxr-x 5 1000 1000 4.0K Feb 28 16:50 kxmlgui5
drwxrwxr-x 2 1000 1000 4.0K Mar  2 01:12 RecentDocuments
-rw------- 1 1000 1000  741 Feb 28 16:13 recently-used.xbel
drwx------ 2 1000 1000 4.0K Feb 28 15:25 remoteview
drwx------ 3 1000 1000 4.0K Feb 28 15:25 telepathy
drwxrwxr-x 4 1000 1000 4.0K Feb 28 15:25 Trash
-rw-rw-r-- 1 1000 1000 1.5K Feb 28 15:25 user-places.xbel
-rw-rw-r-- 1 1000 1000    0 Feb 28 15:25 user-places.xbel.tbcache
drwx------ 2 1000 1000 4.0K Mar  2 00:51 vlc
mint@mint ~ $
Last edited by WharfRat on Thu Mar 02, 2017 9:16 pm, edited 1 time in total.
Reason: Added code tag
I'm just a student, your guidance is appreciated.
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

Try adding a new user. Enter these one line at a time

Code: Select all

sudo -i
mount -t proc none /mnt/proc
mount --rbind /sys /mnt/sys
mount --rbind /dev /mnt/dev
/usr/sbin/chroot /mnt /bin/bash
source /etc/profile
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](system) #\[\e[0m\] "
useradd test
exit
reboot
Then try logging on a user test
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

no go, does the same thing
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

Maybe I typed something wrong? Should I try again, copy and paste?
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

Wow, I just tried copy pasting that again, and on the second line I got mount point /mnt/proc does not exist
I'm just a student, your guidance is appreciated.
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

wutsinterweb wrote:Maybe I typed something wrong? Should I try again, copy and paste?
Did you see the user test on your logon screen :?:
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

No, it went back to the same problem screen as before, but check this out, I did this:

Code: Select all

mint@mint ~ $ inxi -Fszc0
System:    Host: mint Kernel: 4.4.0-53-generic x86_64 (64 bit)
           Desktop: KDE Plasma 5.8.5 Distro: Linux Mint 18.1 Serena
Machine:   System: ASUS product: All Series
           Mobo: ASUSTeK model: Z97-PRO v: Rev 1.xx
           Bios: American Megatrends v: 2702 date: 10/27/2015
CPU:       Quad core Intel Core i5-4690K (-MCP-) cache: 6144 KB 
           clock speeds: max: 3900 MHz 1: 3500 MHz 2: 3480 MHz 3: 3500 MHz
           4: 3525 MHz
Graphics:  Card-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
           Card-2: Advanced Micro Devices [AMD/ATI] Juniper XT [Radeon HD 6770]
           Display Server: X.Org 1.18.4 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD JUNIPER (DRM 2.43.0, LLVM 3.8.0)
           GLX Version: 3.0 Mesa 11.2.0
Audio:     Card-1 Advanced Micro Devices [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]
           driver: snd_hda_intel
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel
           Card-3 Intel 9 Series Family HD Audio Controller
           driver: snd_hda_intel
           Card-4 Logitech QuickCam Ultra Vision driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card-1: Intel Ethernet Connection (2) I218-V driver: e1000e
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Ralink RT2790 Wireless 802.11n 1T/2R PCIe
           driver: rt2800pci
           IF: wlp7s0 state: down mac: <filter>
Drives:    HDD Total Size: 10482.1GB (0.1% used)
           ID-1: /dev/sda model: SanDisk_SD8SBBU4 size: 480.1GB
           ID-2: /dev/sdb model: WDC_WD10EFRX size: 1000.2GB
           ID-3: /dev/sdc model: WDC_WD3000FYYZ size: 3000.6GB
           ID-4: /dev/sdd model: WDC_WD3000FYYZ size: 3000.6GB
           ID-5: /dev/sde model: WDC_WD3000FYYZ size: 3000.6GB
Partition: ID-1: / size: 16G used: 74M (1%) fs: overlay dev: N/A
           ID-2: swap-1 size: 6.43GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 40.0
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 197 Uptime: 15 min Memory: 780.2/32051.6MB
           Client: Shell (bash) inxi: 2.2.35
mint@mint ~ $ sudo mount /dev/sda6 /mnt
mint@mint ~ $ ls -lh /mnt/home/signmeuptoo/.config/autostart
total 4.0K
-rw------- 1 1000 1000 371 Mar  2 06:06 xscreensaver.desktop
mint@mint ~ $
Last edited by WharfRat on Thu Mar 02, 2017 9:20 pm, edited 1 time in total.
Reason: Added code tag
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

so it shows xscreensaver in that one, does this tell us anything?
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

Man, thank you guys for working on this with me, I'm sort of learning something here too.
I'm just a student, your guidance is appreciated.
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

Try purging xscreensaver - if your partition is already mounted then skip mount /dev/sda6 /mnt and continue with the rest.

Code: Select all

sudo -i
mount /dev/sda6 /mnt
mount -t proc none /mnt/proc
mount --rbind /sys /mnt/sys
mount --rbind /dev /mnt/dev
/usr/sbin/chroot /mnt /bin/bash
source /etc/profile
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
export PS1="\[\033[1;33m\]chroot to ->\[\033[1;31m\](system) #\[\e[0m\] "
apt-get purge xscreensaver
rm /home/signmeuptoo/.config/autostart/xscreensaver.desktop
exit
reboot
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

Code: Select all

int@mint ~ $ ls -lh /mnt/home/test/
ls: cannot access '/mnt/home/test/': No such file or directory
mint@mint ~ $ ls -lh /mnt/home/test/ .config/autostart
ls: cannot access '/mnt/home/test/': No such file or directory
ls: cannot access '.config/autostart': No such file or directory
mint@mint ~ $ ls -lh /mnt/home
total 4.0K
drwxr-xr-x 26 1000 1000 4.0K Mar  2 06:03 signmeuptoo
mint@mint ~ $ ls -lh /mnt/home/signmeuptoo/.config/
total 260K
-rw------- 1 1000 1000   66 Feb 28 20:25 akregatorrc
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:06 autostart
drwxrwxr-x 2 1000 1000 4.0K Feb 28 20:25 autostart-scripts
-rw------- 1 1000 1000  546 Feb 28 15:25 baloofilerc
drwxr-xr-x 2 1000 1000 4.0K Feb 28 20:23 caja
drwxr-xr-x 4 1000 1000 4.0K Feb 28 20:23 chromium
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:03 dconf
-rw------- 1 1000 1000  578 Mar  2 06:13 dolphinrc
drwxr-xr-x 2 1000 1000 4.0K Feb 28 20:23 fontconfig
drwxrwxr-x 2 1000 1000 4.0K Feb 28 20:25 gtk-3.0
-rw-rw-r-- 1 1000 1000 1.6K Mar  2 06:03 gtkrc
-rw-rw-r-- 1 1000 1000 1.6K Mar  2 06:03 gtkrc-2.0
drwxr-xr-x 2 1000 1000 4.0K Feb 28 20:23 hexchat
-rw------- 1 1000 1000  119 Feb 28 20:25 kactivitymanagerdrc
-rw------- 1 1000 1000   56 Feb 28 20:25 kateschemarc
-rw------- 1 1000 1000 1.5K Feb 28 20:25 kconf_updaterc
-rw------- 1 1000 1000  665 Mar  1 02:59 kde5-nm-connection-editorrc
-rw------- 1 1000 1000   27 Feb 28 15:25 kdebugrc
drwxrwxr-x 2 1000 1000 4.0K Feb 28 20:25 kdeconnect
-rw------- 1 1000 1000 1010 Mar  2 06:03 kded_device_automounterrc
-rw-rw-r-- 1 1000 1000 3.1K Mar  1 02:41 kdeglobals
-rw------- 1 1000 1000  12K Mar  2 06:22 kglobalshortcutsrc
-rw------- 1 1000 1000  32K Mar  2 06:09 khotkeysrc
-rw------- 1 1000 1000   69 Feb 28 20:25 kmail2rc
-rw------- 1 1000 1000  202 Feb 28 22:34 kmenueditrc
-rw------- 1 1000 1000  122 Feb 28 20:25 kmixrc
-rw------- 1 1000 1000  133 Mar  1 00:53 konsolerc
-rw------- 1 1000 1000   36 Feb 28 20:26 krunnerrc
-rw------- 1 1000 1000   89 Mar  1 03:36 kscreenlockerrc
-rw------- 1 1000 1000 2.3K Mar  2 06:22 ksmserverrc
-rw------- 1 1000 1000  108 Feb 28 20:25 ktimezonedrc
-rw------- 1 1000 1000   33 Feb 28 20:25 kwalletrc
-rw------- 1 1000 1000 1.6K Mar  2 06:03 kwinrc
-rw------- 1 1000 1000   18 Mar  2 06:22 kwinrulesrc
drwxr-xr-x 2 1000 1000 4.0K Feb 28 20:25 libaccounts-glib
drwx------ 2 1000 1000 4.0K Feb 28 21:50 menus
-rw-rw-r-- 1 1000 1000   61 Mar  2 06:03 mimeapps.list
-rw-rw-r-- 1 1000 1000   27 Feb 28 15:25 plasma-localerc
-rw------- 1 1000 1000 4.4K Mar  1 03:11 plasma-org.kde.plasma.desktop-appletsrc
-rw------- 1 1000 1000  241 Mar  1 03:05 plasmashellrc
drwxrwxr-x 4 1000 1000 4.0K Mar  2 05:54 plasma-workspace
-rw------- 1 1000 1000  659 Mar  1 02:09 powermanagementprofilesrc
drwx------ 2 1000 1000 4.0K Feb 28 20:25 pulse
-rw-rw-r-- 1 1000 1000  529 Mar  1 03:39 QtProject.conf
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:22 session
-rw-rw-r-- 1 1000 1000  447 Mar  2 06:03 startupconfig
-rw-rw-r-- 1 1000 1000 2.6K Mar  2 06:03 startupconfigfiles
-rw-rw-r-- 1 1000 1000  217 Mar  2 06:03 startupconfigkeys
-rw------- 1 1000 1000  339 Mar  2 05:57 systemsettingsrc
-rw-rw-r-- 1 1000 1000  12K Mar  2 06:03 Trolltech.conf
-rw------- 1 1000 1000  632 Feb 28 15:25 user-dirs.dirs
-rw-rw-r-- 1 1000 1000    5 Feb 28 15:25 user-dirs.locale
drwxrwxr-x 2 1000 1000 4.0K Mar  2 05:51 vlc
mint@mint ~ $ ls -lh /mnt/home/signmeuptoo/.local/share/
total 68K
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:03 applications
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:03 baloo
drwxrwxr-x 3 1000 1000 4.0K Feb 28 20:25 dolphin
drwx------ 2 1000 1000 4.0K Feb 28 21:14 gvfs-metadata
drwxrwxr-x 3 1000 1000 4.0K Feb 28 20:25 kactivitymanagerd
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:22 klipper
drwxr-xr-x 2 1000 1000 4.0K Feb 28 20:23 konsole
drwxrwxr-x 2 1000 1000 4.0K Feb 28 20:25 kscreen
drwxr-xr-x 2 1000 1000 4.0K Mar  2 06:22 kwalletd
drwxrwxr-x 5 1000 1000 4.0K Feb 28 21:50 kxmlgui5
drwxrwxr-x 2 1000 1000 4.0K Mar  2 06:12 RecentDocuments
-rw------- 1 1000 1000  741 Feb 28 21:13 recently-used.xbel
drwx------ 2 1000 1000 4.0K Feb 28 20:25 remoteview
drwx------ 3 1000 1000 4.0K Feb 28 20:25 telepathy
drwxrwxr-x 4 1000 1000 4.0K Feb 28 20:25 Trash
-rw-rw-r-- 1 1000 1000 1.5K Feb 28 20:25 user-places.xbel
-rw-rw-r-- 1 1000 1000    0 Feb 28 20:25 user-places.xbel.tbcache
drwx------ 2 1000 1000 4.0K Mar  2 05:51 vlc
mint@mint ~ $
Last edited by WharfRat on Thu Mar 02, 2017 9:38 pm, edited 1 time in total.
Reason: Added code tag
I'm just a student, your guidance is appreciated.
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

You're going to have to learn to mark these post's code tags.

So you never created the new user :?

If purging xscreensaver doesn't work try the new user again.
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

I must have messed up something, sorry, will try again!
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

it says user test already exists
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

should I try rebooting anyway?
I'm just a student, your guidance is appreciated.
User avatar
WharfRat
Level 21
Level 21
Posts: 13906
Joined: Thu Apr 07, 2011 8:15 pm

Re: I can't boot except in root

Post by WharfRat »

wutsinterweb wrote:should I try rebooting anyway?
You really can't lose anything at this point...so go ahead
ImageImage
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

So I'm on my other Mint install on another computer in another room. it didn't work, still goes to the same text prompt, so I am rebooting to the DVD again.

I don't want to give up, I do want to figure this out but I know that there is a limit to what I can ask of you.
I'm just a student, your guidance is appreciated.
User avatar
wutsinterweb
Level 5
Level 5
Posts: 917
Joined: Tue Feb 28, 2017 2:14 am
Location: Connecticut, USA

Re: I can't boot except in root

Post by wutsinterweb »

I am back, I booted to the DVD again on the problem system. I DID actually create that user "test" or at least I followed your instructions to a T twice, so I am trying.

Thank you for what you've done so far, I know it's out of the goodness of your being to help. My goal is to learn and to be able to stop using Windows all I can. I believe in Linux and so far I like Mint regardless of the issues I've been contending with for the last 3 days, I understand that putting the screensaver on here might have been my undoing, but I'm not used to such an unexpected fail.
I'm just a student, your guidance is appreciated.
Post Reply

Return to “Newbie Questions”