OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

Install fails - ONL partition sizing during install

Open saborski opened this issue 2 years ago • 1 comments

switch: arm-accton_as4610_54-r0 ONIE kernel: Linux onie 3.2.69-onie+ #1 SMP Thu Apr 13 12:12:13 CST 2017 armv7l GNU/Linux image desired to install: latest-DEB9-ARMHF-SWI.installer alternate image possibility: latest-DEB9-ARMEL-SWI.installer

during install of these (or any ONL images) these errors present:

WARNING:ubinfo -a:ONL-IMAGES: start sector 524289, end sector 2621440, max 2037760 ERROR:ubinfo -a:invalid partition ONL-IMAGES [1GiB] (too big) Install failed.

on-board disks available:

ONIE:/ # fdisk -l

Disk /dev/mtdblock0: 0 MB, 917504 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 0 MB, 65536 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/mtdblock2: 0 MB, 65536 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock2 doesn't contain a valid partition table

Disk /dev/mtdblock3: 7 MB, 7340032 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock3 doesn't contain a valid partition table

Disk /dev/sda: 1043 MB, 1043333120 bytes 33 heads, 61 sectors/track, 1012 cylinders Units = cylinders of 2013 * 512 = 1030656 bytes

Device Boot Start End Blocks Id System

Disk /dev/sdb: 8048 MB, 8048869376 bytes 248 heads, 62 sectors/track, 1022 cylinders Units = cylinders of 15376 * 512 = 7872512 bytes

Disk /dev/sdb doesn't contain a valid partition table

I'd like to point the install image to use /dev/sdb but I can't figure out how to do that, there is no obvious place that I can find in ONIE or in the image files. Anyone have an idea?

saborski avatar Dec 16 '22 11:12 saborski