My customized vm can't boot, it's not able to find rootfs.

Jimmy 0 Reputation points
2025-01-03T23:46:51.8333333+00:00

I have created a image based on a geneated vhd file. when I created a vm from the image, it can't boot correctly. the log as below. I have tried to convert the vhd to qcow2 and boot it on kvm, it works fine. so I'm sure the PARTUUID is correct. any idea?

[ 0.000000] Command line: BOOT_IMAGE=/boot/bzImage root=PARTUUID=becef049-f148-8646-9d7c-eb102d6b1334 console=ttyS0,115200n8 rw rootwait rw rootwait swiotlb=500000

[ 0.000000] KERNEL supported cpus:

[ 0.000000] Intel GenuineIntel

[ 0.000000] AMD AuthenticAMD

[ 0.000000] Hygon HygonGenuine

[ 0.000000] Centaur CentaurHauls

[ 0.000000] zhaoxin Shanghai

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'

[ 0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'

[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256

[ 0.000000] x86/fpu: xstate_offset[5]: 832, xstate_sizes[5]: 64

[ 0.000000] x86/fpu: xstate_offset[6]: 896, xstate_sizes[6]: 512

[ 0.000000] x86/fpu: xstate_offset[7]: 1408, xstate_sizes[7]: 1024

[ 0.000000] x86/fpu: Enabled xstate features 0xe7, context size is 2432 bytes, using 'compacted' format.

[ 0.000000] signal: max sigframe size: 3632

[ 0.000000] BIOS-provided physical RAM map:

[ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable

[ 0.000000] BIOS-e820: [mem 0x00000000000c0000-0x00000000000fffff] reserved

[ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ff40fff] usable

[ 0.000000] BIOS-e820: [mem 0x000000003ff41000-0x000000003ffc8fff] reserved

[ 0.000000] BIOS-e820: [mem 0x000000003ffc9000-0x000000003fffafff] ACPI data

[ 0.000000] BIOS-e820: [mem 0x000000003fffb000-0x000000003fffefff] ACPI NVS

[ 0.000000] BIOS-e820: [mem 0x000000003ffff000-0x000000003fffffff] usable

[ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000004bfffffff] usable

[ 0.000000] NX (Execute Disable) protection: active

[ 0.000000] efi: EFI v2.70 by Microsoft

[ 0.000000] efi: ACPI=0x3fffa000 ACPI 2.0=0x3fffa014 SMBIOS=0x3ff85000 SMBIOS 3.0=0x3ff83000 MEMATTR=0x3ee3e018 RNG=0x3ff87818

[ 0.000000] efi: seeding entropy pool

[ 0.000000] random: crng init done

[ 0.000000] secureboot: Secure boot disabled

[ 0.000000] SMBIOS 3.1.0 present.

[ 0.000000] DMI: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 03/08/2024

[ 0.000000] Hypervisor detected: Microsoft Hyper-V

[ 0.000000] Hyper-V: privilege flags low 0x2e7f, high 0x3b8030, hints 0x64c2c, misc 0xed7b2

[ 0.000000] Hyper-V Host Build:20348-10.0-1-0.1633

[ 0.000000] Hyper-V: Nested features: 0xe0101

[ 0.000000] Hyper-V: LAPIC Timer Frequency: 0xc3500

[ 0.000000] Hyper-V: Using hypercall for remote TLB flush

[ 0.000000] clocksource: hyperv_clocksource_tsc_page: mask: 0xffffffffffffffff max_cycles: 0x24e6a1710, max_idle_ns: 440795202120 ns

[ 0.000002] tsc: Marking TSC unstable due to running on Hyper-V

[ 0.000006] tsc: Detected 2095.169 MHz processor

[ 0.000032] last_pfn = 0x4c0000 max_arch_pfn = 0x400000000

[ 0.000068] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT

[ 0.000096] last_pfn = 0x40000 max_arch_pfn = 0x400000000

[ 0.019676] Using GB pages for direct mapping

[ 0.019951] secureboot: Secure boot disabled

[ 0.019955] ACPI: Early table checksum verification disabled

[ 0.019961] ACPI: RSDP 0x000000003FFFA014 000024 (v02 VRTUAL)

[ 0.019967] ACPI: XSDT 0x000000003FFF90E8 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.019977] ACPI: FACP 0x000000003FFF8000 000114 (v06 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.019986] ACPI: DSDT 0x000000003FFD6000 01E184 (v02 MSFTVM DSDT01 00000001 MSFT 05000000)

[ 0.019992] ACPI: FACS 0x000000003FFFE000 000040

[ 0.019997] ACPI: OEM0 0x000000003FFF7000 000064 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020003] ACPI: SPCR 0x000000003FFF6000 000050 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020008] ACPI: WAET 0x000000003FFF5000 000028 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020014] ACPI: APIC 0x000000003FFD5000 000068 (v04 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020019] ACPI: SRAT 0x000000003FFD4000 0001B0 (v02 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020025] ACPI: BGRT 0x000000003FFD3000 000038 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020030] ACPI: FPDT 0x000000003FFD2000 000034 (v01 VRTUAL MICROSFT 00000001 MSFT 00000001)

