From dcfcd35f5752dbaa1419bce00f75c96939b38eee Mon Sep 17 00:00:00 2001 From: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> Date: Tue, 28 Jan 2025 21:59:59 -0600 Subject: [PATCH] Move cgpt command into it's own bash line --- pages/submarine/index.mdx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pages/submarine/index.mdx b/pages/submarine/index.mdx index 269b633..98b9a9e 100644 --- a/pages/submarine/index.mdx +++ b/pages/submarine/index.mdx @@ -74,7 +74,13 @@ sudo enable_dev_usb_boot For quick testing, you can flash `submarine-.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 -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-.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 -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-.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.