LinuxQuestions.org
Review your favorite Linux distribution.
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 07-07-2005, 03:11 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
system hangs when booting in root


Can anyone tell me why my system hangs when booting in root , but boots normally when in usr. This is the output of fsck

root@pc1:/home/paul# fsck /dev/hda1
fsck 1.35 (28-Feb-2004)
WARNING: bad format on line 7 of /etc/fstab
reiserfsck 3.6.17 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list@namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/hda1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Mon Jan 4 05:00:25 1999
###########
Partition /dev/hda1 is mounted with write permissions, cannot check it
root@pc1:/home/paul#.

Here is a copy of my etc/fstab

/dev/hda1 / reiserfs defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hdb1 /win ntfs umask=0222 0 0

I would appreciate the help
 
Old 07-07-2005, 03:59 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Maybe there is hidden char in fstab ?
try :
Code:
egrep [[:alnum:]] /etc/fstab > /etc/fstab.new
mv /etc/fstab.new /etc/fstab
Also to fsck /dev/hda1, do it from a bootable CD
(like slackware CD 1 or CD 2)
 
Old 07-07-2005, 09:10 PM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Quote:
Partition /dev/hda1 is mounted with write permissions, cannot check it
You need to mount it as read-only, that's usually done automatically on boot (mount as read-only, check it, then remount it as read-write).
You can use some booteable linux CD, like Slackware's CD 1 or 2, mount and check the partition.

PS: Maybe it's not checked on boot because of the error on line 7. Check if you've hidden characters as keefaz suggested.
 
  


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
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 06:51 AM
Booting Kernel with simulated root file-system priyankadeven Linux - Newbie 2 12-29-2004 06:47 PM
trying to resinstall windows: system hangs after booting tamashii Linux - Newbie 3 11-23-2004 02:40 PM
Problem booting (system hangs..) ronaldomenezes Linux - Software 3 06-30-2003 02:56 PM
system hangs while booting...RH8 sankar555 Linux - Software 3 06-26-2003 02:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:41 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
Open Source Consulting | Domain Registration