Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails - ONL partition sizing during install #925

Open
saborski opened this issue Dec 16, 2022 · 1 comment
Open

Install fails - ONL partition sizing during install #925

saborski opened this issue Dec 16, 2022 · 1 comment

Comments

@saborski
Copy link

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?

@nosignal
Copy link

If the /dev/sda in your post is an USB thumb drive. I believed you could plugin the USB device after you boot into ONIE install mode, and the local disk should be recognized as /dev/sda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants