LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2024, 09:48 PM   #1
Linux newbie 2024
LQ Newbie
 
Registered: May 2024
Posts: 1

Rep: Reputation: 0
Question 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!!
 
Old 05-03-2024, 06:49 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,551

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
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?
 
Old 05-03-2024, 06:58 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,982

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
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.
 
Old 05-03-2024, 10:26 AM   #4
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 270

Rep: Reputation: 89
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.
 
Old 05-06-2024, 04:28 PM   #5
jadaja
LQ Newbie
 
Registered: Feb 2024
Distribution: ubuntu 22.04
Posts: 10

Rep: Reputation: 0
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.
 
Old 05-15-2024, 08:17 AM   #6
DillanShanahan
LQ Newbie
 
Registered: May 2024
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Arnulf View Post
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.
Thanks, I will do it. I hope it works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to recover a LUKS partiton after deleting it with gparted cavig5 Linux - General 48 11-04-2013 06:55 PM
LXer: GParted Live CD 0.13.0-1 Is Based on GParted 0.13.0 LXer Syndicated Linux News 0 07-16-2012 04:40 PM
Recover HDD after booting from DSL formatted my HDD chessmad00 Linux - Newbie 3 05-07-2012 04:39 PM
Trying to recover HDD space after new kernel compilation adriaanbw Linux - Software 7 10-11-2005 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration