Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dbarkwell/92ea5759898234ee102b1570822e1642 to your computer and use it in GitHub Desktop.
Save dbarkwell/92ea5759898234ee102b1570822e1642 to your computer and use it in GitHub Desktop.
Pixel x86
1. Boot it from USB/DVD
2. Transfer the entire stick to your drive:
2.1. “sudo bash”
2.2. “dd if=/dev/sdb of=/dev/sda bs=1M”
3. Reboot without the stick, should boot from internal HDD_
3.1 “reboot”
4. Resize the Partition:
4.1. “sudo bash”
4.2. “fdisk /dev/sda”
4.3. print partitions with “p”
4.4. write down the beginning of partition 2
4.5. delete partition 2 with “d”, then “2”
4.6. create a new parition with “n”, primary partition, starting at the location from 4.4
4.7. write with “w”
5. Reboot:
5.1. “reboot”
6. Resize the filesystem on /dev/sda2 to fill the disk:
6.1. “sudo bash”
6.2. “resize2fs /dev/sda2”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment