LinuxQuestions.org
Visit Jeremy's Blog.
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 01-16-2011, 07:04 PM   #1
brmccarty
Member
 
Registered: Jan 2011
Location: Cayce, SC
Distribution: Mint 13 Xfce
Posts: 65

Rep: Reputation: 0
Question pausing during boot to check sda4


While booting Slackware 13.1 it stops to check sda4. It says something about discrepancies. This started today after leaving the system up overnight. The system was suspended and wouldn't respond. I ended up have to do a hard reboot. The system seems to be working fine, but it does this every time I start Linux. The sda4 partition is Windows XP. XP also is working fine. While Linux is checking sda4 there is a statement that I need to run fsck without options. When I ran fsck I got the following message.
root@b-bhome:~# fsck
fsck from util-linux-ng 2.17.2
e2fsck 1.41.11 (14-Mar-2010)
/dev/sda3 is mounted.

WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)? no

check aborted.
e2fsck 1.41.11 (14-Mar-2010)
/dev/sda4 is mounted.

WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.

Do you really want to continue (y/n)? no

check aborted.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-16-2011, 07:21 PM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
We don't have tools to properly check a NTFS partition under Linux. Just do an forced filesystem check under WindowsXP.
 
Old 01-16-2011, 08:18 PM   #3
brmccarty
Member
 
Registered: Jan 2011
Location: Cayce, SC
Distribution: Mint 13 Xfce
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Darth Vader View Post
We don't have tools to properly check a NTFS partition under Linux. Just do an forced filesystem check under WindowsXP.
I tried that after I got that warning from fsck. XP finds nothing wrong. I guess I will have to do some reading and see if I can find a way to stop Linux from checking during boot.
 
Old 01-16-2011, 08:48 PM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by brmccarty View Post
I tried that after I got that warning from fsck. XP finds nothing wrong. I guess I will have to do some reading and see if I can find a way to stop Linux from checking during boot.
Just make ZERO the last parameter of this mountpoint, in /etc/fstab.

Example:

Code:
/dev/sda4       /mnt/sda4        ntfs-3g     umask=000         1   0
 
Old 01-17-2011, 08:37 PM   #5
brmccarty
Member
 
Registered: Jan 2011
Location: Cayce, SC
Distribution: Mint 13 Xfce
Posts: 65

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Darth Vader View Post
Just make ZERO the last parameter of this mountpoint, in /etc/fstab.

Example:

Code:
/dev/sda4       /mnt/sda4        ntfs-3g     umask=000         1   0
Okay I was mistaken. sda4 is my /home partition. Why does it tell me to do this and then tell me it will damage my file system when I try?
 
Old 01-17-2011, 09:29 PM   #6
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,454

Rep: Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347Reputation: 8347
Quote:
Originally Posted by brmccarty View Post
Okay I was mistaken. sda4 is my /home partition. Why does it tell me to do this and then tell me it will damage my file system when I try?
You need to run it, but the volume needs to be offline. If you reboot and log in as root, you might be able to umount /home and then check the volume with something like this:

fsck -a -v /dev/sda4

Otherwise, you can boot a Slackware install CD/DVD and run it from there. Depending on the level of paranoia e2fsck has about your filesystem, you might need other options to force the check to run... the important thing is that you can't run fsck on a mounted filesystem because that's a moving target and can pretty much scramble things.
 
3 members found this post helpful.
Old 01-22-2011, 09:38 PM   #7
brmccarty
Member
 
Registered: Jan 2011
Location: Cayce, SC
Distribution: Mint 13 Xfce
Posts: 65

Original Poster
Rep: Reputation: 0
Booted with a live CD and fixed it.
 
  


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
pausing kernel during boot destey Linux - Newbie 5 09-28-2010 08:34 AM
Boot process halts on `Waiting for device....sda4/3" for all partitions in fstab jago25_98 Linux - Distributions 4 11-04-2009 03:07 AM
how do I pausing boot messages? MikeyCarter Linux - Software 7 08-10-2009 01:08 AM
Pausing the screen print during boot phonecian Linux - General 5 03-25-2004 10:10 PM
pausing boot sequence ttilt Linux - Software 8 01-04-2004 10:40 AM

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

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