You are not logged in.
After installing syslinux to be my boot manager I can no longer boot into Arch, I can however boot into Windows 7. When I try to boot into Arch I get the following error.
Loading ../vmlinuz-linux......
Loading ../initramfs-linux.img......ready.
Probing EDD (edd=off to disable)... ok
Decompressing Linux... Parsing ELF... done
Booting the kernel.
:: running early hook [udev]
:: running hook [udev]
:: Triggering uevents...
:: performing fsck on '/dev/sda3'
fsck: fsck.swap: not found
fsck: error 2 while executing fsck.swap for /dev/sda3
ERROR: fsck failed on 'dev/sda3'
:: mounting '/dev/sda3' on real root
mount: unknown filesystem type 'swap'
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off
[rootfs /]# What's going on?
Last edited by slughappy1 (2012-07-05 22:50:35)
Offline
It's telling you that /dev/sda3 is your swap partition. I wouldn't recommend the swap partition be in the primary partition table. It should go extended if anywhere.
You may just need to modify your root= to something other than /dev/sda3 to find your real root.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
It's telling you that /dev/sda3 is your swap partition. I wouldn't recommend the swap partition be in the primary partition table. It should go extended if anywhere.
You may just need to modify your root= to something other than /dev/sda3 to find your real root.
I guess I worded my question wrong. Why did it all of a sudden no recognize swap? I guess I should have made it a non primary, what are the reasons it shouldn't be on a primary, other than the ability to only have 4? How do I edit root to fix the boot up problem?
Offline
Can you post your syslinux.cfg please.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Can you post your syslinux.cfg please.
Surely
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 1 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#MENU BACKGROUND splash.png
MENU COLOR border 30;44 #40ffffff #a0000000 std
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda3 ro
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sda3 ro
INITRD ../initramfs-linux-fallback.img
LABEL windows
MENU LABEL Windows7
COM32 chain.c32
APPEND hd0 1
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL off
MENU LABEL Power Off
COMBOOT poweroff.comOffline
Are you sure, /dev/sda3 is your root partition? I assume, you configured your swap partition as root partition. Enter the proper partition into your syslinux.cfg and everything will work.
Offline
The default syslinux.cfg has /dev/sda3 in it - maybe you forgot to change it.
Offline
Post the output of "sudo fdisk -l" and your /etc/fstab if you still haven't figured it out.
You may also want to use UUIDs instead of device names (/dev/sdxY): https://wiki.archlinux.org/index.php/Sy … nux_Config
And it doesn't matter if the swap partition is a primary partition. With MBR-formatted drives you only get 4 primary partitions, so maybe that's why nomorewindows suggested placing it in an extended (logical) partition. With 2 GB+ RAM you don't need swap. If you only use swap for hibernation, you can also use a swapfile.
Last edited by DSpider (2012-07-04 08:03:47)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
As a sidenote; consider using persistent naming (uuid/id/...) when referring to partitions in bootloader (and other) configs. Will save you a fair bit of trouble with bus-based names switching around etc.
See the related wiki article for some additional info.
EDIT: sigh; what the 2 guys before me said basically ![]()
Last edited by Gcool (2012-07-04 08:06:31)
Burninate!
Offline
Are you sure, /dev/sda3 is your root partition? I assume, you configured your swap partition as root partition. Enter the proper partition into your syslinux.cfg and everything will work.
The default syslinux.cfg has /dev/sda3 in it - maybe you forgot to change it.
... now I just feel dumb that I overlooked that. I changed syslinux.cfg from /dev/sda3 to /dev/sda4 and now everything works. I'm not sure how I overlooked that but now it's fixed. Thanks all.
Offline