summaryrefslogtreecommitdiff
path: root/README.usbkey
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-30 23:31:14 +0000
committerhpa <hpa>2004-12-30 23:31:14 +0000
commit8b75a78e3a95cede1fa22cd4ad2c1252f2e4d4fa (patch)
tree4123b4fc1bab12c50c1b4f4ff48f92f5455ba444 /README.usbkey
parent6358f50e7436a1779a6c5c3518938a76cbf0184f (diff)
downloadsyslinux-8b75a78e3a95cede1fa22cd4ad2c1252f2e4d4fa.tar.gz
Add code to automatically determine the size of the device.
Diffstat (limited to 'README.usbkey')
-rw-r--r--README.usbkey5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.usbkey b/README.usbkey
index 4154cce5..7dd551e5 100644
--- a/README.usbkey
+++ b/README.usbkey
@@ -37,7 +37,10 @@ example above), and, if your USB key is /dev/sda (CHECK THE KERNEL
MESSAGES CAREFULLY - IF YOU ENTER THE WRONG DISK DRIVE IT CANNOT BE
RECOVERED), run:
- mkdiskimage -4 /dev/sda 31 64 32
+ mkdiskimage -4 /dev/sda 0 64 32
+
+(The 0 means automatically determine the size of the device, and -4
+means mimic a zipdisk by using partition 4.)
Then you should be able to run