You are not logged in.
Pages: 1
Hi,
I was bad and didn't update my packages often enough, and now my arch installation on a desktop won't boot.
I've booted off of a usb arch install, mounted all of the appropriate harddrive partitions, and used arch-chroot to switch to the offending hard drive.
The /boot/syslinux/syslinux.cfg is such:
# 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 bootloa
ders
# * 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/sysli
nux.
# If /usr and /boot are on the same file system, symlink the files instea
d
# 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 0 # 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 l
ine.
#
#-*
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/md0 ro
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/md0 ro
INITRD ../initramfs-linux-fallback.img
#LABEL windows
# MENU LABEL Windows
# 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.comand /etc/mdadm.conf is:
ARRAY /dev/md0 UUID=3830049a:44459d91:3ad800a8:e77f102f
ARRAY /dev/md1 UUID=a69afb27:1266d0c2:0c8966db:14500cdb
ARRAY /dev/md2 UUID=20b0675c:2fcca1a5:0882d652:06324bf6
ARRAY /dev/md3 UUID=3f0343cb:ff7342c9:fe8e73d4:ba6d61b3
ARRAY /dev/md4 UUID=287c6b6d:8cbd733c:c6e9d285:a2b14814
ARRAY /dev/md5 UUID=ccd0d21c:8103251b:2c9a32d1:bc6dcc78and it looks to me like this agrees with blkid:
sh-4.3# blkid
/dev/sda1: UUID="3830049a-4445-9d91-3ad8-00a8e77f102f" UUID_SUB="932acc3b-f7ba-d443-cf76-9d59b663c651" LABEL="archiso:0" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="9574bd41-8133-4c6a-b5b4-981002a41867"
/dev/sda2: UUID="a69afb27-1266-d0c2-0c89-66db14500cdb" UUID_SUB="e3de7e2c-8153-0c53-ac5d-ffc678deb269" LABEL="archiso:1" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="fc78d66d-53a4-4c99-a29c-b881d19c1e8d"
/dev/sda3: UUID="20b0675c-2fcc-a1a5-0882-d65206324bf6" UUID_SUB="36f53577-cd9b-0c4e-4223-58123a6b2426" LABEL="archiso:2" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="b7187772-bf01-4517-99a1-d2aa209aa35b"
/dev/sda4: UUID="3f0343cb-ff73-42c9-fe8e-73d4ba6d61b3" UUID_SUB="e583cdb9-f523-b4ea-01bb-609779ca3efe" LABEL="archiso:3" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="df9fddd2-762b-4eb3-860c-ef79f545fa77"
/dev/sda5: UUID="287c6b6d-8cbd-733c-c6e9-d285a2b14814" UUID_SUB="ec1c493a-97f0-48e2-1659-068c25b7aa55" LABEL="archiso:4" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="ba388b64-8f6b-4053-a695-14560832735e"
/dev/sda6: UUID="ccd0d21c-8103-251b-2c9a-32d1bc6dcc78" UUID_SUB="9b53306f-941d-8048-5780-533ada837e11" LABEL="archiso:5" TYPE="linux_raid_member" PARTLABEL="Microsoft basic data" PARTUUID="6325add3-aa39-4fa2-995c-aacf7165097c"
/dev/sdb1: UUID="3830049a-4445-9d91-3ad8-00a8e77f102f" UUID_SUB="ec3420f6-d21a-5e69-94f8-d81f277079ec" LABEL="archiso:0" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="9574bd41-8133-4c6a-b5b4-981002a41867"
/dev/sdb2: UUID="a69afb27-1266-d0c2-0c89-66db14500cdb" UUID_SUB="4b1e7230-ffec-0985-1ac7-a69aec27eec2" LABEL="archiso:1" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="fc78d66d-53a4-4c99-a29c-b881d19c1e8d"
/dev/sdb3: UUID="20b0675c-2fcc-a1a5-0882-d65206324bf6" UUID_SUB="4d1721b6-d87f-00b6-4bd9-45712592b033" LABEL="archiso:2" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="b7187772-bf01-4517-99a1-d2aa209aa35b"
/dev/sdb4: UUID="3f0343cb-ff73-42c9-fe8e-73d4ba6d61b3" UUID_SUB="085a16ce-1a7c-d79e-eb92-fed6b1b70365" LABEL="archiso:3" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="df9fddd2-762b-4eb3-860c-ef79f545fa77"
/dev/sdb5: UUID="287c6b6d-8cbd-733c-c6e9-d285a2b14814" UUID_SUB="10857018-548a-9311-178e-7d2b06e25942" LABEL="archiso:4" TYPE="linux_raid_member" PARTLABEL="Linux RAID" PARTUUID="ba388b64-8f6b-4053-a695-14560832735e"
/dev/sdb6: UUID="ccd0d21c-8103-251b-2c9a-32d1bc6dcc78" UUID_SUB="d577ff9e-a687-f335-7062-f2f629886a58" LABEL="archiso:5" TYPE="linux_raid_member" PARTLABEL="Microsoft basic data" PARTUUID="6325add3-aa39-4fa2-995c-aacf7165097c"
/dev/sdc1: LABEL="/dev/sdc1" UUID="de2a5dc6-4b22-466f-819a-86dda839c7e6" TYPE="ext4" PARTUUID="c3072e18-01"
/dev/sdc2: LABEL="/dev/sdc2" UUID="2909b560-e9b9-48cf-a194-7b7c9c38d312" TYPE="ext4" PARTUUID="c3072e18-02"
/dev/md127: UUID="3f9ddf01-4f7c-4633-844d-82a1781170a5" TYPE="ext4"
/dev/md126: UUID="7105ac32-610b-4d4b-935b-675edc71ff32" TYPE="ext4"
/dev/md125: UUID="90cc6dbe-2d0f-422b-8653-965f103b8e8d" TYPE="ext4"
/dev/md124: UUID="5fd8960f-6017-49c8-bc7e-c972aa0e2f31" TYPE="ext4"
/dev/md123: UUID="7B9075B74838729A" TYPE="ntfs"
/dev/md122: UUID="96468ceb-857b-467e-b9c7-2a37e13fde6f" TYPE="ext4"and lsblk is:
sh-4.3# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
|-sda1 8:1 0 1G 0 part
| `-md126 9:126 0 1024M 0 raid1 /boot
|-sda2 8:2 0 24G 0 part
| `-md122 9:122 0 24G 0 raid1 /
|-sda3 8:3 0 15G 0 part
| `-md127 9:127 0 15G 0 raid1 /var
|-sda4 8:4 0 100G 0 part
| `-md125 9:125 0 100G 0 raid1 /home/j3doucet
|-sda5 8:5 0 100G 0 part
| `-md124 9:124 0 100G 0 raid1 /home/c2hollow
`-sda6 8:6 0 691.5G 0 part
`-md123 9:123 0 691.4G 0 raid1 /media
sdb 8:16 0 931.5G 0 disk
|-sdb1 8:17 0 1G 0 part
| `-md126 9:126 0 1024M 0 raid1 /boot
|-sdb2 8:18 0 24G 0 part
| `-md122 9:122 0 24G 0 raid1 /
|-sdb3 8:19 0 15G 0 part
| `-md127 9:127 0 15G 0 raid1 /var
|-sdb4 8:20 0 100G 0 part
| `-md125 9:125 0 100G 0 raid1 /home/j3doucet
|-sdb5 8:21 0 100G 0 part
| `-md124 9:124 0 100G 0 raid1 /home/c2hollow
`-sdb6 8:22 0 691.5G 0 part
`-md123 9:123 0 691.4G 0 raid1 /media
sdc 8:32 1 58.9G 0 disk
|-sdc1 8:33 1 19.5G 0 part /etc/resolv.conf
`-sdc2 8:34 1 39.4G 0 part
sr0 11:0 1 1024M 0 rom Everything looks fine to me, /dev/sda1 is /boot, which has the same UUID as what mdadm has for /dev/md0, which is what syslinux.cfg has been told to boot off of. I'm not sure what to do from here.
Last edited by c2hollow (2015-01-02 00:43:56)
Offline
Pure guesswork (I shouldn't do this, I know...): you have an Intel processor and you didn't see this news item:
https://www.archlinux.org/news/changes- … deupdates/
Guide for syslinux here:
https://wiki.archlinux.org/index.php/Microcode#Syslinux
If I'm wrong, please elaborate on "won't boot"
Jin, Jîyan, Azadî
Offline
I've yet to hear of any hardware that would have fatal issues from not having the ucode updates applied. So that is good advice to apply, for other reasons, but I'm pretty sure the absence of the ucode update could not cause these issues.
But I also agree that "wont boot" doesn't tell us anything.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
It's long that Arch uses rw argument on kernel command line.
You should correct your syslinux.cfg as follow.
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=LABEL="archiso:1" rw ## <<< Here's the diff
INITRD ../initramfs-linux.imgThis isn't for the fallback menu entry, you just analyze the differences and do same there.
I'm not familiar with syslinux, I just suppose you may try to test these options on-the-fly, before write them permanently. So when the syslinux menu will appear at boot time, please find the way to enter in edit mode and apply the correction. That will stay for the time you boot once. But it will ensure if it'll be good enough and do the writing later once you've booted.
do it good first, it will be faster than do it twice the saint ![]()
Offline
Is RAID1 even worth bothering with? Of course RAID5 isn't totally the thing either.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Is RAID1 even worth bothering with? Of course RAID5 isn't totally the thing either.
If you haven't got anything constructive to add to the thread, don't post drivel in it.
Offline
I saw that's RAID, but c2hollow stated it was booting previously. Anyhow see details about raid
do it good first, it will be faster than do it twice the saint ![]()
Offline
NT couldn't boot from a RAID array, but Linux has always had mdraid or madm in the kernel, so I guess it's possible. I don't think NT can even boot from a RAID1, and definitely not a RAID5. RAID5 can be implemented with just three partitions on the same disk, whereas NT has to have three separate disks. So hopefully we can pull something from the emergency shell, if OP can boot that far. Do you get the emergency shell? That'll give us some information, tell us what's mounted, what partitions and RAID partitions it can see and if you can manually mount them.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
To clarify, by "won't boot" I mean that I get the words: "boot error, no bootable media found" or something like that on my screen. I don't get access to a terminal.
Offline
Have you tried re-installing your bootloader?
Jin, Jîyan, Azadî
Offline
Have you tried re-installing your bootloader?
Thanks! I did that, and now it boots.
I think that an update somehow made syslinux incompatible with the RAID array...
Offline
Top banana!
[SOLVED] then?
Jin, Jîyan, Azadî
Offline
Can you post the list of packages you did update?
Offline
I didn't actually update any packages, I just ran:
syslinux-install_updateit seemed to automatically determine that I had a RAID array.
Offline
Pages: 1