53 initrd/initramfs 相关

前言

呵呵 这里主要是 探究一下 根文件系统 相关的东西 

以及 附加了一些 系统启动的相关信息 

 

 

计算机启动

硬件重置寄存器 设置初始化数据

计算机访问 0xffff0, 执行 bios 的代码, bios 选择启动设备, 然后执行 启动设备 boolloader 的代码 

bootloader 将 boot.img 加载至 0x7c00 的位置启动

之后 bootloader 将执行 操作系统 入口, start_cpu

 

 

内核启动的时候 创建了两个进程, 一个执行 kernel_init, 一个执行 kthreadd

kernel_init 中执行了 init 进程

kthreadd 中执行了 kthreadd 进程 

 

 

解压根文件系统

解压了两个东西, 一个是 initramfs 相关 134 字节 

里面包含了 dev, dev/console, root

另外一个是 initrd 相关, 是指定的 initrd 文件的大小, 这里是 37544191[initrd文件本身大小一致]

这里面解压了 initrd 所有文件, 用作初始化根文件系统 

主要是创建对应的文件, 文件夹, 拷贝 对应的文件

free 掉 initrd 占用的内存 

c3a66b8adc454ca88063b3e30aba90da.png

 

然后 后面是 执行 /init

a46347fe226b406d94935983ccab2c60.png

 

 

我们这里的 init 脚本的内容 

创建相关系统文件夹, 挂载文件系统 

06db15cb39d94f7792e91530b5d4e42d.png

 

 

 

加载必要的驱动

c7476cddd67445c981a4319e284662f1.png

 

 

将 initrd 文件系统的东西 移动到

9cd21a0981ee4a5d99f056ebeb06cb97.png

b8f7b8a896124212aaf65fabf77814ad.png 

 

 

最终调用 /sbin/init 来启动系统 

 

 

initrd 文件探索

mkinitramfs -o 创建的根文件系统文件, 里面包含了 图形相关驱动, 因此 大很多 

