You are not logged in.

#26 2013-10-09 00:28:45

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: Can't log in as anything other than root

KiwiLinux wrote:

So should I reformat the drive as ext4?

Yes. Make a back up of the data on sda4 first.

Edit: and don't forget to update /etc/fstab!

Last edited by cookies (2013-10-09 00:30:01)

Offline

#27 2013-10-09 00:30:42

KiwiLinux
Member
Registered: 2013-10-08
Posts: 26

Re: Can't log in as anything other than root

Oh god.  This is scary.  How do I go about all this?

Offline

#28 2013-10-09 00:33:05

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't log in as anything other than root

KiwiLinux wrote:

Oh god.  This is scary.  How do I go about all this?

The same way you installed Arch. With backups and some gumption.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#29 2013-10-09 00:35:16

KiwiLinux
Member
Registered: 2013-10-08
Posts: 26

Re: Can't log in as anything other than root

Would I be able to copy/paste the contents of /home elsewhere to another drive, and then simply reformat the drive with gparted?
And how do I edit fstab correctly?

Offline

#30 2013-10-09 00:35:23

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Can't log in as anything other than root

Well there is not much on that partition, so you could just copy e.g. the development directory and whatever else somewhere else - your pen drive, somewhere under / that isn't /home etc. Then unmount /home, format it and remount it. Put the stuff you want back and then fix your user or create a new one. (Creating a new one might be easier but you'd need to delete dylan first or choose a different username.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#31 2013-10-09 00:37:07

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Can't log in as anything other than root

KiwiLinux wrote:

Would I be able to copy/paste the contents of /home elsewhere to another drive, and then simply reformat the drive with gparted?
And how do I edit fstab correctly?

You don't need to format the drive - just that partition. So you don't need gparted though I believe you could use that. (You could just use e.g. mkfs.ext4 /dev/sda4.) gparted might be easiest if you're familiar with that, though.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#32 2013-10-09 00:38:12

KiwiLinux
Member
Registered: 2013-10-08
Posts: 26

Re: Can't log in as anything other than root

So if i'm not fussed about any of the data on the FAT32 partition I can just straight reformat it without anything happening to the system? I will still be able to boot and login as root?

Offline

#33 2013-10-09 00:44:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Can't log in as anything other than root

Yes.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#34 2013-10-09 01:01:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Can't log in as anything other than root

KiwiLinux wrote:

And how do I edit fstab correctly?

Please don't continue to expect to have your hand held while using Arch. There is a wiki entry on just about every question that you have asked: permissions, fstab, partionioning, etc. Read them before asking here, don't be a help vampire.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB