LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08: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, 09: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, 10:54 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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-09-2013 at 11:01 PM. Reason: Additional website info.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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