Home partition recovery

Forum rules
Before you post please read this
eon01
Level 1
Level 1
Posts: 3
Joined: Mon Nov 18, 2013 7:27 am

Home partition recovery

Postby eon01 » Mon Nov 18, 2013 7:33 am

I have a problem with my system, I cannot access anything . So I tried to boot from a live distro (mint 15) and save my home folder into an external hard drive .

I used to have the /home in a logical partition.

Now after booting from the usb , I can't see my home partition in the side panel .
Edit :
(A part of) Testdisk output : http://i.imgur.com/uZQcr0e.png
Here is the output of boot-repair : http://paste.ubuntu.com/6437066/
Here is the output of parted -l : http://i.imgur.com/I9KWR1Y.png

Any help please ?

User avatar
Pierre
Level 13
Level 13
Posts: 4544
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Home partition recovery

Postby Pierre » Mon Nov 18, 2013 8:31 am

according to that parted output,
you've got only a 316Gb primary & a 4Gb swap - inside a extended area.

- so:- just what was the last thing that you did?

that may have caused the loss of /home ??
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

eon01
Level 1
Level 1
Posts: 3
Joined: Mon Nov 18, 2013 7:27 am

Re: Home partition recovery

Postby eon01 » Mon Nov 18, 2013 8:41 am

Pierre wrote:according to that parted output,
you've got only a 316Gb primary & a 4Gb swap - inside a extended area.

- so:- just what was the last thing that you did?

that may have caused the loss of /home ??

Thank you for your reply .
I tried boot-repair : https://help.ubuntu.com/community/Boot- ... _in_Ubuntu

Edit : Even before trying this, it was same .

User avatar
WharfRat
Level 17
Level 17
Posts: 7570
Joined: Thu Apr 07, 2011 8:15 pm

Re: Home partition recovery

Postby WharfRat » Mon Nov 18, 2013 9:00 am

eon01 wrote:I used to have the /home in a logical partition.

It doesn't look like it :?

In the live usb open the terminal and enter:

Code: Select all

sudo -i

Code: Select all

mount /dev/sda1 /mnt

Code: Select all

cd /mnt/home

Code: Select all

ls -lh

You should see your 'home' if it's there.

Good luck :wink:
Image Image

eon01
Level 1
Level 1
Posts: 3
Joined: Mon Nov 18, 2013 7:27 am

Re: Home partition recovery

Postby eon01 » Mon Nov 18, 2013 9:37 am

The result of

Code: Select all

ls -lh

was : total 0

Does it mean that I lost home data ?

User avatar
WharfRat
Level 17
Level 17
Posts: 7570
Joined: Thu Apr 07, 2011 8:15 pm

Re: Home partition recovery

Postby WharfRat » Mon Nov 18, 2013 9:46 am

This was from your boot repair post. It only shows two partitions so your home has to be in '/'

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=1127aed4-3d00-45ee-a8ad-7f23736d42e3 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=9eaeb56a-8267-4348-b203-e7ccd21642f8 none swap sw 0 0

Are you sure the partition is mounted :?: Look in /mnt

Code: Select all

cd /mnt

Code: Select all

ls -lh


Paste back:

Code: Select all

mount|grep sda1

Code: Select all

df -h
Image Image


Return to “Mounting Partitions”

Who is online

Users browsing this forum: No registered users and 1 guest