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