You are not logged in.
The name says it all. Long story short, I made an stupid error in Gparted and ended up with a completely blank home partition. When I boot up, I get the normal Grub prompt, followed by the login prompt. I can successfully login to my user account, but when I try to start x, I get a black screen. If I try to start my window manager,enlightenment, with enlightenment_start, I get an error
Enlightenment cannot initialize Ecore_X!And then it shuts down. Argh!
Last edited by AlecB (2013-05-30 02:38:17)
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
I made an stupid error in Gparted
So... What was the stupid error?
Do you have a question? Do you want to recover your data? Do you want to simply fix the partition so you can use it again?
Offline
Sorry for being unclear: I want to recover data if possible, if not then I just want to fix the partition so I can use it again.
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Sorry for being unclear: I want to recover data if possible, if not then I just want to fix the partition so I can use it again.
I see. I'm sorry, I should have posted this in my original response: https://wiki.archlinux.org/index.php/File_Recovery Have you followed those instructions?
I don't have any experience recovering data. ![]()
Offline
Thanks for the link, I should have looked there first. I've tried a few of the solutions mentioned there, and it looks like my data really is gone for good. Now my goal is just to get my system up and running again. Startx still just gives a blank screen.
Last edited by AlecB (2013-05-28 18:44:55)
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Hello,
Make sure you have your home partition reformatted, mounted and listed properly in /etc/fstab. After this is done you should copy all the files from /etc/skel to your home directory (they are hidden dot files). This should give you a set of basic home directory files, including an .xinitrc file that you can modify to start your desktop environment using the startx command.
Hope this helps.
Offline
Thanks, I reformatted it, checked fstab, and mounted it. How should I copy /ect/skel? Should I copy all the files separately, or the directory?
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Thanks, I reformatted it, checked fstab, and mounted it. How should I copy /ect/skel? Should I copy all the files separately, or the directory?
logged in as your user:
cp -r /etc/skel/* ~/
Offline
Now I can't boot normally; I go into emergency mode. I have no idea why, because it was working fine earlier today. I tried
cp -r /etc/skel/* ~/And I got
cp: cannot stat /etc/skel/*: No such file or directoryI believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Typically, a wildcard will not match a dotfile. So you are going to have to specify the files you want copied. Navigate to that directory and see what is in there.
Offline
Odd, I ran
ls /etc/skelto see what was in the directory, but it was empty.
Last edited by AlecB (2013-05-29 15:26:35)
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
It shows nothing upon ls, but if you do nano /etc/skel/.xinitrc
you will see the contents of hidden .xinitrc
like this you can cp any file from there.
The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
I added a line in /etc/skel/.xinitrc to start my Desktop Environment, but running startx still doesn't start it. Is there a different xinitrc file I should have edited?
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Now I'm able to copy the xinitrc to my home file in root, but if I try in my user account I get
cp: cannot create regular file /home/(my username)/: Not a directoryI believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
What line in .xinitrc you wrote: specify
You can use Xfce and write:
exec startxfce4 in your .xinitrc (if you are in root)
(if not root you probably have an existing .xinitrc file in you can add)
exec startxfce4
if you use gdm or kdm
you can use:
systemctl enable gdm/kdm.service and then
systemctl start gdm/kdm.service
The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer ![]()
Offline
What is the output of ls /home?
On a side note, this thread looks a bit help vampireish to me. Have you done any of your own research yet?
Last edited by doug piston (2013-05-29 17:10:10)
Offline
ls /home doesn't give me anything. And I'm sorry; I do feel a bit like a help vampire. I'm totally confused at this point.
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Your $HOME is gone. So I'm not sure how you expect to be able to copy things there.
Offline
What line in .xinitrc you wrote: Specify
I added
exec enlightenment_startI believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Your $HOME is gone. So I'm not sure how you expect to be able to copy things there.
Argh, I was afraid of that. Would you recommend that I continue trying to repair my system, or just reinstall Arch?
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Your $HOME has nothing to do with how your system runs, other than dole out required configurations for your specific user. If you think that creating a directory is harder than reinstalling the system, then by all means, reinstall. But you will not learn a damn thing from simply reinstalling the system.
Just make your $HOME, set the right permissions and ownership, and then start to rebuild what you need. I get the impression that your inability to go straight into a graphical environment implies an inability to boot. This is not the case.
Edit: In hindsight, this information was indeed something that you could have very easily figured out yourself with even the slightest bit of effort. I think that we really have hit help vampirism.
Last edited by WonderWoofy (2013-05-29 18:16:51)
Offline
I'm still booting to emergency mode, so I thought more was wrong with my system than just missing my home directory. If I am just missing the directory, then that's no big deal. But I should still be able to boot normally if that was the only problem, right?
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
You seem to lack basic understanding of Linux command line tools, such as the -A flag for ls:
$ ls /etc/skel/
$ ls -A /etc/skel
.bash_logout .bash_profile .bashrc .xinitrc .xsessionI think Arch is not the right distro for you, at least for the time being.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
I am very new, but I'm learning quickly. I have a strong desire to learn Linux, and that's why I'm using Arch. Most of the " User friendly" distros tend to make installation and configuration process so simple that they almost discourage you from using the command line. As a result, I've known people who have used Linux for years and still don't know the basics of how it works. That's why I choose Arch.
I believe in Christianity as I believe that the sun has risen: not only because I see it, but because by it I see everything else.
C. S. Lewis
Offline
Having a strong desire to learn is commendable. Relying on the community to hand hold you through what should be the basics is not going to help you learn or provide anything back to Arch.
Spend a lot more time between your posts researching your issue and seeking to understand it yourself.
If you need access to your machine quickly; install something else and run Arch in a virtual machine where you can afford to have it break and spend the time fixing it without a rising sense of panic.
Offline