USB does not boot with Alpine 2.7
Hi
On Alpine 2.5.4 I ran setup-bootable using an Alpine 2.7.0 ISO against a USB flash drive. These errors were generated, based on the fact that syslinux.cfg has now moved to /boot/syslinux/.
server1:~# setup-bootable -v alpine-2.7.0-x86_64.iso /media/usb/
Using /dev/sdd1 as target (mounted on /media/usb)
Copying alpine-2.7.0 131108 to /dev/sdd1 (mounted on /media/usb)
Available space: 7606 MiB
du: syslinux.cfg: No such file or directory
Needed space: 257 MiB
Copying /mnt/boot to /media/usb/.new/
Copying /mnt/apks to /media/usb/.new/
Copying /mnt/syslinux.cfg to /media/usb/.new/
cp: can't stat '/mnt/syslinux.cfg': No such file or directory
Copying /mnt/.alpine-release to /media/usb/.new/
Flushing cache...
Replacing existing files...
Updating syslinux.cfg to use /dev/sdd1
sed: /media/usb/.new/syslinux.cfg: No such file or directory
mv: can't rename '/media/usb/.new/syslinux.cfg': No such file or directory
Failed to move /media/usb/.new/ to /media/usb
server1:~# ls -l /media/usb/
total 4
drwxr-xr-x 3 root root 2048 Nov 8 14:13 apks
drwxr-xr-x 3 root root 2048 Nov 8 14:11 boot
However, I carried on regardless and tried to boot from the USB drive. However, my box was unable to detect any master boot record on the USB flash drive, and the BIOS prompted me to remove any drives and press any key to continue the boot process.
So guess booting from USB doesn’t work? Or is this a part of the problem with upgrading from earlier versions of Alpine to 2.7 seeing as the location of syslinux.cfg has now changed and older versions of setup-bootable don’t know how to handle?
Thanks for looking into this!
Duane Hughes
(from redmine: issue id 2363, created on 2013-11-19, closed on 2013-12-09)
- Changesets:
- Revision a79c9088 by Natanael Copa on 2013-12-06T16:22:30Z:
main/alpine-conf: fix creating boot usb of v2.7
ref #2363
- Revision 548abc28 by Natanael Copa on 2013-12-06T16:50:02Z:
main/alpine-conf: fix creating boot usb of v2.7
ref #2363
- Revision f0e96577 by Natanael Copa on 2013-12-06T16:51:54Z:
main/alpine-conf: fix creating boot usb of v2.7
fixes #2363