[Solved]I accidentally erased my home partition.

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)

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)

Similar Messages

  • [SOLVED] Cannot migrate to encrypted home partition

    So I installed Arch to play around and familiarise myself with, and I'd now like to use it full time. My company require that either home dir or full disk encryption is used, so I need to migrate my home directory using ecryptfs. Followed the wiki (created a test user to break first though), but it fails as lsof seems to see its own process checking for open files as an open file: cue much
    INFO: Checking disk space, this may take a few moments. Please be patient.
    INFO: Checking for open files in /home/shw
    INFO: The following files are in use:
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    systemd 1 root 19r FIFO 0,8 0t0 8339 pipe
    lsof 428 root 1w FIFO 0,8 0t0 10969 pipe
    lsof 428 root 4w FIFO 0,8 0t0 9076 pipe
    lsof 428 root 5r FIFO 0,8 0t0 9077 pipe
    sed 429 root 0r FIFO 0,8 0t0 10969 pipe
    lsof 430 root 3r FIFO 0,8 0t0 9076 pipe
    lsof 430 root 6w FIFO 0,8 0t0 9077 pipe
    ERROR: Cannot proceed.
    Any suggestions?
    Last edited by analbeard (2014-11-20 08:24:39)

    I will give it try tomorrow and inform you about the outcome. I will use the guide  by anarxc http://sysphere.org/~anrxc/j/articles/e … index.html
    Just to complete the information. When I logged in as root, (right after the boot) I got this
    [root@notebook ~]$ ecryptfs-migrate-home -u user
    INFO: Checking disk space, this may take a few moments. Please be patient.
    INFO: Checking for open files in /home/shw
    INFO: The following files are in use:
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    systemd 1 root 22r FIFO 0,8 0t0 1196 pipe
    systemd 1 root 23u FIFO 0,15 0t0 1198 /run/dmeventd-server
    systemd 1 root 24u FIFO 0,15 0t0 1199 /run/dmeventd-client
    systemd 1 root 26u FIFO 0,15 0t0 1203 /run/systemd/initctl/fifo
    NetworkMa 258 root 20w FIFO 0,15 0t0 10093 /run/systemd/inhibit/1.ref
    systemd-l 260 root 19r FIFO 0,15 0t0 10093 /run/systemd/inhibit/1.ref
    systemd-l 260 root 26r FIFO 0,15 0t0 14800 /run/systemd/sessions/c2.ref
    login 527 root 6w FIFO 0,15 0t0 14800 /run/systemd/sessions/c2.ref
    ecryptfs- 669 root 1w FIFO 0,8 0t0 16695 pipe
    tee 670 root 0r FIFO 0,8 0t0 16695 pipe
    lsof 692 root 1w FIFO 0,8 0t0 16798 pipe
    lsof 692 root 4w FIFO 0,8 0t0 15619 pipe
    lsof 692 root 5r FIFO 0,8 0t0 15620 pipe
    sed 693 root 0r FIFO 0,8 0t0 16798 pipe
    sed 693 root 1w FIFO 0,8 0t0 16695 pipe
    lsof 694 root 3r FIFO 0,8 0t0 15619 pipe
    lsof 694 root 6w FIFO 0,8 0t0 15620 pipe
    ERROR: cannot proceed
    Last edited by macaco (2014-11-17 23:43:45)

  • I accidentally erased my ipod touch how can i restore the home page, i accidentally erased my ipod touch how can i restore the home page

    i accidentally erased my i pod touch how can i restore the home page ?

    Connect the IPod to yur computer and restore via iTunes on the computer. For how to restore see:
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    How did you erase the iPod?
    What do you mean by restore the home page?

  • I accidentally erased some programs from my home computer can I bring them back?

    If I accidentally erased some programs from my home computer, can I bring them back? This is the question? Answer me. Please!

    Welcome to the Apple Support Communities
    If you made a Time Machine backup before deleting the applications, you can recover them from your backup. Just go to the Applications folder, and open the Time Machine app, so you will be able to recover the applications just navigating through your backups.
    However, there are some applications that won't work after doing this, because they require other system files. In this case, you will have to download the apps again from the Internet and install them using the installer

  • Hello, my ipad has been disabled, and it says that I need to connect to itunes. To solve this issue as instructed I connected to the find my iPad/iPhone site to put it on the recovery mode. However, I accidentally erased my account, so please help!!!

    Hello, my iPad has been disabled, and it says that I need to connect to iTunes. As instructed I connected to the find my iPad/iPhone site to put it on the recovery mode. However, I accidentally erased my account, so please help!!! Also, I browsed a lot to find a solution, but none of them were helpful, sorry. Hopping you could help, thank you.

    However, I accidentally erased my account,
    How did you erase your account?  A lot of people would like to know.  No one has found a way of erasing an Apple id account.
    Robert

  • [SOLVED] error when execute a python script in home partition

    Friends,
       After of install the Arch in my notebook (note: "/" and "/home" in separated partition) if I open a terminal/shell and try execute a python program/script in the /home partition I receive many erros and the program don't run:
    [leandro@professionalit ~]$ alacarte
    'import site' failed; use -v for traceback
    Traceback (most recent call last):
    File "/usr/bin/alacarte", line 22, in <module>
    from Alacarte.MainWindow import MainWindow
    ImportError: No module named Alacarte.MainWindow
    [leandro@professionalit ~]$
    [leandro@professionalit ~]$ dropbox start
    'import site' failed; use -v for traceback
    Traceback (most recent call last):
    File "/usr/bin/dropbox", line 26, in <module>
    import optparse
    File "/usr/lib/python2.6/optparse.py", line 75, in <module>
    import sys, os
    File "os.py", line 2, in <module>
    import socket
    File "/usr/lib/python2.6/socket.py", line 92, in <module>
    __all__.extend(os._get_exports_list(_socket))
    AttributeError: 'module' object has no attribute '_get_exports_list'
    But, if I go to another partition, for example, the folder opt in partition / (/opt) and try execute the program it run OK.
    Any idea ?
    Best regards,
    Leandro.
    Last edited by LeandroTiger (2010-05-21 23:02:29)

    [leandro@professionalit ~]$ pwd
    /home/leandro
    [leandro@professionalit ~]$ python
    'import site' failed; use -v for traceback
    Python 2.6.5 (r265:79063, Apr 1 2010, 05:22:20)
    [GCC 4.4.3 20100316 (prerelease)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import sys
    >>> print sys.path
    ['', '', '/usr/lib/openoffice/basis-link/program/', '/usr/lib/python26.zip', '/usr/lib/python2.6/', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload']
    >>> import site
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    File "/usr/lib/python2.6/site.py", line 62, in <module>
    import os
    File "os.py", line 2, in <module>
    import socket
    File "/usr/lib/python2.6/socket.py", line 92, in <module>
    __all__.extend(os._get_exports_list(_socket))
    AttributeError: 'module' object has no attribute '_get_exports_list'
    >>> import Alacarte
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: No module named Alacarte
    >>>

  • Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

    Hello every one.  I installed Arch on an old laptop.  The home partition is 30 GB.  I then created 2 user accounts.  Both have folder sizes of only 22.6 MB.  Yet the home partition is clearly bigger. I have confirmed the partition is mounted at the right location.  (Fstab and Gparted). Is there any way to expand them? I have searched the forums and have found nothing.
    Last edited by ryanvade (2013-02-24 02:19:14)

    I don't really know of a way (short of creating separate partitions) to limit each user to 15GB a piece.  I just don't that you can simply impose limitations like that on a given subdirectory.
    So on your /home partition, can you create a new directory (folder in your parlance) and put some crap in there that exceeds this magical 22.6MB?  Maybe create a directory like /home/test as root, and then again as root try and put some stuff there that exceeds this limitation?  If you can do it as UID 0, then you are running into a permissions problem of some kind.
    I think without more information though, this is really not a solvable situation, as it is rather hard to decipher what you are actually experiencing.

  • [SOLVED] Running Systemd service on login (encrypted home partition)

    Hi,
    I have a dm-crypt/LUKS encrypted home partition that's mounted via PAM on login. I'm trying to use a systemd service (profile-sync-daemon), but the service tries to start and access the home partition before the partition is mounted. The service does seem to start successfully, but it doesn't gain access to necessary files on the home partition and malfunctions later on. Is there a sane hack to somehow delay the start of the service until the relevant partition gets mounted (basically after login)? Manually starting the service after login works just as intended in this case - I'm just looking for a way to automate this process.
    I have an idea of starting the service via Openbox autostart, but I've currently failed in my attempts.
    Last edited by ggg377 (2015-05-28 18:31:10)

    Things got quite complicated and hacky as I researched this so I went out of the box a bit (or took the easy way out, whichever you prefer) and reinstalled Arch with a full disk encryption. All is fine now and I also expect to see less problems overall in the future. If anyone wants to continue researching this it would probably be a good idea to start a new thread.

  • I accidentally erased my phone app on iphone. How do I recover it?

    i accidentally erased my phone app on iphone. How do I recover it?

    You cannot delete the built in phone app. You may have moved it to another home screen page.

  • Hi I accidentally erased my text/iMessage app from my iPhone 4. How do I reinstall it?

    Hi I accidentally erased my text/iMessage app from my iPhone 4. How do I reinstall it?

    The built in app can't be delete, check your other app folders or screen.
    If you still can't find it, go to settings - general - reset - reset home screen layout.

  • Accidentally deleted "Recovery HD" partition

    I accidentally deleted "Recovery HD" partition. How can I get back or re-install it?
    I'm using MacBook Pro Retina 13"
    Intel 2.4 GHz Core I%
    OSX 10.9.2

    Only if you use Disk Utility to first erase the drive. Otherwise, it should install all new OS files over the existing ones, and recreate the hidden Recovery partition. Your third party apps, user account and personal files will remain as they are.
    But as mentioned, there's always the possibility something will happen that shouldn't, and you could lose files. So have a full backup in place, first.

  • Set home partition fs type to vfat

    Hi, guys, I am doing a regular Arch installation to a USB stick. I have no trouble finishing the installation and getting me a bootable USB disk. What I want is to combine the boot partition and home partition into one, I mean mount a single partition on both /boot and /home. This saves me partitions as it seems that I can not use logical partition on a USB disk (I am not quite sure, if some one could clarify this, thanks). Anyway, I chose the first partition for this purpose, because it allows me to transfer data between Linux and Windows. Then it implies that I have to format this partition to vfat. Unfortunately when I boot into Arch, I found that all files in /home is owned by root, even the home dir of a regular user I created. But if I format this partition to ext2, it has no such problem. So I wonder if this is specific to the vfat fs type. If not, what combinations of mount options are the best (solve the problem securely) for this purpose? Below is the entry in my /etc/fstab for this partition
    LABEL=hoot /home vfat defaults 0 2
    I guess the option "users" could solve it, but I wanna hear your suggestions.
    Last edited by plmday (2010-07-28 04:25:50)

    shetland_breeder wrote:
    What's this about Windows only being able to use the first partition on a USB stick?
    I've had Corsair Voyagers with two partitions for years (one for booting DOS with Ghost and one for random files) and Windows (95, XP and Vista) could read and write both partitions.
    I still remember what I found via Google weeks ago about this. Windows treats a USB Flash Disk as Removable, not a USB HDD. If a USB disk (usually flash) is identified as Removable by Windows, it could not see all other partitions but the first one (This is a stupid behavior many people complain.) Some smart guys figured out how to make Windows access other partitions by some tricks. One guy in particular even wrote a driver to make Windows see Any USB Flash Drive As A Local Disk. However, all these tricks require admin privilege which as I said before is not always possible if the Windows machine is not mine because I want a portable USB disk: if one machine in front of my face allows me to boot from USB, great, I can boot into one distro; if not, I can still rely on PortableApps. Because Windows can only see the first partition (of FAT or NTFS) without hacking, I have no choice but to put as much data to be shared between two OS-es as possible in the first partition.

  • How to recover after performing an 'Erase' and then 'Partition' within Disk Utility of an External USB drive?

    Hi - I accidently ran an 'Erase' and then 'Partition' within Disk Utility of an External USB drive (meant to run it against another drive that was plugged in).  Does anyone have any suggestions on if it is possible to recover from this?  It has all my family photos on it and my backup is a few months old :-(
    I tried running Stellar Phoenix Mac Data Recovery but it found what looks like basic mac folder structure (probably from the first erase).  I think what messed me up was that I rain the repartition which formats the drive a 2nd time!  Any help is truly appreciated!
    thank you,
    -Steve

    Hello RalphR_MI,
    Take a look at this page, which lists several articles.  Please let me know if any of these help you restore your backup.
    Also, take a look at this article, as well as this one. 
    I hope this helps.  I'm not sure of a few things, so I'm sorry for sending you so much, but I'm confident it will give you something new to try.
    Please let me know if this helps.  Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • I accidentally erase some pictures from my iPod

    I accidentally erase some pictures from my iPod and I really want them back! Is there any way to solve it? I was wondering if I could get that by some older backup but I couldn't do it! Can someone help me? Please! These photos are really important to me! Thanks xxx

    - If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer
    - Maybe via How to perform iPad recovery for photos, videos
      Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official

  • Accidentally erase my iMac from Find my iPhone App

    I accidentally erase my iMac from Find my iPhone App.,
    Is it able to recover by target disk mode?
    What is erase method of this function? Normal erase or Secure erase?

    I solved the problem by follow Matt's suggestion.
    I can (almost) recovered all my files with deep scan option in the program Data Rescue.
    But it is restructured form, jpeg pictures are moved in one folders then you have to manually arrange them again.
    Anyway, better than nothing
    In conclusion, if you accidentally erase your iMac with Find my iPhone app.
    1. iMac harddisk will be format, not securely, you can recover them.
    2. You need 2 computers, and one thunderbolt cable. (Firewire in the older model)
    3. Using Target Disk Mode (press T while booting, after the signal) at the source computer.
    4. Data Rescue (or other recovery software) need to installed in another computer
    5. Use "Deep Scan" method, it will takes like 7 hrs to scan 1TB harddisk
    6. The files that recovered will be unstructured, (the one that structured is not working)
    7. You might need the larger capacity harddisk than the one you recovering. (in this case 1.5TB or 2TB)
    8. It will takes another 4-6 hours in recovering files.

Maybe you are looking for

  • No Send buttons when replying to messages.

    Hey Mac Users, When I try to reply to an email and click on "reply" the window that comes up has the adress lines, subject and body, but no buttons across the top for Send, Chat, Attach, Address, etc. To actually Send, I have to close, Save as Draft,

  • What's up with the Command-9 keyboard shortcut in Mail?

    I'm using Apple Mail 4.2 (1077). If you look up "Keyboard Shortcuts" in Mail's help, there's a keyboard shortcut "Command-9" by the entry "Open RSS mailbox". It doesn't do anything though. I'm just wondering-was this a feature in the past that was re

  • Problem in installing any app

    Why I'm always having a problem in installing any app? They keep telling me retry on all apps while installing ...

  • N96 Calendar Stopped Working

    Hey guys My N96 calendar has suddenly stopped working. There are no entries listed on the user screen as usual, and when you go into the calendar no dates are shown at all and you cannot scroll through month or add entries etc... I've tried restartin

  • No audio after capture in Premiere Elements Playback

    I am capturing video from a Sony DV camcorder using an s-video cable.  When I playback the captured video there is no audio.  I have played the .avi file in Windows Movie Maker and there is no audio there either.  any ideas???