diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-28 15:37:35 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2022-01-28 19:05:52 +0200 |
commit | fcdd56633bdbfa6ffa0b75df864705d552223abf (patch) | |
tree | be43e7f2c9e97c484b02b15bded460f5bec794a6 | |
parent | bd5662d6f23395a8a91ecff026c04d9a0e8ea41f (diff) | |
download | serenity-fcdd56633bdbfa6ffa0b75df864705d552223abf.zip |
Meta: Set correct boot drive when running with SERENITY_NVME_ENABLE
-rwxr-xr-x | Meta/run.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/run.sh b/Meta/run.sh index f02a7e05bc..9ac8c97b4c 100755 --- a/Meta/run.sh +++ b/Meta/run.sh @@ -201,6 +201,7 @@ else SERENITY_BOOT_DRIVE="-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk,if=none,id=disk" SERENITY_BOOT_DRIVE="$SERENITY_BOOT_DRIVE -device i82801b11-bridge,id=bridge4 -device sdhci-pci,bus=bridge4" SERENITY_BOOT_DRIVE="$SERENITY_BOOT_DRIVE -device nvme,serial=deadbeef,drive=disk,bus=bridge4" + SERENITY_KERNEL_CMDLINE="$SERENITY_KERNEL_CMDLINE root=/dev/nvme0n1" else SERENITY_BOOT_DRIVE="-drive file=${SERENITY_DISK_IMAGE},format=raw,index=0,media=disk" fi |