did I accidently erase a my data?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • generalhand
    PCHF Member
    • Feb 2025
    • 2

    #1

    did I accidently erase a my data?

    im so fckign stupid i tried to install linux debian from my flash drive and when i went trough the installation it told me few times tht if i do something my other os will be erased but im sure that i made sure i didnt click any of it and when i got back into the booting menu there were those 2 options but in both of them when i open there is only black window with that little thing indicating me to write but i cant do anything. Im fcking crying because i got alot of photos and important stuff on it, is there any way i can get back to it? Please help i will be eternally grateful
  • xrobwx71
    PCHF Moderator
    • Mar 2023
    • 1067

    #2
    Ouch. I’ve got to ask, did you have a backup image of the drive before you started this?

    What exact distro is on the USB?

    Comment

    • Bruce
      PCHF Moderator
      • Oct 2017
      • 10702

      #3
      Let’s get some members with more Linux experience than me - @PeterOz jmarket

      Comment

      • jmarket
        PCHF Owner
        • Jan 2015
        • 7633

        #4
        Hello,

        When you boot into Linux, are you able to mount the drive?

        Try this:
        [ICODE]lsblk[/ICODE]
        Find your drive. Make a note of the drive name (sda, sdb, etc). Then run:

        [ICODE] sudo fdisk -l[/ICODE]

        Once you can see the drive, make an empty folder to mount it to:
        [ICODE]sudo mkdir /mnt/mydrive[/ICODE]
        Then try mounting it:
        Code:
        sudo mount /dev/sdX /mnt/mydrive
        df -h
        Let me know if this works for you

        Comment

        • generalhand
          PCHF Member
          • Feb 2025
          • 2

          #5
          hello, i havent gone through the full linux download so im still in the install menu, and when i open the command line there it says it doesent exist. Should i go trough the installation? I fear if i will it will get definitely deleted

          Comment

          • PeterOz
            PCHF Member
            • Mar 2021
            • 4191

            #6
            Wait for jmarket to advise.
            However
            Originally posted by generalhand
            i havent gone through the full linux download
            or do you mean the full install?
            Do you have an external drive you can copy data to?
            Do you have a spare thumb drive 4-8GB.
            If jmarket aggress I would create a bootable Linux distro on the usb and see if you can read the drive
            and copy the data to an external drive.
            I can supply instructions on how to do this with Ubuntu.

            AS I said wait for jmarket as he knows Linux better than I do.

            Comment

            • jmarket
              PCHF Owner
              • Jan 2015
              • 7633

              #7
              When you’re in the install, try this.

              Drop to a TTY by pressing Ctrl + Alt + F2. This will put you in TTY2 which the installer runs on TTY1. When you try the keyboard shortcuts, do you get to a command line?

              Comment

              • xrobwx71
                PCHF Moderator
                • Mar 2023
                • 1067

                #8
                @generalhand Any progress?

                Comment

                • Bruce
                  PCHF Moderator
                  • Oct 2017
                  • 10702

                  #9
                  To re-open, go here, select a Member, click Send direct message and give the thread title.

                  Comment

                  • Bruce
                    PCHF Moderator
                    • Oct 2017
                    • 10702

                    #10
                    To re-open, go here, select a Member, click Send direct message and give the thread title.

                    Comment

                    Working...