Skip to content

Commit

Permalink
Fix partition table restore
Browse files Browse the repository at this point in the history
It appears that sfdisk is distructive to the bootstrap area.
  • Loading branch information
cspenceiv committed Jun 15, 2015
1 parent 11eaf55 commit 4398cab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/fog.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ function deployPartTable() {
# Restore raw partition table
dd if=$tableFile of=$diskName bs=512 count=${firstSector}

# Restore partition table entries
sfdisk $diskName < $sfdiskFile
probeParts $diskName
}

Expand Down

0 comments on commit 4398cab

Please sign in to comment.