LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-09-2013, 09:57 PM   #1
mruschmann
LQ Newbie
 
Registered: May 2009
Posts: 6

Rep: Reputation: 0
Corrupted file system, please help


My computer has been dropping into (initramfs) on boot up. Well it managed to boot and I am in the xserver. I figured what better time than to run like:

sudo update-grub

which worked perfectly, so I than ran:

sudo fsck -f -V /dev/sdb1

which throws this error:

fsck from util-linux 2.20.1
fsck: fsck.swap: not found
fsck: error 2 while executing fsck.swap for /dev/sdb1

So I ran:

sudo swapoff -a

and I got the same error as above. Ill run parted -l for you all. I could use some help here.

Model: ATA OCZ-SOLID3 (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 60.0GB 60.0GB primary ntfs boot


Model: ATA Hitachi HDS5C302 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 17.4kB 128MB 128MB linux-swap(v1)
2 129MB 8500MB 8371MB ext4
3 8500MB 2000GB 1992GB ext4
 
Old 09-09-2013, 10:13 PM   #2
mruschmann
LQ Newbie
 
Registered: May 2009
Posts: 6

Original Poster
Rep: Reputation: 0
A little farther

I got this, sudo fsck -f -V /dev/sdb2 .... but i run into /dev/sdb2 is mounted. Still cant run fsck.
 
Old 09-09-2013, 11:54 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,387
Blog Entries: 6

Rep: Reputation: Disabled
As long as your /dev/sdb2 and it getting mounted you may not be able to run fsck (file system check disk)
AFAIK your main primary partition that your distro (should be) is mounted to is a EXT 4 journaling file system /dev/sdb1:-
Which looks like your Hitachi HDD:-

Did you edit or change any of your partitions?

Did you have a power outage or a not so graceful shutdown; is that why you want to run fsck?
Generally with that you need your distribution's CD/DVD for that to run.

Run this command as 'root' and please post the output of:
Code:
fdisk -l
http://forums.gentoo.org/viewtopic-t...2-start-0.html
https://wiki.ubuntu.com/Initramfs

From what I read about "initramfs" the kernel will load this into a tmpfs space before it actually boots your system.
Is that pretty much what you have going on?
http://wiki.sourcemage.org/HowTo%282f%29Initramfs.html

Last edited by Ztcoracat; 09-10-2013 at 12:01 AM. Reason: Additional website info.
 
  


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
file system is corrupted lalit singhania Linux - Server 3 06-11-2012 09:09 AM
File system is corrupted raghavek Linux - Newbie 4 11-03-2009 12:31 AM
mount disk - corrupted file EXT3 file system RAFAL Linux - General 3 04-08-2009 04:27 PM
Corrupted ext2 file system theunixwizard Linux - Software 4 02-18-2008 02:12 PM
corrupted file system limiter Linux - General 6 10-06-2003 11:06 PM


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