Image: ramdisk.img: 309M
========================================================================
Version:Arguments:
dracut modules:
========================================================================
-rw-r--r--   1 root     root            0 Dec 31  2021 etc/fstab
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/[
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/[[
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/acpid
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ash
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/awk
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/basename
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/blockdev
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/busybox
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chmod
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chroot
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/clear
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cmp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cut
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/deallocvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/devmem
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/df
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/dnsdomainname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/du
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/dumpkmap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/echo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/egrep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/env
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/expr
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/false
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fbset
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fdflush
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fgrep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/find
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fstrim
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/grep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/gunzip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/gzip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/hostname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/hwclock
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ifconfig
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/kill
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/loadfont
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/loadkmap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ls
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/lzop
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/lzopcat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkdir
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkfifo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mknod
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkswap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mktemp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/modinfo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/more
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mount
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mv
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/openvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/pidof
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/printf
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ps
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/pwd
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/readlink
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/reset
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/rm
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/rmdir
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sed
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/seq
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/setkeycodes
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sh
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sleep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sort
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/stat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/static-sh
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/stty
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/switch_root
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sync
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tail
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tee
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/test
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/touch
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tr
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/true
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tty
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/umount
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/uname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/uniq
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/unlzop
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/wc
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/wget
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/which
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/yes
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/zcat
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/dhcp/dhclient-enter-hooks.d
drwxr-xr-x   2 root     root            0 Dec  6  2020 usr/share/plymouth/themes/details
drwxr-xr-x   2 root     root            0 Dec  6  2020 usr/share/plymouth/themes/ubuntu-text
drwxr-xr-x   2 root     root            0 Dec 24  2021 etc/ld.so.conf.d
drwxr-xr-x   2 root     root            0 Dec 31  2021 bin
drwxr-xr-x   2 root     root            0 Dec 31  2021 conf/conf.d
drwxr-xr-x   2 root     root            0 Dec 31  2021 etc/console-setup
drwxr-xr-x   2 root     root            0 Dec 31  2021 etc/default
drwxr-xr-x   2 root     root            0 Dec 31  2021 etc/modprobe.d
drwxr-xr-x   2 root     root            0 Dec 31  2021 etc/plymouth
drwxr-xr-x   2 root     root            0 Dec 31  2021 etc/udev
// 省略掉一部分文件 
-rwxr-xr-x   1 root     root      1868984 Apr 21  2021 lib/x86_64-linux-gnu/libc-2.23.so
-rw-r--r--   1 root     root      1911622 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/fjes/fjes.ko
-rw-r--r--   1 root     root      1937280 Jan  9  2017 lib/x86_64-linux-gnu/libdns-export.so.162.1.3
-rw-r--r--   1 root     root      1953150 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/block/aoe/aoe.ko
-rw-r--r--   1 root     root      1963198 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/qlogic/qlge/qlge.ko
-rw-r--r--   1 root     root      2064558 Dec 31  2021 lib/modules/4.10.14/kernel/fs/fscache/fscache.ko
-rw-r--r--   1 root     root      2096358 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/usb/storage/usb-storage.ko
-rw-r--r--   1 root     root      2127494 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/neterion/vxge/vxge.ko
-rw-r--r--   1 root     root      2163782 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/ast/ast.ko
-rw-r--r--   1 root     root      2208294 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/aic7xxx/aic79xx.ko
-rw-r--r--   1 root     root      2220214 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/e1000/e1000.ko
-rw-r--r--   1 root     root      2226030 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/be2iscsi/be2iscsi.ko
-rw-r--r--   1 root     root      2280254 Dec 31  2021 lib/modules/4.10.14/kernel/fs/nfs/nfsv3.ko
-rw-r--r--   1 root     root      2322910 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/samsung/sxgbe/samsung-sxgbe.ko
-rw-r--r--   1 root     root      2329502 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/aic7xxx/aic7xxx.ko
-rw-r--r--   1 root     root      2339726 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/emulex/benet/be2net.ko
-rw-r--r--   1 root     root      2370046 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/pm8001/pm80xx.ko
-rw-r--r--   1 root     root      2373734 Dec 31  2021 lib/modules/4.10.14/kernel/sound/core/snd-pcm.ko
-rw-r--r--   1 root     root      2391150 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.ko
-rw-r--r--   1 root     root      2400974 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko
-rw-r--r--   1 root     root      2429414 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/udl/udl.ko
-rw-r--r--   1 root     root      2520294 Dec 31  2021 lib/modules/4.10.14/kernel/sound/core/snd.ko
-rw-r--r--   1 root     root      2571190 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/dec/tulip/tulip.ko
-rw-r--r--   1 root     root      2596622 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/ssb/ssb.ko
-rw-r--r--   1 root     root      2606998 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/i40evf/i40evf.ko
-rw-r--r--   1 root     root      2810358 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/ttm/ttm.ko
-rw-r--r--   1 root     root      2833302 Dec 31  2021 lib/modules/4.10.14/kernel/fs/udf/udf.ko
-rw-r--r--   1 root     root      2884766 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/input/mouse/psmouse.ko
-rw-r--r--   1 root     root      2902662 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/bnx2fc/bnx2fc.ko
-rw-r--r--   1 root     root      2913702 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/libfc/libfc.ko
-rw-r--r--   1 root     root      2945990 Dec 31  2021 lib/modules/4.10.14/kernel/lib/raid6/raid6_pq.ko
-rw-r--r--   1 root     root      3072766 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/aacraid/aacraid.ko
-rw-r--r--   1 root     root      3089214 Dec 31  2021 lib/modules/4.10.14/kernel/net/ieee802154/ieee802154.ko
-rw-r--r--   1 root     root      3102126 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/esas2r/esas2r.ko
-rw-r--r--   1 root     root      3168206 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/mpt3sas/mpt3sas.ko
-rw-r--r--   1 root     root      3339046 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/chelsio/cxgb/cxgb.ko
-rw-r--r--   1 root     root      3366510 Dec 31  2021 lib/modules/4.10.14/kernel/net/mac802154/mac802154.ko
-rw-r--r--   1 root     root      3449606 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/csiostor/csiostor.ko
-rw-r--r--   1 root     root      3516166 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/aic94xx/aic94xx.ko
-rw-r--r--   1 root     root      3537758 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/libsas/libsas.ko
-rw-r--r--   1 root     root      3575646 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/amd/amdkfd/amdkfd.ko
-rw-r--r--   1 root     root      3803166 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/snic/snic.ko
-rw-r--r--   1 root     root      3811030 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/drm_kms_helper.ko
-rw-r--r--   1 root     root      3944294 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/virtio/virtio-gpu.ko
-rw-r--r--   1 root     root      4211614 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/chelsio/cxgb3/cxgb3.ko
-rw-r--r--   1 root     root      4221342 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/fm10k/fm10k.ko
-rw-r--r--   1 root     root      4274574 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/cisco/enic/enic.ko
-rw-r--r--   1 root     root      4281726 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/igb/igb.ko
-rw-r--r--   1 root     root      4286070 Dec 31  2021 lib/modules/4.10.14/kernel/sound/soc/snd-soc-core.ko
-rw-r--r--   1 root     root      4294646 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/brocade/bna/bna.ko
-rw-r--r--   1 root     root      4380598 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/fnic/fnic.ko
-rw-r--r--   1 root     root      4529422 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/qxl/qxl.ko
-rw-r--r--   1 root     root      4561774 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/isci/isci.ko
-rw-r--r--   1 root     root      4659214 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
-rw-r--r--   1 root     root      4739982 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko
-rw-r--r--   1 root     root      4783902 Dec 31  2021 lib/modules/4.10.14/kernel/fs/jfs/jfs.ko
-rw-r--r--   1 root     root      5413334 Dec 31  2021 lib/modules/4.10.14/kernel/fs/reiserfs/reiserfs.ko
-rw-r--r--   1 root     root      5497686 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/cavium/liquidio/liquidio.ko
-rw-r--r--   1 root     root      5580486 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/fddi/skfp/skfp.ko
-rw-r--r--   1 root     root      5593046 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/target/target_core_mod.ko
-rw-r--r--   1 root     root      5625526 Dec 31  2021 lib/modules/4.10.14/kernel/net/ceph/libceph.ko
-rw-r--r--   1 root     root      5626446 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac.ko
-rw-r--r--   1 root     root      5749342 Dec 31  2021 lib/modules/4.10.14/kernel/fs/lockd/lockd.ko
-rw-r--r--   1 root     root      5834078 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4.ko
-rw-r--r--   1 root     root      6194926 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/qla4xxx/qla4xxx.ko
-rw-r--r--   1 root     root      6669286 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/block/drbd/drbd.ko
-rw-r--r--   1 root     root      6727254 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/qlogic/qlcnic/qlcnic.ko
-rw-r--r--   1 root     root      7094022 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/broadcom/bnx2x/bnx2x.ko
-rw-r--r--   1 root     root      7442590 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/qlogic/qed/qed.ko
-rw-r--r--   1 root     root      7607974 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/i40e/i40e.ko
-rw-r--r--   1 root     root      8019214 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko
-rw-r--r--   1 root     root      8272766 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/lpfc/lpfc.ko
-rw-r--r--   1 root     root      8427726 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/bfa/bfa.ko
-rw-r--r--   1 root     root      8602718 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/sfc/sfc.ko
-rw-r--r--   1 root     root      8784726 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
-rw-r--r--   1 root     root      9169790 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/scsi/qla2xxx/qla2xxx.ko
-rw-r--r--   1 root     root      9568766 Dec 31  2021 lib/modules/4.10.14/kernel/fs/nfs/nfs.ko
-rw-r--r--   1 root     root      9978446 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko
-rw-r--r--   1 root     root     10554998 Dec 31  2021 lib/modules/4.10.14/kernel/net/sunrpc/sunrpc.ko
-rw-r--r--   1 root     root     10684958 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/gma500/gma500_gfx.ko
-rw-r--r--   1 root     root     12111038 Dec 31  2021 lib/modules/4.10.14/kernel/fs/nfs/nfsv4.ko
-rw-r--r--   1 root     root     12958726 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/drm.ko
-rw-r--r--   1 root     root     18600462 Dec 31  2021 lib/modules/4.10.14/kernel/fs/btrfs/btrfs.ko
-rw-r--r--   1 root     root     19456718 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko
-rw-r--r--   1 root     root     31907350 Dec 31  2021 lib/modules/4.10.14/kernel/fs/xfs/xfs.ko
-rw-r--r--   1 root     root     35038694 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko
-rw-r--r--   1 root     root     40909710 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/i915/i915.ko
-rw-r--r--   1 root     root     42626574 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/radeon/radeon.ko
-rw-r--r--   1 root     root     128612614 Dec 31  2021 lib/modules/4.10.14/kernel/drivers/gpu/drm/nouveau/nouveau.ko
========================================================================

 

无图形界面的服务器本身的 initrd 

Image: /boot/initrd.img-4.4.0-62-generic: 33M
========================================================================
Version: Arguments: 
dracut modules:
========================================================================
-rw-r--r--   1 root     root            0 Dec  6  2020 etc/fstab
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/[
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/[[
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/acpid
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ash
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/awk
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/basename
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/blockdev
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/busybox
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chmod
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chroot
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/chvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/clear
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cmp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/cut
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/deallocvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/devmem
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/df
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/dnsdomainname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/du
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/dumpkmap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/echo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/egrep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/env
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/expr
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/false
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fbset
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fdflush
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fgrep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/find
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/fstrim
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/grep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/gunzip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/gzip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/hostname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/hwclock
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ifconfig
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ip
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/kill
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/loadfont
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/loadkmap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ls
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/lzop
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/lzopcat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkdir
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkfifo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mknod
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mkswap
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mktemp
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/modinfo
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/more
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mount
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/mv
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/openvt
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/pidof
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/printf
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/ps
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/pwd
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/readlink
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/reset
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/rm
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/rmdir
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sed
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/seq
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/setkeycodes
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sh
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sleep
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sort
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/stat
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/static-sh
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/stty
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/switch_root
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/sync
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tail
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tee
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/test
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/touch
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tr
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/true
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/tty
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/umount
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/uname
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/uniq
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/unlzop
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/wc
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/wget
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/which
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/yes
-rwxr-xr-x  91 root     root            0 Aug 19  2015 bin/zcat
drwxr-xr-x   2 root     root            0 Dec  6  2020 bin
drwxr-xr-x   2 root     root            0 Dec  6  2020 conf/conf.d
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/console-setup
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/default
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/dhcp/dhclient-enter-hooks.d
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/ld.so.conf.d
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/modprobe.d
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/plymouth
drwxr-xr-x   2 root     root            0 Dec  6  2020 etc/udev
// 省略掉一部分文件 
-rwxr-xr-x   1 root     root      1864888 Nov 16  2016 lib/x86_64-linux-gnu/libc-2.23.so
-rw-r--r--   1 root     root      1937280 Jan  9  2017 lib/x86_64-linux-gnu/libdns-export.so.162.1.3
-rw-r--r--   1 root     root      1970886 Jan 18  2017 lib/modules/4.4.0-62-generic/kernel/drivers/gpu/drm/i915/i915.ko
-rw-r--r--   1 root     root      2113854 Jan 18  2017 lib/modules/4.4.0-62-generic/kernel/ubuntu/i915/i915_bpo.ko
-rw-r--r--   1 root     root      2352054 Jan 18  2017 lib/modules/4.4.0-62-generic/kernel/drivers/gpu/drm/nouveau/nouveau.ko
-rw-r--r--   1 root     root      2412942 Jan 18  2017 lib/modules/4.4.0-62-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
========================================================================

 

 

 

 

 

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/766878.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

你可敢信这是 AI 写的歌?suno 真的惊到我了!

你可敢信这是 AI 写的歌?suno 真的惊到我了! AI 音乐平台 suno 横空出世,效果惊人,我赶紧试了一下,amazing!!! suno创作 - 背叛 这是我随意创作的,这几天对诅咒前男友那首…

MySQL常用函数整理,建议收藏!

常见函数 字符串函数数字函数日期函数聚合函数流程控制函数 一、字符串函数 concat(s1,s2...,sn) --将s1,s2...,sn连接成字符串,如果该函数中的任何参数为 null,返回结果为 null concat_ws(sep,s1,s2...,sn) --将s1,s2...,sn连接成字符串,并用sep字符…

xilinx的高速接口构成原理和连接结构

本文来源: V3学院 尤老师的培训班笔记【高速收发器】xilinx高速收发器学习记录Xilinx-7Series-FPGA高速收发器使用学习—概述与参考时钟GT Transceiver的总体架构梳理 文章目录 一、概述:二、高速收发器结构:2.1 QUAD2.1.1 时钟2.1.2 CHANNEL…

【阅读论文】When Large Language Models Meet Vector Databases: A Survey

摘要 本调查探讨了大型语言模型(LLM)和向量数据库(VecDB)之间的协同潜力,这是一个新兴但迅速发展的研究领域。随着LLM的广泛应用,出现了许多挑战,包括产生虚构内容、知识过时、商业应用成本高昂…

【Godot4.2】基础知识 - Godot中的2D向量

概述 在Godot中,乃至一切游戏编程中,你应该都躲不开向量。这是每一个初学者都应该知道和掌握的内容,否则你将很难理解和实现某些其实原理非常简单的东西。 估计很多刚入坑Godot的小伙伴和我一样,不一定是计算机专业或编程相关专…

利用sealos安装k8s集群

1. 环境准备 准备三台干净(未安装过k8s环境)的虚拟机 # 所有的主机都要配置主机名和域名映射 # 设置主机名 hostnamectl set-hostname k8s-master01 # vim /etc/hosts 192.168.59.201 k8s-master01 192.168.59.202 k8s-worker01 192.168.59.203 k8…

基于ssm停车场管理系统(程序+文档+数据库)

** 🍅点赞收藏关注 → 私信领取本源代码、数据库🍅 本人在Java毕业设计领域有多年的经验,陆续会更新更多优质的Java实战项目,希望你能有所收获,少走一些弯路。🍅关注我不迷路🍅** 一、项目概述…

腾讯云GPU云服务器_并行计算_弹性计算_AI_深度学习

腾讯云GPU服务器是提供GPU算力的弹性计算服务,腾讯云GPU服务器具有超强的并行计算能力,可用于深度学习训练、科学计算、图形图像处理、视频编解码等场景,腾讯云百科txybk.com整理腾讯云GPU服务器租用价格表、GPU实例优势、GPU解决方案、GPU软…

java数据结构与算法基础-----字符串------正则表达式的练习案例---持续补充中

java数据结构与算法刷题目录(剑指Offer、LeetCode、ACM)-----主目录-----持续更新(进不去说明我没写完):https://blog.csdn.net/grd_java/article/details/123063846 正则表达式基础:https://blog.csdn.net/grd_java/article/det…

xercesc库中文保存XML功能实现

目录 一 参考链接 二 运行结果 三 代码 一 参考链接 DOM Programming Guide (apache.org) Xerces-c DOM XML文件的构造_xerces-c domimplementation-CSDN博客 Xerces-c库的使用-CSDN博客 二 运行结果 三 代码 #if 1//参考链接: https://blog.csdn.net/RGBMa…

2020年黑龙江省水稻种植分布数据

黑龙江省,位于中国最东北部,是我国位置最北、最东,纬度最高,经度最东的省份,气候为温带大陆性季风气候。黑龙江省土地总面积为47.3万平方公里(含加格达奇和松岭区),占全国土地总面积…

HTML元素语义化补充之css函数(三)

文章目录 CSS中的函数css函数–varcss函数–calccss函数–blurcss函数–gradientlinear-gradient的使用 CSS中的函数 ◼ 在前面我们有使用过很多个CSS函数: 比如rgb/rgba/translate/rotate/scale等; CSS函数通常可以帮助我们更加灵活的来编写样式的值; ◼ 下面有几…

Nature:“量子龙卷风”首次模拟黑洞

科学家们在超流体氦气中首次创造出了一个巨大的“量子漩涡”(quantum vortex),用以模拟黑洞。这一成就不仅使他们能够更加细致地观察模拟黑洞的行为,还能探究其与周围环境的交互作用。 诺丁汉大学的研究团队与伦敦国王学院和纽卡斯…

春天到了,颈椎病容易复发和加重,怎么回事?

即将进入四月,气温回暖,大家的着装明显轻便了。实际上,四时之气均有诱发颈椎病复发的因素,春天也不例外。 对于颈椎病人群来说,他们的颈部状态较差,遇到“无孔不入”、挟裹着湿气的风邪,便十分容…

操作系统原理-模拟进程创建、终止、阻塞、唤醒原语——沐雨先生

一、实验题目: 模拟进程创建、终止、阻塞、唤醒原语 二、实验目的: 通过设计并调试创建、终止、阻塞、唤醒原语功能,有助于对操作系统中进程控制功能的理解,掌握操作系统模块的设计方法和工作原理。 三、实验环境: …

【算法分析与设计】翻转二叉树

题目 给你一棵二叉树的根节点 root ,翻转这棵二叉树,并返回其根节点。 示例 示例 1: 输入:root [4,2,7,1,3,6,9] 输出:[4,7,2,9,6,3,1]示例 2: 输入:root [2,1,3] 输出:[2,3,1]示例…

本地运行环境工具UPUPWANK(win)和Navicat数据库管理工具

UPUPWANK安装地址:https://www.upupw.net 1.进入UPUPWANK后点击一键开启 2.新增项目 这里请千万注意80端口,如果80端口被占用了,请记住去任务管理器关闭占用80端口的进程。不然就不会成功显示。(笔者含泪警告,一晚上的…

Spring中的OAuth2

一. 什么是OAuth2 “Auth” 表示 “授权” Authorization “O” 是 Open 的简称,表示 “开放” 连在一起就表示 “开放授权”,OAuth2是一种开放授权协议。 二. OAuth2是什么 怎么用 OAuth2是目前最流行的授权协议,用来授权第三方应用&am…

信号的小波包能量谱计算(以轴承振动信号为例,Python环境)

小波分析是近30年来发展起来的数学分支,是Fourier分析划时代发展的结果,由法国工程师Morlet首先提出,后广泛应用于信号处理、图像处理与分析、地震勘探、故障诊断、自动控制等领域,小波就是小的波形,所谓“小”是指它具…

QT文件读写操作和内容提取

访问IO设备,需要先调用open()来设置正确的OpenMode(例如ReadOnly或ReadWrite) 打开设备后后,使用write() 或putChar() 写入数据到文件和设备,并通过调用read(),readLine() 或readAll() 进行读取;使用完设备后&#xf…