[ 0.020034] ACPI: Reserving FACP table memory at [mem 0x3fff8000-0x3fff8113]

[ 0.020037] ACPI: Reserving DSDT table memory at [mem 0x3ffd6000-0x3fff4183]

[ 0.020039] ACPI: Reserving FACS table memory at [mem 0x3fffe000-0x3fffe03f]

[ 0.020040] ACPI: Reserving OEM0 table memory at [mem 0x3fff7000-0x3fff7063]

[ 0.020042] ACPI: Reserving SPCR table memory at [mem 0x3fff6000-0x3fff604f]

[ 0.020043] ACPI: Reserving WAET table memory at [mem 0x3fff5000-0x3fff5027]

[ 0.020044] ACPI: Reserving APIC table memory at [mem 0x3ffd5000-0x3ffd5067]

[ 0.020046] ACPI: Reserving SRAT table memory at [mem 0x3ffd4000-0x3ffd41af]

[ 0.020048] ACPI: Reserving BGRT table memory at [mem 0x3ffd3000-0x3ffd3037]

[ 0.020049] ACPI: Reserving FPDT table memory at [mem 0x3ffd2000-0x3ffd2033]

[ 0.020179] SRAT: PXM 0 -> APIC 0x00 -> Node 0

[ 0.020182] SRAT: PXM 0 -> APIC 0x01 -> Node 0

[ 0.020185] SRAT: PXM 0 -> APIC 0x02 -> Node 0

[ 0.020188] SRAT: PXM 0 -> APIC 0x03 -> Node 0

[ 0.020193] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x3fffffff] hotplug

[ 0.020198] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x4bfffffff] hotplug

[ 0.020203] ACPI: SRAT: Node 0 PXM 0 [mem 0x4c0200000-0xfdfffffff] hotplug

[ 0.020207] ACPI: SRAT: Node 0 PXM 0 [mem 0x1000000000-0xffffffffff] hotplug

[ 0.020211] ACPI: SRAT: Node 0 PXM 0 [mem 0x10000200000-0x1ffffffffff] hotplug

[ 0.020215] ACPI: SRAT: Node 0 PXM 0 [mem 0x20000200000-0x3ffffffffff] hotplug

[ 0.020219] ACPI: SRAT: Node 0 PXM 0 [mem 0x40000200000-0x7ffffffffff] hotplug

[ 0.020223] ACPI: SRAT: Node 0 PXM 0 [mem 0x80000200000-0xfffffffffff] hotplug

[ 0.020229] NUMA: Node 0 [mem 0x00000000-0x3fffffff] + [mem 0x100000000-0x4bfffffff] -> [mem 0x00000000-0x4bfffffff]

[ 0.020252] NODE_DATA(0) allocated [mem 0x4bffd5000-0x4bfffefff]

[ 0.020937] Zone ranges:

[ 0.020938] DMA [mem 0x0000000000001000-0x0000000000ffffff]

[ 0.020941] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]

[ 0.020943] Normal [mem 0x0000000100000000-0x00000004bfffffff]

[ 0.020946] Device empty

[ 0.020947] Movable zone start for each node

[ 0.020951] Early memory node ranges

[ 0.020951] node 0: [mem 0x0000000000001000-0x000000000009ffff]

[ 0.020954] node 0: [mem 0x0000000000100000-0x000000003ff40fff]

[ 0.020956] node 0: [mem 0x000000003ffff000-0x000000003fffffff]

[ 0.020957] node 0: [mem 0x0000000100000000-0x00000004bfffffff]

[ 0.020961] Initmem setup node 0 [mem 0x0000000000001000-0x00000004bfffffff]

[ 0.020967] On node 0, zone DMA: 1 pages in unavailable ranges

[ 0.021005] On node 0, zone DMA: 96 pages in unavailable ranges

[ 0.023230] On node 0, zone DMA32: 190 pages in unavailable ranges

[ 0.057290] ACPI: PM-Timer IO Port: 0x408

[ 0.057308] ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])

[ 0.057734] IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23

[ 0.057739] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)

