fix typo
This commit is contained in:
parent
3fcf27e867
commit
11333f1e19
@ -17,7 +17,7 @@ I use a MacBook Pro (mid-2014) with macOS, so I need to have a virtual machine f
|
|||||||
I create a virtual machine with Archlinux on my macOS using QEMU:
|
I create a virtual machine with Archlinux on my macOS using QEMU:
|
||||||
|
|
||||||
1. [Download the Archlinux iso image](https://archlinux.org/download/)
|
1. [Download the Archlinux iso image](https://archlinux.org/download/)
|
||||||
2. Create a qemu disk:
|
2. Create a qemu disk
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
qemu-img create disk.img 15G
|
qemu-img create disk.img 15G
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
@ -29,15 +29,15 @@ qemu-system-x86_64 -cdrom archlinux-2021.11.01-x86_64.iso -boot order=d -drive f
|
|||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
qemu-system-x86_64 -boot -drive format=raw,file=disk.img -m 8G -smp cpus=4 -net user,hostfwd=tcp::2222-:22 -net nic
|
qemu-system-x86_64 -boot -drive format=raw,file=disk.img -m 8G -smp cpus=4 -net user,hostfwd=tcp::2222-:22 -net nic
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
5. Install dependencies for building the kernel:
|
5. Install dependencies for building the kernel
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
pacman -S gcc git make
|
pacman -S gcc git make
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
6. Clone linux:
|
6. Clone linux
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
|
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
7. necessary dependencies
|
7. Install the necessary dependencies for building the kernel
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
pacman -S flex base-devel xmlto kmod inetutils bc libelf git cpio perl tar xz
|
pacman -S flex base-devel xmlto kmod inetutils bc libelf git cpio perl tar xz
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
Loading…
Reference in New Issue
Block a user