Posted on March 18, 2019 10:41 pm
 |  Asked by Brian Jankovich
Print Friendly, PDF & Email

I’ve recently acquired an Arista 1u switch that does not have an operating system. I do see a 4Gb /dev/sda disk in the system but there are no partitions on it. What steps need to be taken to get a partition on the disk again and operating system loaded to it?

Posted by Upasana Dangi
Answered on March 18, 2019 10:58 pm

Hi Brian.

Thanks for reaching out. Could you paste the outputs of “bash df -h” and “ls -ltra /mnt/flash/” here.

The EOS image should be copied to the /mnt/flash drive if you are loading the EOS from the switch.

Posted by Harold Hall
Answered on March 21, 2019 10:02 pm

Boot into Aboot then use fdisk and mkfs.vfat

Specifically use fdisk on /dev/sda to create a DOS disklabel and a new primary partition 1 across the entire disk, make it bootable, and write the new partitions to the disk.
Then use mkfs.vfat on the new /dev/sda1 to create a filesystem.

At that point you can load an EOS image via the network or a usb stick and boot it with:
Aboot# cd; boot /mnt/driveWithEos/EOS.swi

Now that you have a system that can boot into EOS, there are some configuration files that you probably need and hopefully Upasana Dangi, above, can help you with that.

Post your Answer

You must be logged in to post an answer.