You are not logged in.
Pages: 1
Topic closed
EDIT: I made this thread to ask if should use Syslinux or GRUB, but now i went with Syslinux and got another issue, i will be grateful if you can answer to it here after post #11.
How GRUB2 compares to Syslinux in terms of booting up latency?
I don't need fancy themes and icons or music with fireworks, just a bootloader that will boot into a btrfs root without menu timeouts.
I gave a try for Syslinux since it sounded more lightweight to me, but the installation was too complex and i got lost.
Installing on Btrfs root article on Archwiki shows a step to step guide for GRUB2, and im thinking to try it out.
Is there any performance loss by choosing GRUB2? should i pick it because it supports btrfs better or should i research more and keep trying until it will work with syslinux?
Thanks.
Last edited by EmigratePenguin (2012-08-09 18:48:16)
Offline
You should explain better, e.g. state what the error message is.
syslinux is simpler and easier than grub2.
Offline
I'm running syslinux with btrfs root, however I have a separate boot partition, I summed up my migration to btrfs in this thread https://bbs.archlinux.org/viewtopic.php?id=146150 it has to be reworked into simple steps that can be implemented into the wiki. Overall i think the syslinux installscript handles everything quite well.
Offline
My setup is extremely simple I believe, maybe it will also work for you:
/boot is on ext2 (could probably be on btrfs, but don't see the point)
/ is on btrfs
my bootloader is syslinux.
I don't know what you mean by syslinux being complicated to set up. It should be much simpler than GRUB2. Just install the package and run "syslinux-install_uptade -i -a -m" and edit /boot/syslinux/syslinux.cfg (here you can switch off the timeout/menu).
Offline
I tried bot Syslinux and Grub2.
Syslinux is neat, like Unetbootin - style start, and GRUB is also nice.
Speed? I think Syslinux is a tad faster? But if its worth it I don't know. Grub was so much easier to set up..
Offline
http://jasonwryan.com/blog/2012/07/09/syslinux/
This convinced me to go with syslinux vs. GRUB2, once I get around to it.
Offline
http://jasonwryan.com/blog/2012/07/09/syslinux/
This convinced me to go with syslinux vs. GRUB2, once I get around to it.
+1 to that
Courtesy of Jason Ryan, I have moved to syslinux and it was pretty simple
Offline
I just did another install to check the Beginners' Guide, and syslinux is much easier to install and configure.
Last edited by 2ManyDogs (2012-08-09 02:43:03)
Offline
I used grub legacy for years but when grub2 was introduced to replace the old grub I couldn't take it. Too complex for an old linux user. Syslinux was my answer as many others have attested. I run about ten other linux distros and winxp with syslinux and personally I find syslinux much less complicated than grub2. Blahhh to grub2
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Both of them are not that difficult to install and configure:
# pacman -S syslinux
# syslinux-install_update -iam
# nano /boot/syslinux/syslinux.cfg
# pacman -S grub-bios
# grub-install /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfg
GRUB reads from /etc/default/grub and /etc/grub.d/*, while Syslinux reads from just one, main config file, which I can honestly say that I understand much better than GRUB's autogenerated crap. Plus, I very much like the single-line approach when I hit Tab and also: https://bbs.archlinux.org/viewtopic.php … 8#p1109328
Unfortunately, Syslinux doesn't support UEFI, so if you have a relatively modern computer you'll probably want to go with grub-efi-x86_64.
Syslinux is neat, like Unetbootin...
-__-
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
So an actual description on my problem:
I followed the wiki guide on installing on Btrfs root, but instead mounting dev, proc, and sys, i pacstrap'd Base and it installed the needed directories automatically.
Now that i boot in, it blinks a little text that looks like "Missing OS" and immediately chain boots to windows.
EDIT: i have made some progress, and now there is a totally another issue on boot:
Waiting 10 seconds for (insert UUID here)
Error: Root device mounted successfully, but /sbin/init does not exist.
Bailing out, you are on your own. Good Luck
[root /]#
Something like that.
Looks like the problem is not with Syslinux anymore, any ideas on how to fix it?
Last edited by EmigratePenguin (2012-08-09 18:51:09)
Offline
bump
Offline
add 'init=/bin/systemd' to your kernel line.
see this.
Offline
Offline
EDIT: I made this thread to ask if should use Syslinux or GRUB, but now i went with Syslinux and got another issue, i will be grateful if you can answer to it here after post #11.
Moderator,
I sincerely wish you had not done that. The primary purpose of these forums is to provide technical support for Archlinux. In an ideal world, members will search the forums for answers before starting a new thread. Now, consider the hapless, but diligent member who, sometime in the future, searches for help with a missing /sbin/init condition. They find this thread -- with anticipation they click the link, and encounter a thread about the merits of Syslinux versus GRUB2.
It would have been far better to mark this thread closed, create a new thread on the new topic, and (if appropriate) cross link them.
Be considerate of your reader. Food for thought
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
If this is a fresh install of Arch and you are following the Beginner's Guide, make sure you configure syslinux.cfg to point to the root partition. By default syslinux.cfg looks at sda3. If you are following the example, you'll need need to change syslinux.cfg to point to sda1.
The step in question is under the Syslinux setup section.
I ran into this error and figured out that I skipped a step when I was following the install instructions.
Hope it helps someone in the future!
Matt
Offline
It is not written anywhere, but for me it has works something like that.
Configure syslinux.cfg
LABEL arch
MENU LABEL Arch Linux
APPEND boot=/dev/sda1 ro #this is the /boot Partition
APPEND root=/dev/sda2 ro #this is the / Partition
LINUX ../vmlinuz-linux
INITRD ../initramfs-linux.img
Excuse my bad english.
Offline
andre167, you should remove the first APPEND line. Or leave it in, if you want; it's ignored anyway.
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
You're right.
As it has for me not only works, because at first the /boot partition and not the / stand partition.
I have just accidentally configuriert right.
Except for the boot = line that does nothing.
Thanks for the help
Offline
Waiting 10 seconds for (insert UUID here) Error: Root device mounted successfully, but /sbin/init does not exist. Bailing out, you are on your own. Good Luck [root /]#
Something like that.
Looks like the problem is not with Syslinux anymore, any ideas on how to fix it?
Do you have a pure systemd install?
If you do you need to make sure you have this package installed.
pacman -S systemd-sysvcompat
If you do not have a pure systemd install, make sure you have these packages installed.
pacman -S initscripts sysvinit
https://wiki.archlinux.org/index.php/Sy … stallation
The only time I have seen that error is when I was moving to systemd and for some reason thought that I could un-install the systemd-sysvcompat package.
In other words. It looks like your problem is that you don't have /sbin/init
However,... it should be installed by defualt from installation media newer than 2012-10-13.
Last edited by hunterthomson (2012-12-26 07:18:06)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
after https://wiki.archlinux.org/index.php/Archbootstrap and pacman -S linux os-prober and update grub (/boot for arch and debian fixing uuid)
i get
Error: Root device mounted successfully, but /sbin/init does not exist
#13 works for me
Thanks
Offline
Looks like that script doesn't install systemd-sysvcompat, which provides the /sbin/init symlink to /usr/lib/systemd/systemd. You might want to file a bug report and/or use pacstrap in the future.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Following the installation wiki entry (including use of pacstrap), syslinux still provides a booby trap. On a new system (which uses systemd of course), you'll wind up with an unbootable system. The only place mentioning the required kernel parameter is this forum thread. That should probably be in bold on the syslinux entry.
Offline
Following the installation wiki entry (including use of pacstrap), syslinux still provides a booby trap. On a new system (which uses systemd of course), you'll wind up with an unbootable system. The only place mentioning the required kernel parameter is this forum thread. That should probably be in bold on the syslinux entry.
There is no "required kernel parameter" not already in the wiki unless you don't install the entire base group. If you do that, you're on your own anyway.
Let this thread die, and read up on the forum rules about necrobumping.
Last edited by Scimmia (2015-08-02 03:01:41)
Offline
Let this thread die, and read up on the forum rules about necrobumping.
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing
Offline
Pages: 1
Topic closed