LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2017, 06:25 AM   #1
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Rep: Reputation: Disabled
Hard Drive Corrupted?


I am the owner of an Expresso excercise bike that runs on a Linux system. When the computer boots up, it is designed to proceed directly into the bikes software, etc. Currently, it does boot up as usual, but shortly afterwards, everything freezes.

I spoke to the company that does computer service, and the tech said it is likely a bad hard drive. He suggested sending back the entire computer for repair.

When I removed the computer, I see that the hard drive is easy to access. I am wondering if there is a repair tool or a way to just fix this and swap it out myself?

Any help would be appreciated. Thanks in advance.
 
Old 11-15-2017, 06:37 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,780

Rep: Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572
When you open the bonnet (hood) of your car the engine looks easy to access. Doesn't make it easy to fix for the un-initiated.

So, yep, maybe it could be. By people who know what they are doing. And have any necessary bits to fix it should they be broke.

Take it in, pay the folks, get on with life.
 
Old 11-15-2017, 06:42 AM   #3
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks for the response. The bike is out of warranty and there is no harm in giving it a go. If I can't do it, then I can send it in. And I often learn by fixing things. Even my car engine.
 
Old 11-15-2017, 06:48 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,780

Rep: Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572Reputation: 3572
Well, in that case ...
Do you have a screen, keyboard so you can run diagnostic commands and post the output ?. Try
Code:
uname -a
lsblk -f
Post everything - even the fact a command didn't work.
 
Old 11-15-2017, 07:19 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Welcome to LinuxQuestions.

Have you contacted Interactive Fitness? I assume the company that does computer service is associated with the bike's manufacture? Is the bike still under warranty?

Without knowing anything about the bike's hardware the freezing could be due to several problems. How dusty was the computer when you removed it from the bike?

I understand why they would ask for the entire computer back but I would assume that if you are willing to take the risks that you could talk them into just sending a replacement drive.

While it should be possible to check the drive on a regular PC I probably would not recommend it if you know nothing about hardware.
 
Old 11-15-2017, 09:49 AM   #6
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
Yes of course I have contacted Interactive Fitness. They are pretty sure its the hard drive, hence my attempt at repairing. And who said I do not know anything about hardware? I have replaced many hard drives before as well as other components. I just am not familiar with Linux. I can obviously send in the computer, but there is a long turn around time, etc. If its something I can try by myself, Id like to. They wont just send a replacement drive... tried that already.

So when I boot up to the command prompt it actually goes to grub. Should I try to bypass that or are there other commands to try? The ones that syg00 gave me weren't recognized.
I do appreciate the help here. Thank you.

Last edited by patriotman21; 11-15-2017 at 09:54 AM.
 
Old 11-15-2017, 10:10 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Sorry for the assumptions...

The computer is stuck at the grub prompt? That makes it easier to troubleshoot since I assume (I do that a lot) the motherboard is a typical x86. The grub prompt would most likely mean that the boot loader can not find the /boot or / partition. It might be corrupted.

You will need to boot a linux live CD/DVD/USB or system rescue disk and connect the drive to your windows PC using a USB adapter or connect it directly to your drive controller.

You can then run fsck (linux file systems utility) on the partitions to see if that fixes the problem. You can run SMART (on board disk drive checks) to see if it is going bad.
 
Old 11-15-2017, 10:30 AM   #8
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks! The computer will boot up past the grub screen but when it does, it goes into the normal Expresso bike menu system and shortly freezes. For some reason, Interactive Fitness feels that the hard drive is corrupted. I can bypass the Expresso menus by hitting shift or tab during boot up. Thats how I get to the grub prompt.

So I think it can get to the boot loader, etc. But maybe after that something is messed up.

So if I put the disk in a USB drive enclosure, I can possibly repair it on my windows computer? Or can I use the bike computer but boot up off of another disk?
 
Old 11-15-2017, 10:39 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
If you feel comfortable with the bike computer go for it. Does it have a USB port?

I would expect that you need to change the BIOS to boot a USB drive. You can create a linux live USB on a Windows computer using rufus and with almost any distribution ISO file. I suggest using mint.

Once mint is running you can run the commands posted above which will tell you what filesystems you need to check on the hard drive using fsck.
 
Old 11-15-2017, 03:27 PM   #10
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
I made up a flash drive. Just having trouble entering BIOS.

Just keep getting the grub menu.

Any tips? Im gonna keep trying.
 
Old 11-15-2017, 03:33 PM   #11
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
FYI....

Just found a link to a user having a similar problem a few years ago. Unfortunately it doesn't mean a lot because of my poor knowledge of Linux. But perhaps this might mean something to the Mods,,,,


https://forums.fedoraforum.org/showt...dora-need-help
 
Old 11-15-2017, 03:48 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Have to ask the stupid question... Did you attach a keyboard? Depending on age of the motherboard and if it has a PS/2 connector the BIOS might not respond to a USB keyboard or the BIOS USB legacy keyboard configuration may not be enabled.

Depends on motherboard BIOS. Could be delete, f1, f2, f4, f10, ESC ...

In addition modern motherboards have a boot menu where you can select the drive without entering the BIOS. Again it depends on motherboard BIOS. Could be f8. Not sure about other F keys.

Many times you can continuously press a key during POST (power on self test), the BIOS will think you have a keyboard error and automatically enter the setup page.

That particular bike model had a MSI motherboard and as stated a few years old. That thread does help a bit.

Last edited by michaelk; 11-15-2017 at 03:54 PM.
 
Old 11-15-2017, 03:59 PM   #13
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thanks, I got into the Bios. My fault. Was using a MAC keyboard and the DEL key is different. As soon as I used a PC keyboard it was fine. So dumb of me.

I was able to boot up most of the way using Ubuntu on a flash drive. . Will try MINT now.
 
Old 11-15-2017, 04:06 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,599

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Did you use rufus? Could of been a bad download. If mint fails you probably should verify the ISO file checksum is good.
 
Old 11-15-2017, 04:21 PM   #15
patriotman21
LQ Newbie
 
Registered: Nov 2017
Posts: 17

Original Poster
Rep: Reputation: Disabled
At first I tried a different program and it got stuck. I just used Rufus and I downloaded a MINT iso with cinnamon desktop. It seemed to be going fine. Then I say some firmware errors flash across screen and then it just went black. Left it there a while and nothing else happened. Thats basically what it was doing with ubuntu as well.

Thoughts?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suspend2 corrupted the hard drive !?! divukman Linux - General 1 04-28-2006 06:58 AM
Help! Hard drive corrupted (dmesg output) apachedude Linux - Hardware 3 02-04-2006 11:07 PM
Hard drive corrupted? Help! watha Linux - General 4 11-11-2005 11:28 PM
USB hard drive looks corrupted wirawan0 Linux - Hardware 0 04-20-2004 11:47 AM
urgent .. is my hard drive corrupted? doublefailure Linux - Hardware 4 09-15-2002 08:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 AM.

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