You are not logged in.

#1 2013-04-20 14:34:33

HomelessFooser
Member
From: United States
Registered: 2013-04-09
Posts: 5

Syslinux not working

Fresh install of Arch, installed Syslinux as the bootloader, and i'm getting the "FATAL: No bootable medium detected", of course.

I looked at syslinux.cfg through a live disk, however, and found that every time I change it to /sda2 (my root partition) through said live disk, I get "FATAL" error message and after I umount the live disk and when I go back to check the file again, I see this. I don't even have an /sda3.

 LABEL arch
         LINUX ../vmlinuz-linux
         APPEND root=/dev/sda3 ro
         INITRD ../initramfs-linux.img
 
 LABEL archfallback
         LINUX ../vmlinuz-linux
         APPEND root=/dev/sda3 ro
         INITRD ../initramfs-linux-fallback.img

Please help, I want to hurry up and figure this out so I can get a good UNIX dev environment to program on!

Last edited by HomelessFooser (2013-04-20 14:37:53)

Offline

#2 2013-04-20 14:38:57

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: Syslinux not working

How are you editing /boot/syslinux/syslinux.cfg and are you positive that you're saving the changes each time?

Offline

#3 2013-04-20 14:42:05

HomelessFooser
Member
From: United States
Registered: 2013-04-09
Posts: 5

Re: Syslinux not working

I edit it with nano through a live disk. And yes, I thought I was that dumb after a while, too. But I double checked after I thought about it and the changes did save, yet the file still changed on me like a ghost after rebooting.

Offline

#4 2013-04-20 14:52:46

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: Syslinux not working

Also, 'umount the live disk', surely you mean umount the mounted partition that's home to syslinux.cfg, you're not inadvertently trying to edit files that're on the live disk?

Offline

#5 2013-04-20 15:04:35

HomelessFooser
Member
From: United States
Registered: 2013-04-09
Posts: 5

Re: Syslinux not working

No, sorry for mixing terms. I mean metaphorically "take out the live disk", because i'm using a VBox.

Offline

#6 2013-04-21 01:21:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Syslinux not working

First, as opt1mus said, make sure you are editing /mnt/boot/syslinux/syslinux.cfg, not /boot/syslinux/syslinux.cfg.

However, the append line is irrelevant - your bios isn't even starting syslinux.  I'm guessing it was never installed to the MBR.

Did you run syslinux-install_update -i -a -m from the chroot?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2013-04-21 12:30:34

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Syslinux not working

HomelessFooser wrote:

Please help, I want to hurry up and figure this out so I can get a good UNIX dev environment to program on!

Archlinux takes some time and patience. If you want to get a UNIX dev environment you can download complete images for virtualbox that allow you to start working immediately.
Just as an example:
http://virtualboxes.org/images/ubuntu/

Offline

#8 2013-04-22 10:01:55

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Syslinux not working

HomelessFooser wrote:

I don't even have an /sda3.

Well, "/dev/sda3" is the default setting from the syslinux package when you install it (click where it says "Download From Mirror").

And see: https://wiki.archlinux.org/index.php/Be … e#Syslinux

This step is vital. If it points to the wrong partition, Arch Linux will not boot. Change /dev/sda3 to reflect your root partition

If the file is being edited but not saved, power off the VM instead of closing the window with the X button - which is the equivalent of a power outage:

# poweroff

This makes sure that the drives are being unmounted before shutting down, and that no information is lost along the way or kept in the journal.

And make sure that the boot order is correct, by right clicking the VM - Settings - System - Boot Order.

You may also want to check if the boot flag is set up on the right partition, using 'fdisk -l' (or 'gdisk -l' for GPT) from a LiveCD. Because Syslinux very much cares about the boot flag, while GRUB doesn't.


"How to Succeed with Linux"

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

Board footer

Powered by FluxBB