Make these ads go away.
+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 30

Thread: I've changed....and HELP !!!

  1. #1
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    I've changed....and HELP !!!

    The other day my Linux Mint running laptop would not boot, so I ordered a cheapo laptop from eBay which Im using right now.
    It's loaded with Windows 7 and my first impressions after using Mint for ages and ages is it seems to be hard work. It keeps reminding me about antivirus and stuff, Back ups and such, and the 'Free' antivirus wants you to buy it every five minutes.

    My intention was to install Mint, but I am going to give this a try for a while at least.

    The old laptop still refuses to boot into Mint so I installed Lubuntu beside it from an old DVD I found laying about, hoping to be able to rescue photos from the Mint partition.All my photos normally directly upload to Dropbox, but as it filled up too quickly, I downloaded some to the laptop to free up space.

    Now for the HELP part of the post, do any of you IT genii know a simple way to rescue a few photos from the non bootable partition ?
    It needs to be simple, because I am not half as clever as I thought after a little research has confused me more than is comfortable.
    I thought I knew more than this until I opened my mouth

  2. #2
    Proudly humble
    is Lost in the Ozone, again.
     
    I am:
    Cool
     
    LarsMac's Avatar
    Join Date
    Nov 2009
    Location
    usually on the road to somewhere.
    Posts
    10,084
    Local Date
    07-16-2018
    Local Time
    12:38 PM
    Points
    38,883
    Gifts Beer Balloons Gift Car Beer

    Re: I've changed....and HELP !!!

    Firstly, for anti virus just go to Windows configuration and enable windows defender.
    It is free.
    Then tell that "free Antivirus to take a hike.
    As for Mint, I am not much help.
    It may not be so much that I've conceded your point as that you just can't hear me rolling my eyes.

  3. #3
    Senior Member
    is just wandrin
     
    I am:
    Happy
     
    Wandrin's Avatar
    Join Date
    Apr 2011
    Location
    Today?
    Posts
    1,667
    Local Date
    07-16-2018
    Local Time
    11:38 AM
    Points
    6,716
    Gifts Balloons Cake Gift

    Re: I've changed....and HELP !!!

    I'm not an expert, by any means, but I have heard of a package/program named "Testdisk" for Linux. It has a function called "Photorec" that tries to recover lost photos. It ignores the file system and focuses on the data for its operations, so a damaged file system doesn't get in the way.

    A big caveat is that in runs from the command line in terminal, so if you are not comfortable with that, this isn't the right tool. You can fid more information here.

    To get it, you would run "sudo apt-get install testdisk" on the command line.

  4. #4
    Supporting Member
    is risen
     
    I am:
    Happy
     
    spot's Avatar
    Join Date
    Apr 2005
    Location
    Brigstow
    Posts
    34,429
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    54,899
    Gifts Heart Car Beer Beer Burger Cake Ban Hammer Beer

    Re: I've changed....and HELP !!!

    What I've learned is to make sure one know what the position is before one writes anything onto ones disk. The delay is immaterial, the writing is irreversible.

    I have two concerns: the first is "the non bootable partition". It's not clear whether it has a filesystem intact on it or not - I would guess that it does. The other concern is where "I installed Lubuntu beside it" wrote to. A different partition, presumably. Or several different partitions which would make things even more arbitrary.

    There are things called "Live CD" Linux distributions. One writes them to a blank DVD, boots from it and one then has a working Linux system without writing anything to ones hard drives. The reason to do it that way from the start is to do no harm to whatever data is left on the drives, while one uses the Live CD system to discover what went wrong and do all the retrieving one wants, still without writing to the hard drives at all.

    Anyway, you have a working Lubuntu on there at the moment. If you run it up, make a terminal window and "sudo fdisk -l" you'll see all the drives and partitions on the system. If you copy/paste that into this thread, saying which one is "the non bootable partition", we can go a step further.

    If you think you can see on the fdisk output "the non bootable partition" which has the photos on it, then jot down its name (something shaped like /dev/sda2 or /dev/sdb1 or /dev/hda1, let's call it /dev/XXXX). In the same terminal window type these lines: "sudo mkdir /temporary" "sudo mount /dev/XXXX /temporary" "sudo ls -ls /temporary"

    All the sudo prefixes are to run commands as root. If you can use su once instead of sudo on each line that would be simpler but I don't expect Lubuntu would allow it.

    If you copy/paste the entire text from the terminal window into this thread we can see where we've reached.
    Nullius in verba|||||||||||
    Who has a spare two minutes to play in this month's FG Trivia game!

    The watch of your vision has become reasonable today.

    It’s normal. You must provoke. You must insult the belief of all monotheists. You must make fun of the belief of all monotheists.
    From the upper tier of the Leppings Lane End of the Hillsborough Stadium, I watched the events of that day unfold with horror.
    When the flowers want to oxygen and nutrition, or you’re a wedding or party planner, I will help you too much.
    Write that word in the blood

  5. #5
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    Re: I've changed....and HELP !!!

    Quote Originally Posted by LarsMac View Post
    Firstly, for anti virus just go to Windows configuration and enable windows defender.
    It is free.
    Then tell that "free Antivirus to take a hike.
    As for Mint, I am not much help.
    Looked for and found it, but when trying to install got the message "The program is blocked by group policy. Contact administrator (Error code 0x800704ec)"
    I thought I knew more than this until I opened my mouth

  6. #6
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    Re: I've changed....and HELP !!!

    Quote Originally Posted by spot View Post
    What I've learned is to make sure one know what the position is before one writes anything onto ones disk. The delay is immaterial, the writing is irreversible.

    I have two concerns: the first is "the non bootable partition". It's not clear whether it has a filesystem intact on it or not - I would guess that it does. The other concern is where "I installed Lubuntu beside it" wrote to. A different partition, presumably. Or several different partitions which would make things even more arbitrary.

    There are things called "Live CD" Linux distributions. One writes them to a blank DVD, boots from it and one then has a working Linux system without writing anything to ones hard drives. The reason to do it that way from the start is to do no harm to whatever data is left on the drives, while one uses the Live CD system to discover what went wrong and do all the retrieving one wants, still without writing to the hard drives at all.

    Anyway, you have a working Lubuntu on there at the moment. If you run it up, make a terminal window and "sudo fdisk -l" you'll see all the drives and partitions on the system. If you copy/paste that into this thread, saying which one is "the non bootable partition", we can go a step further.

    If you think you can see on the fdisk output "the non bootable partition" which has the photos on it, then jot down its name (something shaped like /dev/sda2 or /dev/sdb1 or /dev/hda1, let's call it /dev/XXXX). In the same terminal window type these lines: "sudo mkdir /temporary" "sudo mount /dev/XXXX /temporary" "sudo ls -ls /temporary"

    All the sudo prefixes are to run commands as root. If you can use su once instead of sudo on each line that would be simpler but I don't expect Lubuntu would allow it.

    If you copy/paste the entire text from the terminal window into this thread we can see where we've reached.
    The non bootable partition tells me "Your session lasted less than 10 sec. If you have'nt logged out yourself, this could mean there is some installation problem or that you maybe out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix the problem."
    Below that a checkbox ? that says View details (~/.xsession-errors file) that when checked says.... "initctl: unable to connect to Upstart: Failed to connect to /etc/mdm/Xsession: Beginning session setup...
    localuser:bruv being added to access control list"

    This last time (looking to get this info) the boot hangs on a blank screen with just a cursor showing, thought before it hung on the login page that had started to show after updates (a known bug I understand) despite my settings not requiring login.

    Just off to try your recommendations.
    I thought I knew more than this until I opened my mouth

  7. #7
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    Re: I've changed....and HELP !!!

    Output following fdisk

    Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x36b0f5f2

    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 93140900 93138853 44.4G 83 Linux
    /dev/sda2 93140990 156301311 63160322 30.1G 5 Extended
    /dev/sda5 148056064 156301311 8245248 4G 82 Linux swap / Solaris
    /dev/sda6 93140992 119268507 26127516 12.5G 83 Linux
    /dev/sda7 119269376 148054015 28784640 13.7G 83 Linux

    Partition table entries are not in disk order.
    I am thinking the second entry /dev/sda2 would be the one I am after because of size and the asterix against the previous entry under the boot column.

    I will be back.
    I thought I knew more than this until I opened my mouth

  8. #8
    Supporting Member
    is risen
     
    I am:
    Happy
     
    spot's Avatar
    Join Date
    Apr 2005
    Location
    Brigstow
    Posts
    34,429
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    54,899
    Gifts Heart Car Beer Beer Burger Cake Ban Hammer Beer

    Re: I've changed....and HELP !!!

    /dev/sda2 isn't a data partition, it's a wrapper ("extended") for the following three real partitions: 4+12.5+13.7=30.2Gb, which is the size of the wrapper.

    There's no data in /dev/sda5, it's a temporary swap partition which changes content for each session.

    /dev/sda1 looks like where you installed Lubuntu in which case it's going to be tricky to find photos under the overlayed new system - that's where Clod's process would be the only fallback.

    First we need to see what's in partitions 6 and 7. It's quite possible the entire directory structure was created by the Lubuntu install.


    sudo mkdir /mnt/t6
    sudo mount /dev/sda6 /mnt/t6
    sudo ls -ls /mnt/t6
    sudo mkdir /mnt/t7
    sudo mount /dev/sda7 /mnt/t7
    sudo ls -ls /mnt/t7
    df -H

    and again, copy the output to the thread.
    Nullius in verba|||||||||||
    Who has a spare two minutes to play in this month's FG Trivia game!

    The watch of your vision has become reasonable today.

    It’s normal. You must provoke. You must insult the belief of all monotheists. You must make fun of the belief of all monotheists.
    From the upper tier of the Leppings Lane End of the Hillsborough Stadium, I watched the events of that day unfold with horror.
    When the flowers want to oxygen and nutrition, or you’re a wedding or party planner, I will help you too much.
    Write that word in the blood

  9. #9
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    Re: I've changed....and HELP !!!

    Sorry to show my ignorance, but should I enter all of that or line after line ?
    I thought I knew more than this until I opened my mouth

  10. #10
    Senior Member
    This user has no status.
     
    I am:
    Happy
     
    Bruv's Avatar
    Join Date
    Aug 2007
    Location
    Kent..... South East England
    Posts
    12,120
    Local Date
    07-16-2018
    Local Time
    07:38 PM
    Points
    62,920
    Gifts Beer Beer FacePalm Ban Hammer Beer Beer Beer Beer

    Re: I've changed....and HELP !!!

    Register to remove this ad.
    Here it is with the full text..............less my name......I'm shy.

    HP-EliteBook-6930p:~$ sudo ls -ls /mnt/t6
    total 108
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 bin
    4 drwxr-xr-x 3 root root 4096 Mar 27 14:20 boot
    4 drwxr-xr-x 5 root root 4096 Mar 27 14:20 dev
    12 drwxr-xr-x 146 root root 12288 Mar 27 14:20 etc
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 home
    0 lrwxrwxrwx 1 root root 32 Mar 27 14:20 initrd.img -> boot/initrd.img-4.4.0-53-generic
    4 drwxr-xr-x 26 root root 4096 Mar 27 14:20 lib
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:22 lib64
    16 drwx------ 2 root root 16384 Mar 27 14:20 lost+found
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 media
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 mnt
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 opt
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 proc
    4 drwx------ 3 root root 4096 Mar 27 14:22 root
    4 drwxr-xr-x 12 root root 4096 Mar 27 14:22 run
    12 drwxr-xr-x 2 root root 12288 Mar 27 14:22 sbin
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 srv
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 sys
    4 drwxrwxrwt 2 root root 4096 Mar 27 14:20 tmp
    4 drwxr-xr-x 10 root root 4096 Mar 27 14:22 usr
    4 drwxr-xr-x 2 root root 4096 Mar 27 14:20 var
    0 lrwxrwxrwx 1 root root 29 Mar 27 14:20 vmlinuz -> boot/vmlinuz-4.4.0-53-generic
    geoff@geoff-HP-EliteBook-6930p:~$ sudo mkdir /mnt/t7
    geoff@geoff-HP-EliteBook-6930p:~$ sudo mount /dev/sda7 /mnt/t7
    geoff@geoff-HP-EliteBook-6930p:~$ sudo ls -ls /mnt/t7
    total 112
    4 drwxr-xr-x 2 root root 4096 Mar 27 15:08 bin
    4 drwxr-xr-x 3 root root 4096 Mar 27 15:16 boot
    4 drwxrwxr-x 2 root root 4096 Mar 27 14:48 cdrom
    4 drwxr-xr-x 5 root root 4096 Jul 20 2016 dev
    12 drwxr-xr-x 123 root root 12288 Mar 30 11:45 etc
    4 drwxr-xr-x 3 root root 4096 Mar 27 14:49 home
    0 lrwxrwxrwx 1 root root 33 Mar 27 15:14 initrd.img -> boot/initrd.img-4.4.0-116-generic
    0 lrwxrwxrwx 1 root root 32 Mar 27 14:50 initrd.img.old -> boot/initrd.img-4.4.0-31-generic
    4 drwxr-xr-x 20 root root 4096 Mar 27 15:05 lib
    16 drwx------ 2 root root 16384 Mar 27 14:44 lost+found
    4 drwxr-xr-x 3 root root 4096 Mar 27 16:17 media
    4 drwxr-xr-x 4 root root 4096 Mar 30 14:18 mnt
    4 drwxr-xr-x 2 root root 4096 Jul 20 2016 opt
    4 drwxr-xr-x 2 root root 4096 Apr 12 2016 proc
    4 drwx------ 6 root root 4096 Mar 30 11:15 root
    4 drwxr-xr-x 10 root root 4096 Jul 20 2016 run
    12 drwxr-xr-x 2 root root 12288 Mar 27 15:09 sbin
    4 drwxr-xr-x 2 root root 4096 Jul 20 2016 srv
    4 drwxr-xr-x 2 root root 4096 Feb 5 2016 sys
    4 drwxr-xr-x 2 root root 4096 Mar 30 11:07 temporary
    4 drwxrwxrwt 10 root root 4096 Mar 30 14:17 tmp
    4 drwxr-xr-x 10 root root 4096 Jul 20 2016 usr
    4 drwxr-xr-x 13 root root 4096 Jul 20 2016 var
    0 lrwxrwxrwx 1 root root 30 Mar 27 15:14 vmlinuz -> boot/vmlinuz-4.4.0-116-generic
    0 lrwxrwxrwx 1 root root 29 Mar 27 14:50 vmlinuz.old -> boot/vmlinuz-4.4.0-31-generic
    -HP-EliteBook-6930p:~$ df -H
    I thought I knew more than this until I opened my mouth

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Bookmarks

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.2