Try   HackMD

Ubuntu Windows 10/11 dual boot

  • Ander Liu
tags: Linux Ubuntu

OS version

  • Ubuntu 22.04.3 LTS
  • Windows 11

Google it yourself !!!

Dual boot

  1. IMPORTANT !!! Back up your computer

  2. Download Ubuntu 22.04 LTS

  3. Create Ubuntu live USB

    • Download Etcher
    • Click Select image, and point it to the Ubuntu ISO you downloaded in step 2. Next, click Select drive to choose your flash drive, and click Flash! to start the process of turning a flash drive into an Ubuntu installer.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
  4. Disable Fast Startup in Windows (recommend)

    • 設定 > 系統 > 電源與睡眠 > 其他電源設定 > 選擇按下電源按鈕時的行為
    • 取消勾選 開啟快速啟動
  5. Disable Secure Boot and Rapid Start in BIOS

  6. Plug in Ubuntu live USB and reboot !!!

  7. Try Ubuntu

    • You can select between Try Ubuntu or Install Ubuntu. Don't install just yet; Instead, choose Try Ubuntu. After it finishes loading, you should see the Ubuntu desktop.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • Here, in Live mode, you can play around with Ubuntu and make sure everything works before you commit to the installation.
  8. Install Ubuntu !!!

    • Once you're ready to go, double-click on the Install Ubuntu 18.04 LTS icon on the desktop to launch the installer.
    • Choose the language you want to use for the installation process, then click Continue.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • Next, choose the keyboard layout. Once you've made your selection, click Continue.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • You have a few options on the screen below. One, you can choose a Normal or a Minimal installation. For most people, the Normal installation is ideal.
    • In addition, you can choose to download updates and whether or not to include third-party software and drivers. I recommend checking both of those boxes. When done, click Continue.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • The next screen asks whether you want to erase the disk or set up a dual-boot. Since you're dual-booting, choose Install Ubuntu alongside Windows 10. Click Install Now.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • Select a disk at the top. If you have just one disk, you can choose how much space to steal from Windows and apply to Ubuntu. You can drag the vertical line in the middle left and right with your mouse to take space away from one and gives it to the other. Adjust this exactly the way you want it, then click Install Now.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • You should see a confirmation screen indicating what Ubuntu plans on doing. If everything looks right, click Continue.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • While Ubuntu tries its best to figure out your location, you can click on the map to narrow it down to ensure your time zone and other things are set correctly.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • Next, fill in the user account information: your name, computer name, username, and password. Click Continue when you're done.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • There you have it! The installation is complete. Go ahead and reboot the PC.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
  9. Booting into Ubuntu !!!

    • If all went according to plan, you should see a screen similar to this when your computer restarts.
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →

    If Ubuntu cannot be successfully booted, here is one possible reason. 如果你 GPU 是 NVIDIA 的話,按 e 進入編輯開機指令的模式,找到quite splash並在 splash 這個字之後空一格,再加上nomodeset

    • Choose Ubuntu
    • 開機後立刻去軟體與更新,更新NVIDIA驅動
      Image Not Showing Possible Reasons
      • The image file may be corrupted
      • The server hosting the image is unavailable
      • The image path is incorrect
      • The image format is not supported
      Learn More →
    • Try booting into both Ubuntu and Windows to test them out and make sure everything works as expected.

Complete !!!

(Optional) Installing a decent GRUB theme to make it looks better

If your failed to install Ubuntu, please google it for solutions.

Some Useful Skill

  • 如何連結 PEAP 網路
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Alt 按下去,關機鍵會變成睡眠鍵

If Ubuntu consumes too much power, here is one possible reason. 有關省電,建議關掉 NVIDIA 獨顯,因為官方沒有幫 linux 寫一個可降頻的驅動

Some Useful Website

  • Fix Time Differences in Ubuntu Windows Dual Boot
  • Make Ubuntu Look Like MacOS
  • Make Ubuntu Look Like MacOS (Outdated)
  • gcin 輸入法安裝教學
  • Fusuma - Multitouch Gesture

    my Fusuma config

    ​​​​swipe:
    ​​​​  2:
    ​​​​    left:
    ​​​​      command: "xdotool key alt+Right" # History forward
    ​​​​    right:
    ​​​​      command: "xdotool key alt+Left" # History back
    ​​​​  3:
    ​​​​    left:
    ​​​​      command: "xdotool key alt+Shift+Tab"
    ​​​​    right:
    ​​​​      command: "xdotool key alt+Tab"
    ​​​​    up:
    ​​​​      command: "xdotool key super" # Activity
    ​​​​    down:
    ​​​​      command: "xdotool key super+d" # Activity
    ​​​​  4:
    ​​​​    left:
    ​​​​      command: "xdotool key ctrl+alt+Right" # Switch to next workspace
    ​​​​    right:
    ​​​​      command: "xdotool key ctrl+alt+Left" # Switch to previous workspace
    ​​​​    up:
    ​​​​      command: "xdotool key ctrl+alt+Down" # Switch to next workspace
    ​​​​    down:
    ​​​​      command: "xdotool key ctrl+alt+Up" # Switch to previous workspace
    ​​​​pinch:
    ​​​​  in:
    ​​​​    command: "xdotool keydown ctrl click 4 keyup ctrl" # Zoom in
    ​​​​  out:
    ​​​​    command: "xdotool keydown ctrl click 5 keyup ctrl" # Zoom out
    ​​​​hold:
    ​​​​  4:
    ​​​​    command: "xdotool key super" # Activity
    
  • TLP - Power Management

Recommend GNOME Extension for 22.04 LTS Jammy Jellyfish

Reference

Homepage