Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 4721E782C08 for <~alpine/users@lists.alpinelinux.org>; Wed, 12 May 2021 21:48:10 +0000 (UTC) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FgT1M5nNjzDq6l for <~alpine/users@lists.alpinelinux.org>; Wed, 12 May 2021 14:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1620856087; bh=7vWYjKY6gonGd7zfjGugeXAcOJ7vYJhbOd4Kd1d9NCk=; h=Subject:To:References:From:Date:In-Reply-To:From; b=cCwtGgvkS7+fVF7TD3pxTO/WwB4xv54j+9Kksgj0Hr3PAPBFMNRm1x5zMCT4+1elE 97s1KZI7O1152UF9SjVVlo/joeyJdG09nQdHLx0VCPac5O394lMXdXlFwxOhh3z+wc Fh1bzowgVZ6woKXnDum6nrrM4PmvjFoN+5E0AuOw= X-Riseup-User-ID: 8CEE4C463179197206332C2936C73573C2784F3890E4C2ED19D57B53091BED44 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FgT1M17JKz5w2G for <~alpine/users@lists.alpinelinux.org>; Wed, 12 May 2021 14:48:06 -0700 (PDT) Subject: Re: Cannot boot from hard drive on a Pentium1 system To: ~alpine/users@lists.alpinelinux.org References: <20210509122748.pjrvxeggco77yzck@posteo.de> <20210509162830.bbueyf2kjmm6mgkq@posteo.de> <20210510202906.vt6yswflyz434w5v@posteo.de> From: Donoban Message-ID: Date: Wed, 12 May 2021 21:48:04 +0000 MIME-Version: 1.0 In-Reply-To: <20210510202906.vt6yswflyz434w5v@posteo.de> Content-Type: multipart/alternative; boundary="------------1A84C2E015361BA43A8B3C84" Content-Language: en-US This is a multi-part message in MIME format. --------------1A84C2E015361BA43A8B3C84 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 5/10/21 8:29 PM, Moritz Strohm wrote: > The boot partition is marked as bootable according to fdisk. I > chrooted from the Alpine Linux CD to the Alpine Linux on the hard > drive and executed the two commands, but without success. In the > chroot environment, the first command was: > > extlinux -i /boot > > extlinux recognised that /dev/sda1 is the boot partition (which > should be correct) and reported no errors. > > I also tried to install the alt-mbr.bin with dd, but the result is > the same. I checked that the MBR ends with the sequence 0x55 0xAA > (using dd and xxd) before making attempts to reinstall syslinux in > it. For alt-mbr.bin did you set the boot partition? 'printf '\1' | cat altmbr.bin - | dd bs=440 count=1 iflag=fullblock conv=notrunc of=/dev/sda' For /dev/sda1 according to https://wiki.syslinux.org/wiki/index.php?title=Mbr If you can boot apine from a usb, maybe you could configure it to boot your hard disk install as a workaround until fixing this. --------------1A84C2E015361BA43A8B3C84 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit On 5/10/21 8:29 PM, Moritz Strohm wrote:
> The boot partition is marked as bootable according to fdisk. I > chrooted from the Alpine Linux CD to the Alpine Linux on the hard > drive and executed the two commands, but without success. In the > chroot environment, the first command was: > > extlinux -i /boot > > extlinux recognised that /dev/sda1 is the boot partition (which > should be correct) and reported no errors. > > I also tried to install the alt-mbr.bin with dd, but the result is > the same. I checked that the MBR ends with the sequence 0x55 0xAA > (using dd and xxd) before making attempts to reinstall syslinux in > it.
For alt-mbr.bin did you set the boot partition?

'printf '\1' | cat altmbr.bin - | dd bs=440 count=1 iflag=fullblock conv=notrunc of=/dev/sda'

For /dev/sda1 according to https://wiki.syslinux.org/wiki/index.php?title=Mbr

If you can boot apine from a usb, maybe you could configure it to boot your hard disk install as a workaround until fixing this.
--------------1A84C2E015361BA43A8B3C84--