[ 0.057747] ACPI: Using ACPI (MADT) for SMP configuration information

[ 0.057771] ACPI: SPCR: console: uart,io,0x3f8,115200

[ 0.057775] smpboot: Allowing 4 CPUs, 0 hotplug CPUs

[ 0.057801] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]

[ 0.057806] PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000bffff]

[ 0.057809] PM: hibernation: Registered nosave memory: [mem 0x000c0000-0x000fffff]

[ 0.057814] PM: hibernation: Registered nosave memory: [mem 0x3ee94000-0x3ee9afff]

[ 0.057819] PM: hibernation: Registered nosave memory: [mem 0x3ff41000-0x3ffc8fff]

[ 0.057822] PM: hibernation: Registered nosave memory: [mem 0x3ffc9000-0x3fffafff]

[ 0.057825] PM: hibernation: Registered nosave memory: [mem 0x3fffb000-0x3fffefff]

[ 0.057830] PM: hibernation: Registered nosave memory: [mem 0x40000000-0xffffffff]

[ 0.057834] [mem 0x40000000-0xffffffff] available for PCI devices

[ 0.057838] Booting paravirtualized kernel on Hyper-V

[ 0.057842] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns

[ 0.057857] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1

[ 0.058249] percpu: Embedded 60 pages/cpu s208896 r8192 d28672 u524288

[ 0.058283] Hyper-V: PV spinlocks enabled

[ 0.058286] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes, linear)

[ 0.058293] Built 1 zonelists, mobility grouping on. Total pages: 4127002

[ 0.058295] Policy zone: Normal

[ 0.058297] Kernel command line: BOOT_IMAGE=/boot/bzImage root=PARTUUID=becef049-f148-8646-9d7c-eb102d6b1334 console=ttyS0,115200n8 rw rootwait rw rootwait swiotlb=500000

[ 0.058393] Unknown kernel command line parameters "BOOT_IMAGE=/boot/bzImage", will be passed to user space.

[ 0.060883] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)

[ 0.062140] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)

[ 0.062246] mem auto-init: stack:off, heap alloc:on, heap free:off

[ 0.062251] software IO TLB: Cannot allocate buffer

[ 0.106391] Memory: 16424840K/16776068K available (16393K kernel code, 4472K rwdata, 5848K rodata, 3216K init, 6484K bss, 350968K reserved, 0K cma-reserved)

[ 0.106534] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1

[ 0.106548] Kernel/User page tables isolation: enabled

[ 0.106568] ftrace: allocating 49343 entries in 193 pages

[ 0.135453] ftrace: allocated 193 pages with 3 groups

[ 0.135603] rcu: Hierarchical RCU implementation.

[ 0.135605] rcu: RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=4.

[ 0.135607] Rude variant of Tasks RCU enabled.

[ 0.135608] Tracing variant of Tasks RCU enabled.

[ 0.135610] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.

[ 0.135611] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4

[ 0.140350] Using NULL legacy PIC

[ 0.140352] NR_IRQS: 524544, nr_irqs: 456, preallocated irqs: 0

[ 0.141027] Console: colour dummy device 80x25

[ 0.687238] printk: console [ttyS0] enabled

[ 0.689534] ACPI: Core revision 20210730

[ 0.691710] Failed to register legacy timer interrupt

[ 0.694403] APIC: Switch to symmetric I/O mode setup

[ 0.697808] Hyper-V: Using IPI hypercalls

[ 0.700071] Hyper-V: Using enlightened APIC (xapic mode)

[ 0.700201] Calibrating delay loop (skipped), value calculated using timer frequency.. 4190.33 BogoMIPS (lpj=8380676)

[ 0.704195] pid_max: default: 32768 minimum: 301

[ 0.704195] LSM: Security Framework initializing

[ 0.704195] landlock: Up and running.

[ 0.704195] Yama: becoming mindful.

[ 0.704195] AppArmor: AppArmor initialized

[ 0.704195] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)

[ 0.704195] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)

[ 0.704195] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8

[ 0.704195] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4

[ 0.704195] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization

[ 0.704195] Spectre V2 : Mitigation: Retpolines

[ 0.704195] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch

[ 0.704195] RETBleed: WARNING: Spectre v2 mitigation leaves CPU vulnerable to RETBleed attacks, data leaks possible!

[ 0.704195] RETBleed: Vulnerable

[ 0.704195] Speculative Store Bypass: Vulnerable

[ 0.704195] MDS: Mitigation: Clear CPU buffers

[ 0.704195] TAA: Mitigation: Clear CPU buffers

