From c1d2b4c1896fc58681e1a7e718e97b08e03a5b5c Mon Sep 17 00:00:00 2001 From: Fraxinas Date: Mon, 13 Jul 2009 11:39:24 +0200 Subject: [PATCH] try deleting 4 primary partitions before creating new partition table --- lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py index 6d404cf..6292a46 100644 --- a/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py +++ b/lib/python/Plugins/SystemPlugins/NFIFlash/downloader.py @@ -494,7 +494,7 @@ class NFIDownload(Screen): self.taskstring = "" self.container.appClosed.append(self.fdisk_finished) self.container.execute("fdisk " + self.stickdevice + "/disc") - self.container.write("d\nn\np\n1\n\n\nt\n6\nw\n") + self.container.write("d\n4\nd\n3\nd\n2\nd\nn\np\n1\n\n\nt\n6\nw\n") self.delayTimer = eTimer() self.delayTimer.callback.append(self.progress_increment) self.delayTimer.start(105, False) -- 2.7.4