Error 2 While Executing Fsck.swap For /dev/sdb2
Contents |
2013-06-13 20:17:45 Vaios Member Registered: 2013-06-13 Posts: 6 [SOLVED]Problem on first Boot after installation -- fsck: error 2 I get the following sequence of messages during my first boot.early console in decompress_kernel Decompressing Linux... Parsing ELF... done Booting the kernel. :: running early hook fsck error 2 no such file or directory [udev] :: running hook [udev] :: Triggering uevents... :: performing fsck on '/dev/sda5' fsck: fsck.swap: fsck swap partition not found fsck: error 2 while executing fsck.swap for /dev/sda5 ERROR: fsck failed on 'dev/sda5' :: mounting '/dev/sda5' on real root mount: unknown fsck swap not found ubuntu filesystem type 'swap' You are now being dropped into an emergency shell. sh: can't access tty; job control turned off [rootfs /]# My partition table is the following : http://i41.tinypic.com/mjp8g1.pngI'll try to explain further what i did. I the root filesystem on requires a manual fsck got two hard drives on my system . sda and sdb . sda disk is 1TB and had windows 7 installed in all of its capacity (prior the arch installation). The other hard drive sdb is 270GB and had Ubuntu installed . sdb has Grub installed also. I decided to install Arch and go triple boot . I followed roughly this installation without the part where the guy installs grub. I chose that after installing
Chkdsk
arch i will go to Ubuntu and update my grub with sudo update-grub and so did i. Grub updated succesfully and i got one addition to the menu of Grub (Arch on /dev/sda5). Also i want to report that i used gpartedlive Usb to make my arch partitions. After booting to Arch i was getting the above message which is difficult to decrypt but i know that is something subtle. I just can't get my head around it.-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] -- Last edited by Vaios (2013-06-14 18:29:16) Offline #2 2013-06-13 20:53:45 mychris Member From: Munich Registered: 2012-09-15 Posts: 67 Re: [SOLVED]Problem on first Boot after installation -- fsck: error 2 What does your /etc/fstab look like? The system tries to mount /dev/sda5 to '/', but it is defined with a fstype 'swap'.In your screenshot, /dev/sda6 is the swap partition, so there must be an error in the /etc/fstab of your arch system.You should be able to mount your partition in the emergency shell and repair your fstab. Offline #3 2013-06-13 21:03:13 Vaios Member Registered: 2013-06-13 Posts: 6 Re: [SOLVED]Problem on first Boot after installation -- fsck: error 2 mychris wrote:What does your /etc/fstab look like? The system tries to mount /dev/sda5 to '/', but it is defined with a fstype 'swap'.In your scree
08:03 AMWhenever i boot up, since i last modified with my /etc/fstab file, i get an Error
Fstab
at the splash screen saying "could not mount swap, S to skip, M to manually recover." i created this thread because i wasnt getting any replies on the other thread, i thought it was probably because it was labeled SOLVED, so i started this one, excuse any misconception about this topic.. "sudo blkid" produces : https://bbs.archlinux.org/viewtopic.php?id=165141 /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 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 https://ubuntuforums.org/archive/index.php/t-1666687.html 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 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
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour 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 http://askubuntu.com/questions/270813/cannot-boot-laptop-after-i-dropped-it about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered Ask Question _ Ask Ubuntu is a question and answer site for http://www.aptosid.com/index.php?name=PNphpBB2&file=viewtopic&t=2849 Ubuntu users and developers. 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 error 2 top Cannot boot laptop after I dropped it up vote 1 down vote favorite I dropped my laptop (from a chair!) and now it does not boot. It shows me only the grub menu screen. Using the recovery mode it gave me: No init found.Try passing init=bootarg and prompted (initramsfs) Then, I used a live cd and did: sudo fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 2048 error 2 while 292863 145408 83 Linux /dev/sda2 294910 95995903 47850497 5 Extended /dev/sda3 95995904 312580095 108292096 83 Linux /dev/sda5 88184832 95995903 3905536 82 Linux swap / Solaris /dev/sda6 294912 23730175 11717632 83 Linux /dev/sda7 23732224 88178687 32223232 83 Linux I did : sudo fsck /dev/ for all the devices. All were fine except from /dev/sda2 which gives : fsck.ext2: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda2 /dev/sda5 : fsck: fsck.swap: not found fsck: error 2 while executing fsck.swap for /dev/sda5 and /dev/sda6 : /dev/sda6 contains a file system with errors, check forced. Pass 1: Checking inodes, blocks, and sizes Error reading block 659 (Attempt to read block from filesystem resulted in short read). Ignore error
05, 2013) Release of aptosid 2012-01 Thanatos "Θάνατος" (Dec 01, 2012) Official Thanatos Release T-Shirts (Aug 12, 2012) Blog Official Geras Release T-Shirts (Feb 25, 2011) Official Aptosid Mugs and Steins (Jan 03, 2011) Official Apate Release T-Shirts (Dec 27, 2010) Register new account | Login FAQ • Search • Register • Log in to check your private messages Log in • Maximize The time now is 10.10.2016, 15:59 aptosid.com Forum Index View unanswered posts Forum Topics Posts Last Post Official Forums All the news about aptosid Everything New and Interesting about aptosid and its network of mirrors Moderators muchan, Team 39 295 03.02.2016, 18:26elish Upgrade Warnings Current News about dist-upgrade issues Moderators muchan, Team 478 3458 09.10.2016, 21:02Lat Bug Reports 2013-01 You find them, we squash 'em. 4 9 03.11.2013, 20:20slh Support Forums Installation Installing to HDD/USB, persistent home, GRUB, etc. Moderator Team 186 1205 13.11.2015, 19:04finotti Hardware Motherboard, Hard Drives, Sound & Video Cards, Peripherals, etc. Moderator Team 384 2204 05.01.2016, 15:08finotti Software Application problems & System Configuration issues Moderator Team 1032 5454 14.08.2016, 11:29finotti Community Forums Requests & Suggestions Request new applications, changes, improvements etc. Moderator Team 113 701 11.09.2015, 09:14mriedel Art & Design Talk about aptosid related artwork or post your own. We love to see new art! Moderator Team 41 317 06.01.2013, 21:15maurizio Anything Goes For all of those Off-Topic topics Moderator Team 238 1805 21.06.2016, 13:14sourceion Experimental Forums User Scripts & Dragons When it breaks you can keep the pieces - please understand our Terms of Usage before posting. Procedures depicted therein are considered dangerous and not supported by the project. Moderators Moderators, Team 200 2058 02.09.2014, 16:40seagull Archives Bug Reports 2010-02 You find them, we squash 'em. Moderators muchan, Team 25 71 25.12.2010, 23:31sx9 Bug Reports 2010-03 You find them, we squash 'em. 7 23 04.02.2011, 22:10piper Bug Re