[ 0.704195] MMIO Stale Data: Vulnerable: Clear CPU buffers attempted, no microcode

[ 0.704195] Freeing SMP alternatives memory: 44K

[ 0.704195] smpboot: CPU0: Intel(R) Xeon(R) Platinum 8171M CPU @ 2.60GHz (family: 0x6, model: 0x55, stepping: 0x4)

[ 0.704391] Performance Events: unsupported p6 CPU model 85 no PMU driver, software events only.

[ 0.708243] rcu: Hierarchical SRCU implementation.

[ 0.711406] NMI watchdog: Perf NMI watchdog permanently disabled

[ 0.712304] smp: Bringing up secondary CPUs ...

[ 0.715151] x86: Booting SMP configuration:

[ 0.716210] .... node #0, CPUs: #1

[ 0.716732] MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.

[ 0.720206] TAA CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/tsx_async_abort.html for more details.

[ 0.724200] MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.

[ 0.728484] #2 #3

[ 0.728970] smp: Brought up 1 node, 4 CPUs

[ 0.732202] smpboot: Max logical packages: 1

[ 0.734633] smpboot: Total of 4 processors activated (16761.35 BogoMIPS)

[ 0.737426] devtmpfs: initialized

[ 0.738165] x86/mm: Memory block size: 128MB

[ 0.741416] ACPI: PM: Registering ACPI NVS region [mem 0x3fffb000-0x3fffefff] (16384 bytes)

[ 0.744271] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[ 0.748221] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)

[ 0.752067] pinctrl core: initialized pinctrl subsystem

[ 0.752676] PM: RTC time: 23:34:02, date: 2025-01-03

[ 0.755890] NET: Registered PF_NETLINK/PF_ROUTE protocol family

[ 0.756754] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations

[ 0.760627] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations

[ 0.764612] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations

[ 0.768216] audit: initializing netlink subsys (disabled)

[ 0.771481] audit: type=2000 audit(1735947241.068:1): state=initialized audit_enabled=0 res=1

[ 0.771481] thermal_sys: Registered thermal governor 'fair_share'

[ 0.772209] thermal_sys: Registered thermal governor 'bang_bang'

[ 0.775772] thermal_sys: Registered thermal governor 'step_wise'

[ 0.776203] thermal_sys: Registered thermal governor 'user_space'

[ 0.779347] thermal_sys: Registered thermal governor 'power_allocator'

[ 0.780216] EISA bus registered

[ 0.784218] cpuidle: using governor ladder

[ 0.786566] cpuidle: using governor menu

[ 0.788279] ACPI: bus type PCI registered

[ 0.790453] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5

[ 0.794234] Kprobes globally optimized

[ 0.796275] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages

[ 0.800203] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages

[ 0.804318] ACPI: Added _OSI(Module Device)

[ 0.808219] ACPI: Added _OSI(Processor Device)

[ 0.810722] ACPI: Added _OSI(3.0 _SCP Extensions)

[ 0.812209] ACPI: Added _OSI(Processor Aggregator Device)

[ 0.816203] ACPI: Added _OSI(Linux-Dell-Video)

[ 0.818799] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)

[ 0.820202] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)

[ 0.836935] ACPI: 1 ACPI AML tables successfully acquired and loaded

[ 0.841129] ACPI: Interpreter enabled

[ 0.843246] ACPI: PM: (supports S0 S5)

[ 0.844208] ACPI: Using IOAPIC for interrupt routing

[ 0.846848] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

[ 0.848201] PCI: Using E820 reservations for host bridge windows

[ 0.851447] ACPI: Enabled 1 GPEs in block 00 to 0F

[ 0.853355] iommu: Default domain type: Translated

[ 0.856205] iommu: DMA domain TLB invalidation policy: lazy mode

[ 0.859783] SCSI subsystem initialized

[ 0.860230] vgaarb: loaded

[ 0.861644] ACPI: bus type USB registered

[ 0.863858] usbcore: registered new interface driver usbfs

[ 0.864214] usbcore: registered new interface driver hub

[ 0.867308] usbcore: registered new device driver usb

[ 0.868230] pps_core: LinuxPPS API ver. 1 registered

[ 0.871070] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,569 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Goud Juvvadi 1,955 Reputation points Microsoft External Staff
    2025-01-06T09:37:54.0433333+00:00

    Hi Jimmy,

    Thank you for reaching out to the Microsoft Q&A platform.

    Could you please confirm Azure Linux Agent (waagent) was installed and configured properly before cloning the image If not can you please install the agent and try.

    If you still face issue, please let us know in the comments. We are happy to assist you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.