Skip to content

Commit

Permalink
create filesystem on partition 1 (#182)
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Deitcher <[email protected]>
  • Loading branch information
deitch authored Apr 28, 2023
1 parent d57a597 commit 7c7049c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/efi_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func CreateEfi(diskImg string) {
*/
kernel, err := os.ReadFile("/some/kernel/file")

spec := diskpkg.FilesystemSpec{Partition: 0, FSType: filesystem.TypeFat32}
spec := diskpkg.FilesystemSpec{Partition: 1, FSType: filesystem.TypeFat32}
fs, err := disk.CreateFilesystem(spec)

// make our directories
Expand Down

0 comments on commit 7c7049c

Please sign in to comment.