Getting Arch to boot after install (Syslinux)

 So, it installed on a new hdd. Faster this time as it was a newer drive.
BUT!

It didn't work. Closer inspection showed that it tried to mount the wrong partition:

/dev/sda3

But I only have 2 partitions as I'm using the MBR (not an UEFI compatible motherboard):

/dev/sda1 (swap)

and 

/dev/sda2 (linux)


Retracing my steps through the install guide:

https://wiki.archlinux.org/title/installation_guide

and then onto the Syslinux page:

https://wiki.archlinux.org/title/Syslinux


I find this line:

Warning: The syslinux-install_update script sets a default root partition that possibly will not match your particular system. It is important to point Syslinux to the correct root partition by editing /boot/syslinux/syslinux.cfg, or the OS will fail to boot.

"Oh, I don't think I edited that file before" I say to myself. 

Sure enough looking in there, the references are to /dev/sda3. Changing them to /dev/sda2 meant that on a restart the system booted perfectly. Niiiice.


Comments

Popular posts from this blog

Getting networking going with new Archlinux installation

Partitioning using command line and parted

Raspberry PI fun with a second hand B+... setting up wifi