LinuxQuestions.org
Help answer threads with 0 replies.
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 02-27-2005, 12:09 AM   #1
lil'boomer
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
what is /dev/hda5


My uncle today just recived a CNC mill from a company called sherline. With the mill they also sent a computer loaded with redhat linux on it but as it goes through the boot procces it stops and tells me that "/dev/hda5/ had gone to long without being checked" Now i've played around with linux before but im not sure how i can get it to check. But when I press the key Print Screen/ Sys Req it tells me that something has failed and that instead of booting into a windows type mode it gives me a shell. So is there anyway i can get it to boot into windows mode from the shell or is there a way to check the /dev/hda5
 
Old 02-27-2005, 12:13 AM   #2
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
/dev/hda5 is a partition on the hard drive or an actual drive. Its probably referring to the check linux does at boot but I dont remember exactly, something like fsck or something, Im sure someone else will chime in.

You can try typing startx at the command line and see if X windows starts up.

Did your uncle order the mill computer with Linux installed? Thats kinda curious. Is there a special milling program that is run under Linux?

Last edited by BajaNick; 02-27-2005 at 12:15 AM.
 
Old 02-27-2005, 12:18 AM   #3
lil'boomer
LQ Newbie
 
Registered: Feb 2005
Posts: 2

Original Poster
Rep: Reputation: 0
yes he did get the system with linux already installed and the milling program to run the mill comes directly from Sherilne but i think he got a special cad program to help him design jewelery to make on his mill "he's a professional jeweler"
 
Old 02-27-2005, 08:19 AM   #4
Lakefall
LQ Newbie
 
Registered: Feb 2005
Location: Finland
Distribution: Debian sarge
Posts: 26

Rep: Reputation: 15
Re: what is /dev/hda5

Quote:
Originally posted by lil'boomer
as it goes through the boot procces it stops and tells me that "/dev/hda5/ had gone to long without being checked"
That is completely normal.

Quote:
Now i've played around with linux before but im not sure how i can get it to check.
You don't need to do anything, unless something is badly wrong with the file system. When it tells you a check is needed it has already started the check. Just wait until it finishes, which may take some time.

Quote:
But when I press the key Print Screen/ Sys Req
Why do you do that? I don't think it does anything at that point, but just in case it does, don't press it.

Quote:
it tells me that something has failed and that instead of booting into a windows type mode it gives me a shell. So is there anyway i can get it to boot into windows mode from the shell or is there a way to check the /dev/hda5
This suggests there is something wrong with the file system.. or alternatively something else may be wrong. It would be helpful to know what it says exactly.

The following may sound complicated, but I'm trying to cover all the alternatives.

To check the file system on /dev/hda5 we must unmount it or remount it without write permissions. Make sure you are logged in as root. Type:
Code:
umount /dev/hda5
If that doesn't give any messages at all or says /dev/hda5 is not mounted, move on to the next paragraph. If the /dev/hda5 is the root partition, you cannot unmount it. In that case type:
Code:
mount -o remount,ro /dev/hda5
If that also gives you some message type
Code:
shutdown now
to bring the system down to single user mode and try the commands again. If you still get an error, you cannot continue, but that should not happen.

The next step may or may not be simple.
Code:
fsck /dev/hda5
You may get some tricky questions if the file system has problems. Alternatively the command may not even run the check, if the file system seems clean. In that case we probably have been wasting time.

After that you want to remount the file system and switch to normal multi user mode. It's easiest for me to just tell you to reboot by typing
Code:
shutdown -r now
as you probably know you should always do when you want to reboot in the text mode.

Also try the following commands.
Code:
man fsck
man e2fsck
man mount
man umount

Last edited by Lakefall; 02-27-2005 at 08:23 AM.
 
  


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
can`t mount ntfs hda5? yohanes Linux - Newbie 3 09-19-2005 08:03 AM
'10G Media' instead of just 'hda5' exit3219 Linux - Newbie 3 09-01-2005 07:20 AM
Ubuntu screwed up my second Windows (/dev/hda5 HPFS/NTFS) partition howyen Ubuntu 5 04-12-2005 01:11 PM
Read NTFS Hda5 volume the mac 13 Linux - Software 8 01-21-2005 02:54 AM
Hda5 problem scialom Linux - Software 5 04-19-2004 12:12 PM

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

All times are GMT -5. The time now is 07:33 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