Error 2 While Executing Fsck.swap For /dev/sda1
Contents |
08:03 AMWhenever i boot up, since i last modified with my /etc/fstab file, i get an Error at the splash screen saying "could not mount swap, S fsck error 2 no such file or directory to skip, M to manually recover." i created this thread because i wasnt
Fsck Swap Partition
getting any replies on the other thread, i thought it was probably because it was labeled SOLVED, so i fsck swap not found ubuntu started this one, excuse any misconception about this topic.. "sudo blkid" produces : /dev/sda1: UUID="2955b4dc-24e6-4da1-b5b4-cc7e5c25944" TYPE="ext4" /dev/sda5: UUID="........." TYPE="swap" "cat /etc/fstab" produces : /. . . . proc /proc proc nodev,noexec,nosuid 0 the root filesystem on requires a manual fsck 0 /dev/sda1 / ext4 errors=remount-ro 0 0 #swap was on /dev/sda5 during installation UUID=9d3ad268-d68c-4308-845f-30cc6ada2171 none swap sw 0 0 the repeated dots after one another are commends, talking about how to use blkid when i press M to manually recover, i go to the terminal, and when i try to edit my /etc/fstab (nano /etc/fstab) while i am already logged in as root, i get
Fstab
Cannot write changes to disk, Read-only filesystem..?? thank you very much in advance OdaymJanuary 14th, 2011, 08:31 AMthe only restriction i have right now is that i cannot edit /etc/fstab because of "Read-only filesystem"...how is my filesystem read-only? I AM ROOT! please help. OdaymJanuary 14th, 2011, 08:39 AMalso, when i run "fsck /dev/sda1" i get : fsck from util-linux-ng 2.17.2 WARNING: bad format on line 11 of /etc/fstab e2fsck 1.41.11 (14-March-2010) /dev/sda1 : clean, 263674/18989056 files, etc...blocks and when i run "fsck /dev/sda5" which is the swap, i get : fsck from util-linux-ng 2.17.2 WARNING: bad format on line 11 of /etc/fstab fsck: fsck.swap: not found fsck: Error 2 while executing fsck.swap for /dev/sda5 the 11th line of /etc/fstab is : UUID=9d3ad268-d68c-4308-845f-30cc6ada2171 and under it none swap sw 0 0 WthItehJanuary 14th, 2011, 08:40 AMthe only restriction i have right now is that i cannot edit /etc/fstab because of "Read-only filesystem"...how is my filesystem read-only? I AM ROOT! please help. The filesystem could be mounted read-only during boot-up due to errors. You should not be able to write on a read-only mounted filesystem even as root. You could boot in recovery mode instead
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags Users Badges Unanswered Ask Question https://ubuntuforums.org/archive/index.php/t-1666687.html _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Strange behavior http://serverfault.com/questions/548627/strange-behavior-of-fsck of fsck up vote 0 down vote favorite I am using Debian 7 with two HDDs: 500Gb PATA and 750Gb SATA. blkid shows me the following: root@intel:/etc# blkid /dev/sda1: UUID="b6350c6b-5fbd-4e07-9a4b-10b600fbb64c" TYPE="swap" /dev/sda2: UUID="2f852e13-38ee-4b56-a474-d675c22d5f28" TYPE="ext4" /dev/sda3: UUID="78e34fe3-365c-4c4d-86b8-51615641f9ec" TYPE="ext4" /dev/sdb1: LABEL="data" UUID="03c3f01f-d390-49de-a570-3de4b73a9fea" TYPE="ext4" content of fstab: root@intel:/etc# cat /etc/fstab #
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server [SOLVED] Raid Repair Now wont boot http://www.linuxquestions.org/questions/linux-server-73/raid-repair-now-wont-boot-other-mounting-problems-946039/ - Other mounting problems User Name Remember Me? Password Linux - Server This forum is for the discussion of Linux Software used in a server related context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced error 2 search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with error 2 while the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 3 1 23 > Search this Thread 05-20-2012, 03:18 PM #1 bigstack LQ Newbie Registered: Oct 2010 Distribution: CentOS 6.2 Posts: 25 Re