Results 1 to 7 of 7

Thread: Help to Access /home partition using Live distro when installed OS will not run.

  1. #1

    Default Help to Access /home partition using Live distro when installed OS will not run.

    Laptop (ThinkPad T42) with openSUSE 13.1 OS installed. Tried to upgrade to 13.2 following wiki instructions using zypper dup but had problem (possibly hardware) and now I cannot boot. Rather than waste time I am happy to do a new installation of 13.2 ab initio but want to take copies of some files from separate /home partition to a USB stick first. AFAIK the /home partition is untouched and OK.

    How may I access these files using a live CD distro. I did try with 13.1 live DVD but couldn't find the directory I needed or how to mount the relevant partition.
    Grateful for some guidance here please.
    Budgie2

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,854

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    Quote Originally Posted by Budgie2 View Post
    ... but couldn't find the directory I needed or how to mount the relevant partition.
    That is of course the wromg sequence. You must first mount a file system and then you can search in it for a directory. Not the other way around.

    First you have to find out on which partition the /home directory is. Let us assume (but you must be certain) that it is /dev/sda3. Then you can mount that using your live/resque system
    Code:
    mount /dev/sda3 /mnt
    When that succeeds, you will find everything that you normaly will see under /home, but now in /mnt. Thus
    Code:
    cd /mnt
    ls -l
    will show you all the home directories of your users. I guess you will be able to step down to a particular user's home directory and further to her/his personal directories with Documents, Pictures and whatever.
    Henk van Velden

  3. #3

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    The 13.2 rescue cd is still available if you want GUI : http://download.opensuse.org/distribution/13.2/iso/
    .
    ✶ PC: P55 - i5 760 ✶ W7 / Leap 42.1 Dual Boot ✶/ (ext4). /home (ext4) ✶ KF5 & Plasma 5 Repo - Plasma 5.8.x Qt 5.7 ✶

  4. #4

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    Quote Originally Posted by hcvv View Post
    That is of course the wromg sequence. You must first mount a file system and then you can search in it for a directory. Not the other way around.

    First you have to find out on which partition the /home directory is. Let us assume (but you must be certain) that it is /dev/sda3. Then you can mount that using your live/resque system
    Code:
    mount /dev/sda3 /mnt
    When that succeeds, you will find everything that you normaly will see under /home, but now in /mnt. Thus
    Code:
    cd /mnt
    ls -l
    will show you all the home directories of your users. I guess you will be able to step down to a particular user's home directory and further to her/his personal directories with Documents, Pictures and whatever.
    Hi and thanks for the speedy response. Yes I understand the order mount first then search.
    Will try and come back if I have problem.
    Many thanks again,

  5. #5

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    Quote Originally Posted by david_banner View Post
    The 13.2 rescue cd is still available if you want GUI : http://download.opensuse.org/distribution/13.2/iso/
    Hi and thanks for that. The system that has failed is still seen as 13.1. I have an installation CD for network install but recovery fails with some error messages I cannot access and do not understand. Quicker and easier for me at least to go for new install.
    Thanks again,
    Budgie2

  6. #6

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    It's a live rescue cd so you just use it like you would an old school live cd, to get your files and folders. Let it boot to desktop and right click (choose 'mount') and mount the partition you want - and then navigate to /home/xxx/Desktop/ (or where ever) and find your stuff, then drag and drop to a usb stick.
    .
    ✶ PC: P55 - i5 760 ✶ W7 / Leap 42.1 Dual Boot ✶/ (ext4). /home (ext4) ✶ KF5 & Plasma 5 Repo - Plasma 5.8.x Qt 5.7 ✶

  7. #7

    Default Re: Help to Access /home partition using Live distro when installed OS will not run.

    Quote Originally Posted by david_banner View Post
    It's a live rescue cd so you just use it like you would an old school live cd, to get your files and folders. Let it boot to desktop and right click (choose 'mount') and mount the partition you want - and then navigate to /home/xxx/Desktop/ (or where ever) and find your stuff, then drag and drop to a usb stick.
    Hi David,
    Job done. Now I am on to the original task which was to upgrade to 13.2 on laptop.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •