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

[devices]: Fix arista-convertfs for aligning flash via sfdisk in Jessie #2402

Merged
merged 1 commit into from
Dec 28, 2018

Conversation

shawnli-van
Copy link

The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.

- What I did
Use "-u S --force" option to perform flash repartitioning so that 1M aligning is achieved with start=2048 sectors. "--force" is needed otherwise old sfdisk in Jessie will complain the aligning
scheme.

- How I did it

- How to verify it
Install the image on arista 7050 then reboot the box to verify the repartitioning of flash is fine. The first partition in the table should start with 2048 sectors.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.
@lguohan lguohan merged commit 6bf252f into sonic-net:201807 Dec 28, 2018
shawnli-van added a commit to shawnli-van/sonic-buildimage that referenced this pull request Dec 31, 2018
…ie (sonic-net#2402)

The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.
lguohan pushed a commit that referenced this pull request Dec 31, 2018
…ie (#2402) (#2406)

The sfdisk in Jessie use unit Cylinder by default. To perform 1M
aligning partition, 2048 sector unit is desirable instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants