Commit graph

11 commits

Author SHA1 Message Date
James Hartshorn
e6900006b0 Added a delay before mkfs command to fix error "The file /dev/sda1 does not exist and no size was specified." 2016-07-06 21:16:39 +01:00
Brennen Bearnes
70b9ef1b09 v0.1.0 2015-06-08 16:20:41 -06:00
Brennen Bearnes
2b444a88b6 use target drive in place of hardcoded /dev/sda per #1
Nice catch, @ScotchTape.
2015-06-08 16:16:39 -06:00
Brennen Bearnes
8c4810a70f tweak dependency installation message 2015-04-13 07:29:38 -06:00
Brennen Bearnes
2ae267e7b6 additional comments / links 2015-04-13 06:12:36 +00:00
Brennen Bearnes
9cb0086352 (y)es / (n)o in prompt 2015-04-13 05:35:40 +00:00
Brennen Bearnes
b290a11335 use "Partition unique GUID" from gdisk / GPT
Ok, so the only way I was able to get this was using gdisk, and then only
after I switched from fdisk to parted for creating the partition.  (The
latter _seems_ way better, 'cause it takes scripted commands as arguments
and does atomic operations, but there may be weirdness I don't understand.)

I don't really understand the different between this value and the one you can
get with blkid and tune2fs (which seem to give me the same thing).  I'm kind
of awed there's no good way to just get this from a reasonable CLI interface.

The state of tooling and documentation around this stuff is _completely awful_.
2015-04-13 01:02:28 +00:00
Brennen Bearnes
82563e1ab7 use parted instead of fdisk 2015-04-12 23:45:13 +00:00
Brennen Bearnes
42f2441b90 better logging, prompt before taking action 2015-04-12 17:10:15 -06:00
Brennen Bearnes
5d11af50e7 better sed of cmdline.txt 2015-04-11 22:13:57 +00:00
Brennen Bearnes
e90f24bcd0 initial pass at script, README.md 2015-04-10 22:07:55 +00:00