Skip to content

Commit 7bbe983

Browse files
committed
Formatting of Initramfs section
1 parent f125f61 commit 7bbe983

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/virtual-machines/linux/create-upload-generic.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,10 @@ The [Azure Linux Agent](../extensions/agent-linux.md) `waagent` provisions a Lin
180180
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
181181
```
182182
1. Add Hyper-V modules both initrd and initramfs instructions (Dracut).
183-
1. Rebuild initrd or initramfs
183+
1. Rebuild `initrd` or `initramfs`.
184+
184185
**Initramfs**
186+
185187
```bash
186188
cp /boot/initramfs-$(uname -r).img /boot/initramfs-[latest kernel version ].img.bak
187189
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
190192
```
191193

192194
**Initrd**
195+
193196
```bash
194197
mv /boot/[initrd kernel] /boot/[initrd kernel]-old
195198
mkinitrd /boot/initrd.img-[initrd kernel]-generic /boot/[initrd kernel]-generic-old

0 commit comments

Comments
 (0)