Alpine iso scripts failing

4 posts / 0 new
Last post
#1 Wed, 2015-09-02 11:46
mrgreen
  • mrgreen's picture
  • Offline
  • Last seen: 9 months 2 weeks ago
  • Joined: 2015-07-08

Am trying to build iso using wiki guide (alpine-rescue) system is up too date but usb refuses too boot (dropped too reduced shell)

Looking at iso contents /sbin/init is missing (or at least link is), my system is linked too /bin/busybox. Have not touched configs or Makefile in any way so am confused as to why it does not work.

Can give more information as required...

Tue, 2015-09-08 10:13
ScrumpyJack
  • ScrumpyJack's picture
  • Offline
  • Last seen: 6 months 3 weeks ago
  • Joined: 2013-06-20

You'll find the init script here /usr/share/mkinitfs/initramfs-init on a alpine linux install

Try pointing to Makefile to it explicitly, by replacing

$(INITFS): $(INITFS_DIRSTAMP) $(MODLOOP_DIRSTAMP
@mkinitfs -F "$(INITFS_FEATURES)" -t $(INITFS_TMP)

with

$(INITFS): $(INITFS_DIRSTAMP) $(MODLOOP_DIRSTAMP)
@mkinitfs -i /usr/share/mkinitfs/initramfs-init -F "$(INITFS_FEATURES)" -t $(INITFS_TMP)

Wed, 2015-09-09 08:46
mrgreen
  • mrgreen's picture
  • Offline
  • Last seen: 9 months 2 weeks ago
  • Joined: 2015-07-08

Well iso stills builds but get another error while booting

Loading /boot/initramfs-grsec failed No such file or directory

Sat, 2016-12-17 03:21
huyn
  • huyn's picture
  • Offline
  • Last seen: 1 year 3 months ago
  • Joined: 2016-12-15

mrgree,

Where you ever able to build a custom ISO? I am trying as well but keep getting "Mounting boot media failed". I've have already added "alpine_dev=usbdisk:vfat" to the syslinux.cfg file, but still same results.

Cheers,

Log in or register to post comments