File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
articles/virtual-machines/linux Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -180,8 +180,10 @@ The [Azure Linux Agent](../extensions/agent-linux.md) `waagent` provisions a Lin
180
180
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
181
181
```
182
182
1. Add Hyper-V modules both initrd and initramfs instructions (Dracut).
183
- 1. Rebuild initrd or initramfs
183
+ 1. Rebuild `initrd` or `initramfs`.
184
+
184
185
**Initramfs**
186
+
185
187
```bash
186
188
cp /boot/initramfs-$(uname -r).img /boot/initramfs-[latest kernel version ].img.bak
187
189
dracut -f -v /boot/initramfs-[latest kernel version ].img [depending on the version of grub]
@@ -190,6 +192,7 @@ The [Azure Linux Agent](../extensions/agent-linux.md) `waagent` provisions a Lin
190
192
```
191
193
192
194
** Initrd**
195
+
193
196
``` bash
194
197
mv /boot/[initrd kernel] /boot/[initrd kernel]-old
195
198
mkinitrd /boot/initrd.img-[initrd kernel]-generic /boot/[initrd kernel]-generic-old
You can’t perform that action at this time.
0 commit comments