Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] Fwd: https://filesender.renater.fr/?s=download&token=618af1e5-b6a2-4927-8cb6-2d64a524ff07

Subject: Rare project developers

List archive

Re: [rare-dev] Fwd: https://filesender.renater.fr/?s=download&token=618af1e5-b6a2-4927-8cb6-2d64a524ff07


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>
  • Cc: "" <>, Frédéric LOUI <>
  • Subject: Re: [rare-dev] Fwd: https://filesender.renater.fr/?s=download&token=618af1e5-b6a2-4927-8cb6-2d64a524ff07
  • Date: Fri, 3 Mar 2023 08:26:16 +0100

letsmeet.hu/astershit sometime today? XD

On 3/3/23 08:22, Alexander Gall wrote:

Comments inline

On Thu, 2 Mar 2023 19:27:10 +0100, mc36 <> said:

ONIE:/ # onie-nos-install
http://files.mchome.nop.hu/inet/barefoot/onie-installer-asterfusion-20230302.bin
Notice: Invalid TLV header found. Using default contents.
Notice: Invalid TLV checksum found. Using default contents.
Info: Attempting
http://files.mchome.nop.hu/inet/barefoot/onie-installer-asterfusion-20230302.bin
...
Connecting to files.mchome.nop.hu (10.10.10.10:80)
installer 100%
|**********************************************************************|
545M 0:00:00 ETA
Verifying image checksum ... OK.
Preparing image archive ... OK.

Installing RARE-OS on /dev/sda
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 75EFDF55-FDBA-46F3-AAB5-1DB979567124
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 249283181 sectors (118.9 GiB)

Number Start (sector) End (sector) Size Code Name
1 2048 526335 256.0 MiB EF00 EFI System
2 526336 788479 128.0 MiB 3000 ONIE-BOOT

Checking disk space

Creating partition /dev/sda3
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 75EFDF55-FDBA-46F3-AAB5-1DB979567124
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number Start (sector) End (sector) Size Code Name
1 2048 526335 256.0 MiB EF00 EFI System
2 526336 788479 128.0 MiB 3000 ONIE-BOOT
3 788480 250069646 118.9 GiB 8300 RARE-OS

Formatting root partition
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: done
Creating filesystem with 31160145 4k blocks and 7790592 inodes
Filesystem UUID: 9e3f4c2b-0bb2-4ff1-b204-fc83d95d443e
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632,
2654208,
4096000, 7962624, 11239424, 20480000, 23887872

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done


Unpacking rootfs

Fixing timestamps in Nix store

Executing post-install command
Unsupported platform: switch_os
/nix/var/nix/profiles/RARE cannot be activated

The code for this is here:
https://github.com/alexandergall/bf-sde-nixpkgs/blob/master/bf-sde/support/installers/onie/post-install-cmd.nix

The assumption is that /etc/machine.conf (on the ONIE partition)
contains a valid "onie_machine" variable. This should be the ONIE
identifier of the device, e.g. "accton_wedge100bf_32x". In this case,
I expected it to be "asterfusion_x312p" but it appears to be
"switch_os". Can you please show me the full contents of
/etc/machine.conf? I'll have to ask the Asterfusion guys about this.

Hoever, this should not prevent that the install completes. It simply
does not activate RARE (via "release-manager --activate").

Installing GRUB
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-8-amd64
Found initrd image: /boot/initrd.img-5.10.0-8-amd64
done
Installing for x86_64-efi platform.
grub-install: warning: EFI variables are not supported on this system..
Installation finished. No error reported.

Updating EFI boot order
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0002,0001,2001,2002,2003,0000
Boot0000* SATA SSD
Boot0001* ONIE Linux
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0002* RARE-OS
Connection closed by foreign host.
mc36@noti:~$
mc36@noti:~$

So did the rest work and the system booted ok?

--
Alex



Archive powered by MHonArc 2.6.24.

Top of Page