LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-25-2005, 08:57 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Rep: Reputation: 73
Error loading Slack 10.1


Just installed SLACK 10.1

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

If you're using ext2, filesystem, running e2fsck -v -y <partition>' might help


This happened right after I finished the slack install on my notebook and I have no idea what to do or how to fix something of this nature.

I am not logged in as root in a terminal window

root@(none):/#

Thanks for any help.
 
Old 02-25-2005, 09:18 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
You're right, it isn't a terminal window. It's a terminal.

What filesystem did you use at install time? Was it ext2 or ext3? As far as I understand it, you will never see that error with ReiserFS.

in any event, what you need to do is run e2fsck or e3fsck (depending on your filesystem) on /dev/hda1. Usually, you're supposed to do this without it being mounted, so you might want to boot off the install disc and do it from there.

You could also try the windows fix: reboot and see if the problem is still there.
 
Old 02-25-2005, 09:33 PM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Original Poster
Rep: Reputation: 73
I used ext3 if I recall.

I booted from disk and I am at root@slackware:/#

Code:
root@slackware:/#  e3fsck /dev/hda1
e3fsck: No such file or directory
I rebooted many times and it seems to read the same error over and over so I assume something is rotten in denmark. Is there a command that will show me all my partitions and if they are ext2 or 3?

Last edited by carlosinfl; 02-25-2005 at 09:35 PM.
 
Old 02-25-2005, 09:38 PM   #4
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Hmm... ok. Use "fsck -t ext3" instead of e3fsck. That's probably just a link I've made on my own system.

Also, /dev/hda1 might not be the right partition. Type "fdisk -l" to display the partition tables and be sure.
 
Old 02-25-2005, 09:41 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Original Poster
Rep: Reputation: 73
I don't know if this helps but when I was in terminal and typed:

Code:
root@slackware:/# df <enter>
Filesystem    1k-blocks    Used Available   Use% Mounted On
/dev/fd2            6340      5947           70    99%    /
...and that is all I see!!!??? Should I not see any more partitions?
 
Old 02-25-2005, 09:44 PM   #6
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Original Poster
Rep: Reputation: 73
Quote:
Originally posted by killerbob
Also, /dev/hda1 might not be the right partition. Type "fdisk -l" to display the partition tables and be sure.
Device Boot Start End Blocks ID System

/dev/hda1 1 6000 48194999+ 83 Linux
/dev/hda2 6001 7296 10410120 82 Linux swap
 
Old 02-25-2005, 09:49 PM   #7
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,900

Original Poster
Rep: Reputation: 73
Code:
fsck -t ext3 /dev/hda1
The filesystem size according to the superblock is 14651279 blocks
The physical size of the device is 12048749 blocks
Either the superblock or the partition table is likely to be corupt!
Abort<y>?
 
Old 02-26-2005, 07:27 AM   #8
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
Hmm... yeah, I'd abort at that point. Looks like your partition table is borked. If you had a windows bootdisk, I'd suggest running "fdisk /mbr", but unfortunately I don't think the unix version of fdisk supports that.

I know you can do the same with "lilo -m", but I'm not 100% sure it'll fix the problem. Doesn't hurt to try.

You might also try loading up cfdisk and then writing the partition table and quitting. That might also solve the problem.

Anti-virus control is turned off in the BIOS, right? If it's on, it can screw up c/fdisk and prevent them from being able to write the partition table.

Failing that, since you've just installed the system, you can also use cfdisk from the install CD to wipe out the partitions again, and reinstall. If you go that route, I'd suggest 10gb for /, 512mb for swap, and the rest of the hard drive for /home. cfdisk has a graphical user interface which can make the creation/deletion of partitions pretty easy. As much as I loathe the "Windows" solution, that might actually be your best bet.
 
  


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
Loading NV-GLX hangs in Slack 10.1 and 2.611 mcirsta Linux - Hardware 0 05-08-2005 10:05 AM
kudzu error loading libraries & respawning too fast error CatherineBennet Linux - Newbie 0 01-05-2005 05:04 PM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
need some help with loading slack veritas Slackware 1 10-25-2003 10:55 PM
Mouse not loading correctly in Slack 9 kpw86 Linux - General 1 09-24-2003 05:47 PM


All times are GMT -5. The time now is 01:33 PM.

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