New install. I know my password. How do I recover my User name to access system?

Installed Manjaro. Blindly following bad advice caused boot crash.

Lesson learned!

I have loaded my personal files overnight, and reluctant to start over.
Because the system was just a day old, I forgot the user name.

But I do still have the password!

What's the command to reveal the user name from 'outside'. So I can boot into my setup and start repairing boot, as the instructions here suggest.
Thank you.

Check the contents of your /home. It contains your home directory, which is named after your username.


Just log in as root using the admin password you set at install time and to keep it simple for you..... Look inside the /home folder and you’ll see folders there for your users.

1 Like

If you can not even log in because you cannot remember your username, there is still a way to recover your data. Note that this guide assumes you're the only user on the system.

  1. Boot the system into Recovery Mode through GRUB.
  2. Select [C] Grub Commandline.
  3. Type in this command into the terminal window that opens:
awk -F: '$3 == 1000' /etc/passwd
  1. Your username will be at the very beginning of the line on one of the returned lines. Typically there will only be one, but there may be more depending on your system.
  2. Reboot into normal mode and use the username specified.

If you are not the only user, replace the code on step 3. Look for a user with an ID greater than or equal to 1000 by:

awk -F: '$3 >= 1000' /etc/passwd

One of them is bound to be you. Or ask another user on the machine to pull the account list.

Thanks, but I have no idea how to do that.
I keep getting a blackscreen.

I get a screen that I believe is the bios entry. It has:
Manjaro Linux
Advanced options for Manjaro Linux
Any key press from there leads to a blank screen.
I can access grub command line, but I don't know how to proceed from there.

Or you can use the Manjaro USB stick to access the /home/ directory.

These dead ends I describe are when I'm using the Usb.The mac is dead without it.
Update, I managed to boot the Mac.

I'm inside 'my' system in the terminal, but can't find my home folders in the GUI. I'm only seeing the USB version of Manjaro files on the desktop.

What's the command in chroot to remove unwanted packages, thanks. (Bumblebee!!!)

Also, What does this mean, please? "Warning: No installed USB configs!"

I'm brand new to Manjaro, but have a little Terminal experience. Here's my system setup:

[manjaro /]# mhwd -li

Installed PCI configs:

              NAME               VERSION          FREEDRIVER           TYPE

       video-linux            2018.05.04                true            PCI

network-broadcom-wl 2018.10.07 true PCI
video-hybrid-intel-nvidia-340xx-bumblebee 2018.08.09 false PCI

Warning: No installed USB configs!
[manjaro /]# optirun -v glxgears
[ 6240.540190] [INFO]Configured driver: nvidia
[ 6240.540290] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 6240.540310] [ERROR]Could not connect to bumblebee daemon - is it running?
[manjaro /]# systemctl status bumblebeed
Running in chroot, ignoring request: status
[manjaro /]# inxi -Fxxcz
System: Host: manjaro Kernel: 4.19.28-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1
Console: N/A wm: xfwm4 dm: N/A Distro: Manjaro Linux
Machine: Type: Laptop System: Apple product: MacBookPro6,2 v: 1.0 serial: Chassis:
type: 10 v: Mac-F22586C8 serial:
Mobo: Apple model: Mac-F22586C8 v: MacBookPro6,2 serial: UEFI: Apple
v: date: 04/24/2019
Battery: ID-1: BAT0 charge: 49.5 Wh condition: 50.9/75.2 Wh (68%) volts: 12.3/10.9
model: SMP bq20z451 serial: N/A status: Full
CPU: Topology: Dual Core model: Intel Core i5 M 520 bits: 64 type: MT MCP arch: Nehalem
rev: 5 L1 cache: 256 KiB L2 cache: 3072 KiB L3 cache: 12.0 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19160
Speed: 1830 MHz min/max: 1197/2395 MHz Core speeds (MHz): 1: 1281 2: 1310 3: 1301
4: 1349
Graphics: Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:0046
Device-2: NVIDIA GT216M [GeForce GT 330M] vendor: Apple driver: nouveau v: kernel
bus ID: 01:00.0 chip ID: 10de:0a29
Display: server: 1.20.5 driver: intel tty: N/A
Message: Advanced graphics data unavailable for root.
Audio: Device-1: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel
v: kernel bus ID: 00:1b.0 chip ID: 8086:3b56
Device-2: NVIDIA GT216 HDMI Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1
chip ID: 10de:0be2
Sound Server: ALSA v: k4.19.28-1-MANJARO
Network: Device-1: Broadcom and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe
driver: tg3 v: 3.137 port: 2000 bus ID: 02:00.0 chip ID: 14e4:1684
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac:
Device-2: Broadcom and subsidiaries BCM43224 802.11a/b/g/n
vendor: Apple AirPort Extreme driver: bcma-pci-bridge v: N/A port: 2000 bus ID: 03:00.0
chip ID: 14e4:4353
IF-ID-1: wlp3s0b1 state: down mac:
Drives: Local Storage: total: 312.50 GiB used: 208.55 GiB (66.7%)
ID-1: /dev/sda vendor: Hitachi model: HTS54503 size: 298.09 GiB speed: 1.5 Gb/s
serial: N/A
ID-2: /dev/sdc vendor: Kingston model: DataTraveler 3.0 size: 14.41 GiB serial: N/A
Partition: ID-1: / size: 292.12 GiB used: 208.55 GiB (71.4%) fs: ext4 dev: /dev/sda2
Sensors: System Temperatures: cpu: 70.0 C mobo: N/A gpu: nouveau temp: 68 C
Fan Speeds (RPM): N/A
Info: Processes: 194 Uptime: 1h 46m Memory: 3.72 GiB used: 676.6 MiB (17.8%) Init: systemd
v: 242 Compilers: gcc: 9.1.0 Client: Unknown Client: su inxi: 3.0.34

In your filemanager, write to your addressbar:


This is where your home folder is if you have chrooted in the terminal. If you have not, you need to mount your partitions first and go to whatever directory you mounted them to.

pacman -R package_name

However, with Bumblebee, you might want to use mhwd instead. Installing video-linux with mhwd should probably remove Bumblebee unless I'm mistaken.

You can safely ignore it

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.