LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-17-2006, 01:54 PM   #1
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Rep: Reputation: 15
/dev/sda is not a valid block device


I am brand new at this Linux thing and have installed RedHat Linux 9. For months, it has been running fine (graphical interface) and then all of a sudden during start up there are 2 failures and they are both the same thing.

It says:
mounting other filesystems: mount: /dev/sda is not a valid block device

I have no idea what /dev/sda is or what the above statement means, can someone tell me.

The problem is basically that it boots up fine until it should go to the desktop where I should login. I never get that screen and instead, the monitor goes black and there is no signal to the monitor. I hit ctrl-alt-F6 and then I get the command line where I can login and search the Harddrive.

How do I get the desktop to come up and clear that Failure above?

Thanks.
 
Old 02-17-2006, 02:03 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
It sounds to me like you have a failed drive. I assume you have a scsi hard drive as the primary drive (since you're running RH9...). Try mounting the device from the commmand line and then run fsck.
 
Old 02-17-2006, 02:40 PM   #3
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
No it is not a scsi drive, I had gone to the store and purchased the Red Hat Linux Bible which came with version 9. I wanted to learn about Linux.

I am not to sure how to run fsck, so I will have to look that one up. Thanks.
 
Old 02-17-2006, 02:48 PM   #4
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you post your /etc/fstab? I'm curious what /dev/sda is. Usually it's a scsi, usb, or SATA drive. sorry I didn't read well enough to see it said "other filesystems"
 
Old 02-17-2006, 02:50 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,059

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
A USB, Firewire or SATA drive will also have a SCSI device ID i.e. /dev/sdx.
Post your /etc/fstab file. Is there a line that references /dev/sda?
 
Old 02-17-2006, 03:08 PM   #6
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
my fstab shows:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5, mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/fd1 /mnt/floppy1 auto noauto,owner,kudzu 0 0
/dev/sda /mnt/usb auto auto,user 0 1
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0

After seeing the USB next to /dev/sda I decided to put in my data stick into the usb port and I no longer got those failures. How ever, I am still not getting my red hat graphical login screen.
 
Old 02-17-2006, 03:13 PM   #7
Dr_Death_UAE
Member
 
Registered: Jul 2005
Location: U.A.E
Distribution: FreeBSD,Fedora,Solaris,AIX
Posts: 168

Rep: Reputation: 30
Hi, i have also problem with /dev/sda with knoppix Live CD.

when i plug my flash memory, and my external HD on my laptop, it don't respond. it have light on it and it doesnt work.

i have two partitions on my internal HD. XP and Fedora. hda1 , hda2.

i tried mount -t ntfs /dev/hdb1 /mnt
and
mount -t msdos /dev/sda1 /mnt

but nothing happen , its say bad superblock.

how can i know what /dev is used by the flash memory and the external HD, and mount them.

also for the NTFS file system , i read that knoppix have captive on it. i use the latest version of knoppix and i cant found it on it !

thankx alote

sorry for my English
 
Old 02-17-2006, 04:16 PM   #8
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
Not really sure Dr Death UAE, might make more sence to post your own thread with your questions. It might get you more answers than someone like me. I am really new to the is whole thing and I am starting simple and small.
 
Old 02-17-2006, 04:22 PM   #9
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
From the command line have you tried startx?

And somewhere in /var/log there should be a file X11.log or xfree86.log or something like that. Try looking in that and see if there are any errors when you try to startx...

Last edited by pljvaldez; 02-17-2006 at 04:23 PM.
 
Old 02-17-2006, 04:22 PM   #10
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
as root ' depmod -ae ' this is a known bug in RH9
 
Old 02-17-2006, 04:40 PM   #11
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
pljvaldez,

I ran startx from the command line and this is what I got back:
******
Fatal server error
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again
******

I also checked /var/log and found a file called XFree86.0.log and opened it useing vi. Nothing in there really made sense to me buy there was nothing in there that said error. Is there something in there that should stand out or I should look for?
 
Old 02-17-2006, 04:42 PM   #12
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
rshaw,
I am not really sure what 'depmod -ae' is. What is that supposed to do and fix?? I am going to start looking for it on the web. Thanks
 
Old 02-17-2006, 04:44 PM   #13
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
On the screen where you're missing the login, try Ctrl-Alt-Backspace. It should reboot your xserver only.
 
Old 02-17-2006, 04:53 PM   #14
craig467
Member
 
Registered: Jun 2005
Location: Maine
Distribution: Red Hat 9
Posts: 65

Original Poster
Rep: Reputation: 15
pljvaldez,
I tried the ctrl-alt-backspace but nothing happened. The monitor was not recieving a signal, I pressed ctrl-alt-backspace and the screen started recieving a signal for about 2 seconds and then lost the signal again. I had to press ctrl-alt-f6 to get a signal and have the command line login to show up.
 
Old 02-17-2006, 04:54 PM   #15
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
never mind, that bug concerned only the cd drive.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/sda is not a valid block device C++ Linux - Hardware 23 03-24-2008 11:07 AM
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 05:47 AM
/dev/hdc1 is not a valid block device clickster Linux - Hardware 1 10-16-2005 03:36 AM
/dev/fd0 is not a valid block device intmail Slackware 2 07-21-2005 07:52 AM
sda is not a valid block device joesecone Linux - Hardware 7 07-29-2002 07:22 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration