Skip to content

instructions in wrong order ? #4

Open
@carlfarrington

Description

@carlfarrington

Hi.
Surely those instructions are in the wrong order?

You seem to be creating the newMBR and newPBR (merging original MBR with boot0ss, to retain partition table), after writing to the disk. The merged MBR and PBR don't ever get written to the disk.
Or am I being stupid?

$ sudo dd if=newPBR of="/dev/sda1" bs=512 count=1
$ sudo dd if=newMBR of="/dev/sda" bs=512 count=1 conv=nocreat,notrunc
$ sudo dd if=origPBR of=newPBR skip=3 seek=3 bs=1 count=87 conv=notrunc
$ sudo dd if=boot0af of=newMBR bs=440 count=1 conv=notrunc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions