How to start subiquity in qemu on ARM64?How do I install qemu?GTX1080 gpu passthrough QemuUpdating Ubuntu's...
Would this string work as string?
"Oh no!" in Latin
Reasons for having MCU pin-states default to pull-up/down out of reset
Capacitor electron flow
Checking @@ROWCOUNT failing
categorizing a variable turns it from insignificant to significant
Pre-Employment Background Check With Consent For Future Checks
C++ lambda syntax
Why is indicated airspeed rather than ground speed used during the takeoff roll?
Why is "la Gestapo" feminine?
Trouble reading roman numeral notation with flats
How do you justify more code being written by following clean code practices?
Should a narrator ever describe things based on a character's view instead of facts?
Why can't I get pgrep output right to variable on bash script?
Are hand made posters acceptable in Academia?
Showing mass murder in a kid's book
What do the positive and negative (+/-) transmit and receive pins mean on Ethernet cables?
Reason why a kingside attack is not justified
How would a solely written language work mechanically
Why is implicit conversion not ambiguous for non-primitive types?
Walter Rudin's mathematical analysis: theorem 2.43. Why proof can't work under the perfect set is uncountable.
Friend wants my recommendation but I don't want to give it to him
What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?
Why is participating in the European Parliamentary elections used as a threat?
How to start subiquity in qemu on ARM64?
How do I install qemu?GTX1080 gpu passthrough QemuUpdating Ubuntu's ARM64 toolchainLibvirt Qemu passwordHow to run armhf executables on an arm64 system?Compile deb packages in arm64Qemu vs. Xen(Qemu): virsh can't find qemuUbuntu 17.10 won't start on QEMUqemu arm64 emulation on host x86, it stuck when booting kernelI can't start my linux in qemu-vm
I would like to run the Ubuntu installer in qemu. I have used the kernel from the respective Ubuntu CD images and have verified my command line using the AMD64 architecture:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-amd64.iso >linux
$ qemu-system-x86_64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyS0"
-machine pc -cpu qemu64 -m 1G
[ 0.0000000] Linux version 4.15.0-44-generic ..
However, when I try the same thing for ARM64 architecture (not my host arch):
$ qemu-system-aarch64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-arm64.iso >linux
$ qemu-system-aarch64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyAMA0"
-machine virt -cpu cortex-a53 -m 1G
I get zero output at 100% cpu usage. How can i determine what went wrong?
Executing with -d unimp -D debug.log
reveals:
read access to unsupported AArch64 system register op0:3 op1:0 crn:0 crm:7 op2:2
16.04 virtualization qemu arm64
add a comment |
I would like to run the Ubuntu installer in qemu. I have used the kernel from the respective Ubuntu CD images and have verified my command line using the AMD64 architecture:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-amd64.iso >linux
$ qemu-system-x86_64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyS0"
-machine pc -cpu qemu64 -m 1G
[ 0.0000000] Linux version 4.15.0-44-generic ..
However, when I try the same thing for ARM64 architecture (not my host arch):
$ qemu-system-aarch64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-arm64.iso >linux
$ qemu-system-aarch64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyAMA0"
-machine virt -cpu cortex-a53 -m 1G
I get zero output at 100% cpu usage. How can i determine what went wrong?
Executing with -d unimp -D debug.log
reveals:
read access to unsupported AArch64 system register op0:3 op1:0 crn:0 crm:7 op2:2
16.04 virtualization qemu arm64
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
@ChristianEhrhardt afaik-M
is just a deprecated Alias for-machine
(which i did use), and-kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)
– anx
Feb 11 at 11:53
add a comment |
I would like to run the Ubuntu installer in qemu. I have used the kernel from the respective Ubuntu CD images and have verified my command line using the AMD64 architecture:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-amd64.iso >linux
$ qemu-system-x86_64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyS0"
-machine pc -cpu qemu64 -m 1G
[ 0.0000000] Linux version 4.15.0-44-generic ..
However, when I try the same thing for ARM64 architecture (not my host arch):
$ qemu-system-aarch64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-arm64.iso >linux
$ qemu-system-aarch64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyAMA0"
-machine virt -cpu cortex-a53 -m 1G
I get zero output at 100% cpu usage. How can i determine what went wrong?
Executing with -d unimp -D debug.log
reveals:
read access to unsupported AArch64 system register op0:3 op1:0 crn:0 crm:7 op2:2
16.04 virtualization qemu arm64
I would like to run the Ubuntu installer in qemu. I have used the kernel from the respective Ubuntu CD images and have verified my command line using the AMD64 architecture:
$ qemu-system-x86_64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-amd64.iso >linux
$ qemu-system-x86_64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyS0"
-machine pc -cpu qemu64 -m 1G
[ 0.0000000] Linux version 4.15.0-44-generic ..
However, when I try the same thing for ARM64 architecture (not my host arch):
$ qemu-system-aarch64 --version
QEMU emulator version 2.5.0 ..
$ isoinfo -R -x "/install/vmlinuz" -i bionic-server-arm64.iso >linux
$ qemu-system-aarch64 -nodefaults -nographic -kernel linux
-serial stdio -append "console=ttyAMA0"
-machine virt -cpu cortex-a53 -m 1G
I get zero output at 100% cpu usage. How can i determine what went wrong?
Executing with -d unimp -D debug.log
reveals:
read access to unsupported AArch64 system register op0:3 op1:0 crn:0 crm:7 op2:2
16.04 virtualization qemu arm64
16.04 virtualization qemu arm64
asked Feb 9 at 7:34
anxanx
1,20111332
1,20111332
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
@ChristianEhrhardt afaik-M
is just a deprecated Alias for-machine
(which i did use), and-kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)
– anx
Feb 11 at 11:53
add a comment |
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
@ChristianEhrhardt afaik-M
is just a deprecated Alias for-machine
(which i did use), and-kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)
– anx
Feb 11 at 11:53
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
@ChristianEhrhardt afaik
-M
is just a deprecated Alias for -machine
(which i did use), and -kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)– anx
Feb 11 at 11:53
@ChristianEhrhardt afaik
-M
is just a deprecated Alias for -machine
(which i did use), and -kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)– anx
Feb 11 at 11:53
add a comment |
1 Answer
1
active
oldest
votes
Just upgrade your system.
Both AMD64 and ARM64 kernels start exactly as attempted in question using QEMU emulator version 3.1.0
Note that the command line is not exactly the same though, console=ttyS0
translates to console=ttyAMA0
on ARM. To really start subiquity, add -initrd initrd -cdrom bionic-server-arm64.iso
- extract using
isoinfo -R -x "/install/initrd.gz" -i bionic-server-arm64.iso >initrd
(verify results - isoinfo will not fail verbosely) - loading from ISO will be slow, adding virtio & more cores may result in significant speedup
- when adding a preseed file, note the cdrom mount location, e.g.
file=/cdrom/preseed/example.seed
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116867%2fhow-to-start-subiquity-in-qemu-on-arm64%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just upgrade your system.
Both AMD64 and ARM64 kernels start exactly as attempted in question using QEMU emulator version 3.1.0
Note that the command line is not exactly the same though, console=ttyS0
translates to console=ttyAMA0
on ARM. To really start subiquity, add -initrd initrd -cdrom bionic-server-arm64.iso
- extract using
isoinfo -R -x "/install/initrd.gz" -i bionic-server-arm64.iso >initrd
(verify results - isoinfo will not fail verbosely) - loading from ISO will be slow, adding virtio & more cores may result in significant speedup
- when adding a preseed file, note the cdrom mount location, e.g.
file=/cdrom/preseed/example.seed
add a comment |
Just upgrade your system.
Both AMD64 and ARM64 kernels start exactly as attempted in question using QEMU emulator version 3.1.0
Note that the command line is not exactly the same though, console=ttyS0
translates to console=ttyAMA0
on ARM. To really start subiquity, add -initrd initrd -cdrom bionic-server-arm64.iso
- extract using
isoinfo -R -x "/install/initrd.gz" -i bionic-server-arm64.iso >initrd
(verify results - isoinfo will not fail verbosely) - loading from ISO will be slow, adding virtio & more cores may result in significant speedup
- when adding a preseed file, note the cdrom mount location, e.g.
file=/cdrom/preseed/example.seed
add a comment |
Just upgrade your system.
Both AMD64 and ARM64 kernels start exactly as attempted in question using QEMU emulator version 3.1.0
Note that the command line is not exactly the same though, console=ttyS0
translates to console=ttyAMA0
on ARM. To really start subiquity, add -initrd initrd -cdrom bionic-server-arm64.iso
- extract using
isoinfo -R -x "/install/initrd.gz" -i bionic-server-arm64.iso >initrd
(verify results - isoinfo will not fail verbosely) - loading from ISO will be slow, adding virtio & more cores may result in significant speedup
- when adding a preseed file, note the cdrom mount location, e.g.
file=/cdrom/preseed/example.seed
Just upgrade your system.
Both AMD64 and ARM64 kernels start exactly as attempted in question using QEMU emulator version 3.1.0
Note that the command line is not exactly the same though, console=ttyS0
translates to console=ttyAMA0
on ARM. To really start subiquity, add -initrd initrd -cdrom bionic-server-arm64.iso
- extract using
isoinfo -R -x "/install/initrd.gz" -i bionic-server-arm64.iso >initrd
(verify results - isoinfo will not fail verbosely) - loading from ISO will be slow, adding virtio & more cores may result in significant speedup
- when adding a preseed file, note the cdrom mount location, e.g.
file=/cdrom/preseed/example.seed
answered 30 mins ago
anxanx
1,20111332
1,20111332
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116867%2fhow-to-start-subiquity-in-qemu-on-arm64%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Don't you always need to set -M and prepare a pflash and such for arm64, like described here ?
– Christian Ehrhardt
Feb 11 at 7:10
@ChristianEhrhardt afaik
-M
is just a deprecated Alias for-machine
(which i did use), and-kernel
an arch independent shortcut for "put this into ram and jump to it" (which should circumvent all issues from bootloader/EFI)– anx
Feb 11 at 11:53