Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 68AD578100A for <~alpine/users@lists.alpinelinux.org>; Sun, 27 Mar 2022 02:58:32 +0000 (UTC) Received: by mail-qk1-f182.google.com with SMTP id p25so8929278qkj.10 for <~alpine/users@lists.alpinelinux.org>; Sat, 26 Mar 2022 19:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=ltYOi+de8/sMQSOuJto8kIGh9UIbHM0jpDQYaUn+vDA=; b=hL5VBWxYnM2Ckys2e47mP6Z70IzrZ5Y3YJzCpoAHlzf0v1YyJuESDrIANq5/yCYJol KOt/YBtbaF9TNmwTzma5MnOCvNpgYOEYqm/Z5+WlOFAma1htI6Jw5LVv3k/psj4Orusb rTy3tv7oGKyDZ50ystRazYLvxHrt8wwghIE4gKB/gGCpX9wqAbUJsZN+WjrIVeCf+2Fz BtNaDg6glPXDpkzWslpmvWWXSW/7n/QnqS9lbZwBjrFmnYXcNJaD6xy3hQzyllo6Gntg hN/jtdNuktQ9pbSJ0wMGHFZMPsUUdFd23UqmEV/XZ5CWZaMAM8D/4ih0ecvZzPMCyydm w5dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ltYOi+de8/sMQSOuJto8kIGh9UIbHM0jpDQYaUn+vDA=; b=CYv1moI+gQGZtSEO3IcmVr/zbunQKQlUHy7VS6RIbT9ThqeEtpJ9q4iNn7tTVA1ucl rMymmegPmSYriqDb4sn80YpTnq6m4aM89YrNZ8v8jOa/hO6Sm74b+mE0eaOfzt1utvHM cJLsEQHkUvJMcSMNDB2hqAIalsxavTAN8wZL1u5nGP8tWnP6rGtUgYqaKKdrBM6lZFoj ORvVU9I8e0QGe3LtRir7Mh9VVGQ5OAPeGItBsmgpwnJLztvRrAbDkZ6DVqdrC2eHLPyp TvXDUfEjNIsuhGSYBk1SOQ4fsE4w98kBF2dueRuLagvJGKMEAB3FZ/nzU+9OyuLB21Gi hiTA== X-Gm-Message-State: AOAM531m+RBlrGPzR5BFW5I0l7OhIZgxsalDX42hkWew7GDGzjmW1rwZ tqfLJhllTcELzxNHWLNaeNdibxDILt3YAYopfxtFfTW20Gg= X-Google-Smtp-Source: ABdhPJw/CnSFD7o8XXEoSAq9ksmRYLNfLj502COLq2hFCp5lHPPJ1N6qdr8Rw7sopqHcB1HwVOxAY3l6kXjQMlogY10= X-Received: by 2002:a05:620a:2946:b0:67b:3039:89c with SMTP id n6-20020a05620a294600b0067b3039089cmr11943608qkp.388.1648349910698; Sat, 26 Mar 2022 19:58:30 -0700 (PDT) MIME-Version: 1.0 From: Parke Date: Sat, 26 Mar 2022 19:57:55 -0700 Message-ID: Subject: Install with manual partitioning results in syslinux error: "Failed to load ldlinux.c32" To: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Running inside a Qemu virtual machine, I am trying to install Alpine Linux onto a manually partitioned 4gb disk that contains only a single ext4 root partition. (No swap, no /boot.) Syslinux loads, but prints the following error message: SYSLINUX 6.04 EDD [snip] Failed to load ldlinux.c32 Boot failed: please change disks and press a key to continue. Does anyone have any idea what I might be doing wrong? I boot alpine-extended-3.15.1-x86_64.iso in Qemu, and then run the following commands: # apk add sfdisk # echo 2048 | sfdisk /dev/sda # sfdisk --activate /dev/sda 1 # apk add e2fsprogs # mdev -s # mkfs.ext4 /dev/sda1 # mount -t ext4 /dev/sda1 /mnt # setup-alpine # and select the defaults for everything # setup-disk /mnt >> Installing system on /dev/sda1 >> extlinux: Not a directory: /mnt/boot >> 100% >> => initramfs: creating /boot/initramfs-lts >> /boot is device /dev/sda1 >> extlinux: no previous syslinux boot sector found >> You might need to fix the MBR to be able to boot >> Boot attempt #1: >> Booting from Hard Disk... So I run the following: # cat /usr/share/syslinux/mbr.bin > /dev/sda >> Boot attempt #2: >> Booting from Hard Disk... >> Missing operating system. >> Booting from Floppy... >> Boot failed: could not read the boot disk >> [snip] So I run the following: # extlinux --install /mnt/boot >> /mnt/boot is device /dev/sda1 >> Boot attempt #3: >> Booting from Hard Disk... >> >> SYSLINUX 6.04 EDD [snip] >> >> Failed to load ldlinux.c32 >> Boot failed: please change disks and press a key to continue. If I let setup-alpine partition the disk, then the boot will succeed.