Skip to content
Snippets Groups Projects
Commit b94edc07 authored by Christopher Spinrath's avatar Christopher Spinrath
Browse files

image_assemble: fix unit of partition offset (bytes->sectors)

parent b87386e6
No related branches found
No related tags found
No related merge requests found
......@@ -401,7 +401,7 @@ $(GRUB_ASSEMBLE_DIR)/grub.i386-pc : | $(WORKSPACE)
image_assemble: $(IMAGE_FILE)
$(IMAGE_FILE): $(IMAGE_PART_FILE)
ddrescue --output-position=2048 --sparse "$(IMAGE_PART_FILE)" "$@"
ddrescue --output-position=2048s --sparse "$(IMAGE_PART_FILE)" "$@"
#sfdisk: start, as large as possible, FAT, bootable
echo -e "label: dos\nunit: sectors\n2048,+,b,*"\
| sfdisk "$@"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment