LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 10-07-2005, 12:53 PM   #1
PastorFrederick
LQ Newbie
 
Registered: Oct 2005
Location: Newfoundland
Distribution: Slackware 10.2
Posts: 12

Rep: Reputation: 0
Question Slackware 10.2 hda2 error on boot (Bad or Duplicate Block)


I posted this in the Slackware forum, but thought it might better be posted in the Newbie forum as that is what I am. And as I can't link yet I'm just pasting the orginal text in here.:



First, I'm very much a linux newbie, so I'll need slightly more instructions, sorry for the inconvienece.


Ok, I just installed Slackware 10.2 and duel booted with XP Pro, very easily.
ran xorgconfig and got KDE to run perfectly however, I have a usb mouse and didn't know how to configure it properly in xorgconfig, but that is another issue.

For some stupid reason I decided to try and run xorgsetup to try and setup my mouse proper, however, it didn't even try to configure my mouse, so I exited and rebooted. I didn't overwrite my previous xorg.conf file but saved the good one to a .backup file, but on reboot because the new xorg.conf (the one I made through xorgsetup) wasn't compatible with my monitor/card etc, it caused a hard drive error.

Ok the boot process detected the error, and asked me to fix it.

This is where I have the problem, because I don't know enough about linux code/script to even attempt the "chdsk". The error message gave me a suggestion, but it didn't work. It went something like this:

"if you have a ext2 type of filesystem try using e2fdsk <code> to scan the disk and fix the problem." I can't remember the exact wording or exact command, but hopefully you get the Idea.

How can I "chdsk or scandsk" (win/dos commands) in linux in order to fix the problem i created.

I think I basically need to delete the xorg.conf and replace it with xorg.conf.backup, but I'm not too sure.

thanks for the help!

 
Old 10-07-2005, 02:16 PM   #2
PastorFrederick
LQ Newbie
 
Registered: Oct 2005
Location: Newfoundland
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
Well I did some more searching around the forum after I noticed I wasn't getting any responces, and I noticed someone had a similar problem as I am having. They got the same error, but for a different reason.

I can't link yet but here is the url: http://www.linuxquestions.org/questi...hreadid=364188
just paste it into the browser. Put the error message this person got with my previous post and you will get the picture...

To make it easier I've copied the error message from the above link below:
Quote:
Warning: couldn't open /etc/fstab: No such file or directory
/sbin/e2sck: Is a directory while trying to open /
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it reall contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt and you might try running e2fsck w/ an alternate superblock:
e2fsck -b 9183 <device>

An error occured during the root filesystem check. you will be given a chance to log into the system in single-user mode to fix the problem.

If you are using the ext2 filesystem, running 'e2fsck -v -y <partition> might help.
I tried running e2fsck -v -y hda2 but that didn't work.
Then I tried running e2sck -b 9183 but I didn't know what device I was supposed to identify so I scrapped it.

Anyway I don't know what to do, and if there isn't an answer before tomorrow morning I'll just reinstall (sigh) for the 7th or 8th time in like 2 days.

Thanks for everyone's help in advance.
 
Old 10-08-2005, 09:37 AM   #3
PastorFrederick
LQ Newbie
 
Registered: Oct 2005
Location: Newfoundland
Distribution: Slackware 10.2
Posts: 12

Original Poster
Rep: Reputation: 0
Well I didn't really figure out what the problem is, but I reinstalled (again!).

Anyway, I tried to run xorgconfig as a new usr, but it wouldn't configure, so I deluser and logined only as root, and it worked, however, my usb mouse isn't configured right. I desegnated it as dev/usb2 (i'm not sure exactly which one it's on, but its the second slot). That didn't work. So I re-configured and designated it as default dev/mouse. I can at least move my mouse back and forth, but it jumps all over the place and will not focus.

I have a DELL Dimension 3000, and it came with a USB optical mouse. I had it working once when the KDE startx wouldn't work. However, since I got the KDE working right the mouse doesn't work!

I'm not sure what esle to add, but if you need more information please ask.

Thanks.
 
  


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
Slackware 10.2 hda2 error on boot PastorFrederick Slackware 1 10-07-2005 02:33 PM
Bad super block, too many mounted fs error when mounting CD rom Cogvos Linux - Hardware 2 02-18-2005 08:19 AM
/dev/hda2 not a valid block device KeithKessler Slackware 13 02-10-2005 10:10 AM
duplicate/bad blocks well scanning on home dir... only1gameguru Linux - General 3 08-28-2004 04:28 AM
duplicate/bad IP error on new RedHat 9 install nbcthreat Linux - Networking 2 08-13-2003 04:46 PM


All times are GMT -5. The time now is 03:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration