sudo time make -j4 bzImage -> make a kernel without modules
sudo time make -j4 - > make a kernel with modules
sudo time make modules_install -> install modules
make install -> install the kernel
sexta-feira, 26 de junho de 2020
git template
git config commit.template /home/$USER/Desktop
example template
# Place a subject above the body, limit to 50 chars
# Specify the body of the commit one line below the subject wrapping at
# 70 characters to keep things neatly organized. Here you should explain
# why the commit was created.
# You can use multiple paragraphs and other formatting to describe the
# commit. Add details as necessary until you have provided enough info
# about the commit.
# - Bullets can be added
# - But should be persistent
# Additionally, work items can be tracked using their id numbers.
# Work Items Resole: 557, 188, 122
example template
# Place a subject above the body, limit to 50 chars
# Specify the body of the commit one line below the subject wrapping at
# 70 characters to keep things neatly organized. Here you should explain
# why the commit was created.
# You can use multiple paragraphs and other formatting to describe the
# commit. Add details as necessary until you have provided enough info
# about the commit.
# - Bullets can be added
# - But should be persistent
# Additionally, work items can be tracked using their id numbers.
# Work Items Resole: 557, 188, 122
sábado, 20 de junho de 2020
QEMU - install
install ubuntu in qemu
Installation
Creating a disk image of 10G to hold ubuntu
$ qemu-img create -f qcow2 Ubuntu_Xenial-amd64.img 30G
Confirm both disk image and ubuntu’s iso image at same directory
$ qemu-system-x86_64 -hda Ubuntu_Xenial-amd64.img -boot d
-cdrom ubuntu-16.04.3-server-amd64.iso -m 512 -enable-kvm
qemu-system-x86_64
– normal qemu command represented for x86_64 machine-hda
– refers to hard disk, here I used the 30G hard disk image-boot [ a | c | d | n ]
– boot from floppy disk(a), hard disk(c), cdrom(d), or etherboot(n). You may note that I used cdrom here.-cdrom
– use iso image as cdrom to install ubuntu.-m 512
– allocate RAM of 512 MB for the virtual machine.-enable-kvm
– enable KVM virtualization.
References
terça-feira, 16 de junho de 2020
Assinar:
Postagens (Atom)
-
Compiling a custom kernel has its advantages and disadvantages. However, new Linux user/admin find it difficult to compile Linux kernel. C...
-
Primeiro crie o repositório no github 1) depois: echo "# commitlint-commitizen" >> README.md git init git add README.md...