Relk's 工作手札

在 Cloud-Native 汪洋中載浮載沉的 SRE - Service Restart Engineer

0%

[隨筆] Install Linux Mint 19.2 on Dell Inspiron 7375

前言

最近搞了台 Ryzen 筆電來跑 Linux,筆記下安裝上的細節

安裝步驟

  1. 安裝部份就跳過了,開機後到 Grub 選單時,按 e 編輯開機選項,找到 Linux 開頭那行,移除 quite,加上 noapic noacpi irqpoll

  2. 登入後,打開 Update Manager > View > Linux Kernels 選擇最新的穩定版 (當前是 5.3.0-19)並安裝

  3. 打開 Terminal,編輯 /etc/default/grub,修改成以下資訊:

    1. sudo vi /etc/default/grub
      1
      GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 splash"
      • 2020-05-15 Update: 改用以下這段,忘了從哪邊抄來的,系統比較不會凍結
        kernel: 5.3.0-40-generic
        1
        GRUB_CMDLINE_LINUX_DEFAULT="vga=current ivrs_ioapic[4]=00:14.0 ivrs_ioapic[5]=00:00.2 iommu=pt idle=nomwait acpi_backlight=vendor acpi_enforce_resources=lax scsi_mod.use_blk_mq=1"
    2. sudo update-grub
  4. 更改預設的中文字體
    sudo vi /etc/fonts/conf.avail/64-language-selector-prefer.conf

    <?xml version="1.0"?>
    <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
    <fontconfig>
        <alias>
            <family>sans-serif</family>
            <prefer>
                <family>Noto Sans CJK TC</family>
                <family>Noto Sans CJK SC</family>
                <family>Noto Sans CJK JP</family>
                <family>Noto Sans CJK KR</family>
            </prefer>
        </alias>
        <alias>
            <family>serif</family>
            <prefer>
                <family>Noto Serif CJK TC</family>
                <family>Noto Serif CJK SC</family>
                <family>Noto Serif CJK JP</family>
                <family>Noto Serif CJK KR</family>
            </prefer>
        </alias>
        <alias>
            <family>monospace</family>
            <prefer>
                <family>Noto Sans Mono CJK TC</family>
                <family>Noto Sans Mono CJK SC</family>
                <family>Noto Sans Mono CJK JP</family>
                <family>Noto Sans Mono CJK KR</family>
            </prefer>
        </alias>
    </fontconfig>
    
    cd /etc/fonts/conf.d
    sudo ln -s ../conf.avail/64-language-selector-prefer.conf 64-language-selector-prefer.conf
  5. 重新開機

額外調整

  1. 停用觸控螢幕
    • xinput list 找到觸控螢幕 ID
    • xinput disable <ID>

參考資訊

Follow me at the links below