Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加uefi启动 #101

Merged
merged 9 commits into from
Dec 9, 2022
Merged

Conversation

YJwu2023
Copy link
Collaborator

@YJwu2023 YJwu2023 commented Dec 8, 2022

No description provided.

tools/write_disk_image.sh Outdated Show resolved Hide resolved
tools/write_disk_image.sh Show resolved Hide resolved
-machine accel=${qemu_accel}
;;
legacy)
sudo qemu-system-x86_64 -d ../bin/disk.img -m 512M -smp 2,cores=2,threads=1,sockets=1 \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这两个选项直接合并,并且qemu-system-x86_64之前不需要sudo. 提示权限被拒绝的原因是当前用户不在kvm用户组。只需在控制台输入

USR=$USER
sudo adduser $USR kvm
sudo chowm $USR /dev/kvm

这个加到bootstrap.sh的末尾即可

Makefile Outdated Show resolved Hide resolved
tools/create_hdd_image.sh Outdated Show resolved Hide resolved
@fslongjin fslongjin merged commit 7f439c5 into DragonOS-Community:master Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants