Skip to content

Commit

Permalink
Merge pull request #131 from Owen-sz/patch-4
Browse files Browse the repository at this point in the history
Move cgpt command into it's own bash line
  • Loading branch information
nothingneko authored Jan 29, 2025
2 parents 23ea238 + dcfcd35 commit 5829a5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/submarine/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ sudo enable_dev_usb_boot

For quick testing, you can flash `submarine-<arch>.bin` to an external drive. This image includes a partition table already set up for booting ChromeOS kernels.

Alternatively, you can create your own partition to install submarine to. Start by creating a 16mb EXT4 partition. Next you will edit the partition flags to tell depthcharge that you can boot from that partition by running `cgpt add -i <partition number> -t kernel -P 15 -T 1 -S 1 /dev/sdX`. As always, substitute in the correct values for your drive. You can then flash `submarine-<arch>.kpart` to the partition you just created.
Alternatively, you can create your own partition to install submarine to. Start by creating a 16mb EXT4 partition. Next you will edit the partition flags to tell depthcharge that you can boot from that partition by running the following command:

```bash
cgpt add -i <partition number> -t kernel -P 15 -T 1 -S 1 /dev/sdX
```

As always, substitute in the correct values for your drive. You can then flash `submarine-<arch>.kpart` to the partition you just created.

After installing submarine to an external drive, plug in your drive with submarine to your ChromeOS device. On the developer mode screen, press Ctrl + U to boot from external storage. If all goes well, you should soon see the submarine boot menu.

Expand Down

0 comments on commit 5829a5f

Please sign in to comment.