LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   After trying ti recover Ubuntu, my Hdd cannot be accessed by gparted (https://www.linuxquestions.org/questions/linux-hardware-18/after-trying-ti-recover-ubuntu-my-hdd-cannot-be-accessed-by-gparted-4175736661/)

Linux newbie 2024 05-02-2024 09:48 PM

After trying ti recover Ubuntu, my Hdd cannot be accessed by gparted
 
Please help me saving my data on my hard drive. And please excuse me as I'm not an expert in Ubuntu but can follow instructions.

I have a lenovo ideapad 330 with 1 tera hdd that have dual boot of windows 10 and Ubuntu, Ubuntu is my main OS.

Last month I've encountered repeated problems while booting with the error "filesystem on /dev/sda1 requires a manual fsck" and by searching the problem I was able to solve it and it boots normally.

As Ubuntu 24.04 is out I thought it'll solve this problem for me so I did a clean installation of Ubuntu 24.04 along side windows 10.

Yesterday while using Ubuntu it suddenly freezes and didn't respond at all so I restarted it and choose the recovery mode, but it stuck again during that so I restarted it but it only gives me a blank screen.

I tried to reinstall Ubuntu, but gparted cannot find my Hdd at all, it gives the error "error fsyncing/closing/dev/sda: input/output error" with each partition on my hdd.

BIOS can still see my Hdd but Ubuntu installation can not. I tried to boot windows but I get the error "Default boot Device Missing or Boot failed".

My HDD partitions is as follows:

Sda1 swap partition 14 gb

Sda2 ubuntu OS 149 gb

Sda3 entertainment 781 gb

Sda4 work 722 gb

Sda5 backup 165 gb

Sda6 EFI boot 100 mb

Sda7 win10 30 gb

I don't understand now, is my Hdd dead?! But how can Windows tries to repair itself?

Could you please help me? I really need to get the Hdd fixed it contains all my data and stupidly I don't have a backup for it.

Please help 😭

Update:

When I boot I can see the grub menu and When I try to enter the recovery mode of ubuntu it stuck at the first line: Loading Linux 6.8.0.31-generic

Second update:

I realized that it freezes quickly at any stage even at BIOS!! It freezes even at Just pressing F10!

Please help!!

yancek 05-03-2024 06:49 AM

The error you report about input/output error often means a failing drive. Some information on it at the link below. The system previously suggesting an fsck is a bad sign the drive may be failing but if it is still recognized in the BIOS, that is a good sign.

https://askubuntu.com/questions/6556...ted-in-bios-af

What specifically were you doing when the Ubuntu system froze? Have you checked the cables/connections to the drive?

pan64 05-03-2024 06:58 AM

It looks like a hardware error. Probably it is your RAM, not your hdd (or something else). You may try to boot from another disk or pendrive to check if that works. I would also try to run memtest and smartctl.

Arnulf 05-03-2024 10:26 AM

It looks like a hardware error:
  1. Remove this drive from the laptop.
  2. Use an other PC for testing this drive.
  3. Disconnect all SSDs/HDDs in this other PC.
  4. Connect drive from laptop with this other PC.
  5. Boot this other PC with a live Linux from USB stick or CD/DVD.
  6. Check drive from laptop with smartctl and badblocks. Don't use badblocks with option -w unless you have tried to backup your data!
  7. Try to backup your data. Use for backup storage a drive without any relevant data previously stored on it.

jadaja 05-06-2024 04:28 PM

check that your memory is seated properly by removing it and putting it back in again and making sure your drive cables are tightly in place at both ends then restart the system. if the drive still doesn't work try it with a different computer. does the windows partition work at all? nobody has asked that.

DillanShanahan 05-15-2024 08:17 AM

Thanks; I will do it. I hope it works, and thank you so much for the link.
Quote:

Originally Posted by Arnulf (Post 6499652)
It looks like a hardware error:
  1. Remove this drive from the laptop.
  2. Use an other PC for testing this drive.
  3. Disconnect all SSDs/HDDs in this other PC.
  4. Connect drive from laptop with this other PC.
  5. Boot this other PC with a live Linux from USB stick or CD/DVD.
  6. Check drive from laptop with smartctl and badblocks. Don't use badblocks with option -w unless you have tried to backup your data!
  7. Try to backup your data. Use for backup storage a drive without any relevant data previously stored on it.

    I am a school student, and I can say that balancing schoolwork with other commitments can be challenging, but https://domypaper.com/ makes it easier. This service offers exceptional writing assistance, ensuring your papers are completed on time and to a high standard. Their team of writers is knowledgeable in various subjects, and their customer service is always ready to help. Since I started using their service, my stress levels have significantly decreased. I highly recommend them for any academic writing needs.



All times are GMT -5. The time now is 03:07 AM.