Mail archive
alpine-user

Re: [alpine-user] Custom partitioning - cannot get alpine to boot

From: Neoklis Kyriazis <nkcyham_at_yahoo.com>
Date: Fri, 11 May 2018 14:22:15 +0000 (UTC)

Hi
Thanks for trying to help, apologies for naive posting ;-)


I am trying the 3.7.0 release of Alpine of 2017-11-30. I have not enablededge repositories and I (eventually) succeeded with a default installation
following setup-alpine. The problem occured when I tried an installation
with a manual custom partition. All looks installed, but according to docs
I am reponsible for setting up the boot loader manually. This is what I
failed to do, don't know enough.

I used the grml rescue disk to collect the info below:

Here is the output from fdisk -l /dev/sda:

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   234441647   117220823+  ee  GPT


Here is the output of parted -l:

Model: ATA KINGSTON SV300S3 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 1      2097kB  50.3MB  48.2MB  ext2            primary
 2      50.3MB  5000MB  4949MB  linux-swap(v1)  primary
 3      5000MB  15.0GB  10.0GB  ext4            primary
 4      15.0GB  25.0GB  10.0GB  ext4            primary
 5      25.0GB  50.0GB  25.0GB  ext4            primary
 6      50.0GB  100GB   50.0GB  ext4            primary

sda1 is the boot partition, sda3 the root partition and sda5 is home.
Other partitions may be used for dual-booting if needed.


Here is the listing of /dev/sda (the /boot partition).

boot_at_                ldlinux.c32   lost+found/            vesamenu.c32
config-hardened     ldlinux.sys   mboot.c32                vmlinuz-hardened
extlinux.conf        libcom32.c32  menu.c32
initramfs-hardened  libutil.c32   System.map-hardened

Here is the content of extlinux.conf:
# Generated by update-extlinux 6.04_pre1-r1
DEFAULT menu.c32
PROMPT 0
MENU TITLE Alpine/Linux Boot Menu
MENU HIDDEN
MENU AUTOBOOT Alpine will be booted automatically in # seconds.
TIMEOUT 30
LABEL hardened
  MENU DEFAULT
  MENU LABEL Linux hardened
  LINUX vmlinuz-hardened
  INITRD initramfs-hardened
  APPEND root=UUID=4c981da2-57cc-4e87-84a5-ea2e443d4370 modules=sd-mod,usb-storage,ext4 nomodeset quiet rootfstype=ext4

MENU SEPARATOR


The boot process stalls right at the beginning, e.g. the bios doesn't find
a boot loader on sda (the SSD) so it tries the other alternatives (cdrom
and PXE boot) and then it stops, asking me to reboot and select another
boot device.

--Best Regards
Neoklis - Ham Radio Call:5B4AZ
http://www.5b4az.org/



---
Unsubscribe:  alpine-user+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-user+help_at_lists.alpinelinux.org
---
Received on Fri May 11 2018 - 14:22:15 GMT