You are not logged in.
Pages: 1
Topic closed
Hi!
Today i wanted to remove grub2 and give syslinux a try.(yes it seems easier than grub2, more like grub-legacy was).
Following the wiki, i installed the syslinux package, then:
syslinux-install_update -iamBut this returned "syslinux install failed".
I have no separated /boot, everything is mounted in / . I installed syslinux a month ago on my brother's netbook, and everything went good.
Any idea/ help to debug?
Thanks!
Offline
Read on, the next section of the syslinux wiki takes you through a manual install. Any errors trying that?
Offline
Yes i know i can follow that part.
I'm just wondering why automatic install isn't working, and how to debug (may be it is a bug, and it could be useful if i could provide more info).
Offline
Well I think if you went through the manual install, it might give a better indication of why it may be failing (if it fails via the manual install). Then I think that would be a decent start at debugging, yeah? Basically, the auto install is doing the manual install just w/o your interaction. So start there and see what kind of info that brings. Heck, naybe it will simply work and you won't have to worry about it.
Offline
Well, following your tip, i was trying to make a manual installation.
But i'm already stuck at
mkdir /boot/syslinuxIt says that dir already exists. And yes, it already exists!
Because it already exists, i tried the next command:
extlinux --install /boot/syslinux But other error:
extlinux: cannot find device for path /boot/syslinux
extlinux: cannot open device (null)Any idea?
Offline
Post the output of "fdisk -l diska diskb ..." (i.e. for all attached disks ) and "mount".
Offline
I've only sda (one hdd) .
Here it is:
fdisk -l /dev/sda
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 testine, 63 settori/tracce, 30401 cilindri, totale 488397168 settori
Unità = sectors di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x0007ef70
Dispositivo Boot Start End Blocks Id System
/dev/sda1 63 483990254 241995096 83 Linux
/dev/sda2 483990255 488333311 2171528+ 82 Linux swap / Solaris
/dev/sda3 488333312 488396799 31744 ef EFI (FAT-12/16/32)and
mount
/dev/root on / type ext4 (rw,noatime,nodelalloc,commit=600,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1029164k,nr_inodes=220052,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=20,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
/var/log on /var/log type tmpfs (rw,noatime,nodiratime,mode=755)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=614400k)
gvfs-fuse-daemon on /run/user/1000/gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)Offline
Easy. Start your live CD. If you have just one Partition on your first drive for everthing mount /dev/sda1 to mount with "mount /dev/sda1 /mnt" do "syslinux-install_update -i -a -m -c /mnt". Enter. Done.
Last edited by blackout23 (2012-09-13 09:41:14)
Offline
That could be a solution. But i'm wondering why i'm having this kind of troubles. Perhaps it's a bug, and i should report it...
EDIT: I guess it is somehow related to :
We refused to do this, and our syslinux always worked. But with our latest
toolchain, we keep breaking syslinux. Using 'make installer' should leave
us on the safe side.
(https://projects.archlinux.org/svntogit … cf972e0244)
Last edited by nierro (2012-09-13 10:13:42)
Offline
I think you just forgot to mount the root partition.
From a 2012 Arch install media:
# mount /dev/sdxY /mnt
# arch-chroot /mnt
# syslinux-install_update -iamDone.
Then adjust syslinux.cfg (/boot/syslinux/syslinux.cfg) to point to the right partition (unless your root partition really is /dev/sda3), and reboot.
Last edited by DSpider (2012-09-13 10:29:17)
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
That's ok, i understand.
But let me tell you again: i'm wondering why it won't work when i'm logged in my arch.
By the way, i'll probably to that, thanks.
Offline
I agree with Dspider
i'm wondering why it won't work when i'm logged in my arch.
I think extlinux is finding out what partition "/boot" is. In your case it is the same as "/" so "mount" shows extlinux .... that / is on a device called root. If you add an entry for /dev/sda1 and / in /etc/fstab it may let you proceed, e.g. I have
$ grep root /etc/fstab /etc/mtab
/etc/fstab:/dev/mapper/secret-root / ext4 defaults 0 1
/etc/mtab:rootfs / rootfs rw 0 0
/etc/mtab:/dev/mapper/secret-root / ext4 rw,relatime,data=ordered 0 0(my / is under lvm so imagine "/dev/mapper/secret-root" as "/dev/sda1" and I actually have a separate /boot I only mount when updating)
Last edited by vacant (2012-09-13 10:59:57)
Offline
i got the same error while trying to change from the grub bootloader to extlinux in the linux pc.
To resolve that i passed the device name while installing the bootloader like below.
./extlinux --install /boot/extlinux --device /dev/sda1
This resolved the issue.
Offline
Welcome to our forums angelg. Please note that we prefer to leave the dead in peace around here: https://wiki.archlinux.org/index.php/Fo … Bumping.22
Closing.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Pages: 1
Topic closed