When I use qemu to boot my VM with official kernel image and initrd dowmloaded from ubuntu official webset, it works well, but when I build the kernel from source, and replace the kernel image with my own built one (the initrd was still the official one), the OS can still boot, but cloud-init can't set the user's password correctly. so I can't login to my OS anymore.
cloud-init didn't work with my self-built kernel image
203 Views Asked by Myrfy At
1
There are 1 best solutions below
Related Questions in UBUNTU
- Error: local variable 'bramka' referenced before assignment
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Can't connect to local postgresql server from my docker container
- How to install libfuse2 on Ubuntu 22.04
- Error when trying to execute a binary compiled in a Kali Linux machine on an Ubuntu system
- Can anyoone help me with this problem while trying to install hadoop on ubuntu?
- Ubuntu wsl2 in windows, my /etc/fonts/fonts.conf keeps reloading
- psutil.sensors.temperatures() only delivers {}
- Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired
- Viber is not working on Ubuntu 22.04 Jammy
- why is ubuntu 18.4 still showing as a linux subsystem when i have uninstalled it?
- Why when I want to open a folder from Visual Studio Code does the screen go crazy?
- What is this error when trying to update Ubuntu?
- Angular on IONOS(?) throws an error with npm
- Tensorflow can't find TensoRT
Related Questions in LINUX-KERNEL
- Android kernel error: undefined reference to `get_hw_version_platform'
- Is there a need for BPF Linux namespace?
- Facing fatal errors while running "yum update" command on CentOS 7/Cloudlinux 7
- crash utility itself crashes while decoding kdump generated from null pointer dereference in kernel module
- How to compile the Linux kernel with -O0 for more detailed debug?
- Linux support for parallel Pixel data Image sensor
- Can't upgrade to newest version of linux-image-6.5.0-26-generic
- How to protect a page so that it cannot be write in mips arch?
- How to extract the .img file into normal kernel source file in the linux?
- Storage size of struct hash_desc desc; isn't known
- How can I intercept failed file openning calls?
- struct nameidata-Linux Kernel Module
- How to modify a 'struct msghdr' in Linux Kernel Module?
- How to allocate 500MB+ physically contiguous memory in a Linux kernel module and copy data to that memory from a userspace process?
- Hyper Threading: nosmt in grub configuration
Related Questions in CLOUD
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Does MS Word secretly upload my file to cloud?
- i was installing cloudstack and ended up in this error can anyone help me?
- Merge Azure mp4 blobs via API (Preferred Azure)
- What's the best practice to use OceanBase in cloud environment
- JSON representation of the current Terraform configuration
- I can't ssh to my instance, Connection refused
- Publish Vue.js + ASP.NET Core on Azure
- Why can CPU memory be specified and allocated during instance creation but not GPU memory on the cloud?
- AWS rekognition faces search
- SAP Cloud Connector
- Well isolated DB storage for each user
- how to upload multiple files and pictures to s3 while keeping the record in database?
- Error syncing Google Calendar, when i login with the account in the flutter project
- how to make public IP works on ec2 machine
Related Questions in QEMU
- How to call a C language function from x86 assembly code?
- How can i get the vector register information in RVV0.7.1 when debugging with QEMU6.2?
- What's the difference between the '-' and '.' in the decode of RISCV instructions in QEMU?
- QEMU i386 pmio addresses
- How to reduce the size of the Android Studio virtual device folder
- Why is there a difference in memory writes when my qemu runs directly and when debugging the img with GDB?
- General Protection Fault encountered when executing SYSRET
- Property '.readonly' not found
- How to set breakpoints in Visual Studio Code for debugging kernel code running in QEMU?
- virt-manager printing to from windows 7 guest to Ubuntu host network printer
- How to connect internet within a qemu(linux based) running on a linux based host machine with company proxy server
- How does one debug the KVM subsystem?
- Android emulator memory exceeds the limit when using the swiftshader_indirect gpu
- Passing Intel-PT to guest using QEMU/KVM doesn't work
- QEMU emulator for Radxa Rock 5B
Related Questions in CLOUD-INIT
- Cloud-init conf for Ununtu Server 22.04 late-commands take no effec
- Error: codedeploy-agent.service Unit codedeploy-agent.service could not be found
- Cloud-init is not able to find the data source
- Terraform / cloud-init waiting for http proxy
- aws user_data with ec2 instance, github actions runner ./config.sh file not running when --unattended flag is used
- which to choose in Azure VM terraform - custom data, VM extension resource or provisioner to install packages and softwares via commands
- How to set hostname in multiple Ubuntu VMs with Cloud-Init taken from VM name deployed with Terraform
- Use cloud-init to change root password before first login
- How to properly escape special characters in cloud-init runcmd section?
- instantiate VM with file inside
- How to pass GitHub Action secrets into Terraform Azure VM Custom Data?
- How to use cloud-init with debian Vagrant boxes?
- Terraform: Windows cloud-init is unable to provision files from Parameter Store
- cloud-init didn't work with my self-built kernel image
- Cloud-init 18.5 module execution fails before creating the SSH keys
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is not a problem with cloud-init obviously, but to get started debugging you might compare
/var/log/cloud-init.logbetween the working and non-working kernels.If you are running cloud-init multiple times on the same system, don't forget that a
cloud-init clean --logsis required to get cloud-init to rerun fully since cloud-init doesn't run all module every boot.