Try   HackMD

安裝雙系統在有兩個 SSD 的 hp 筆電上

下載 Ubuntu 映像檔

  1. 參考 release 的版本: https://releases.ubuntu.com/
    盡量下載 LTS
  2. 這邊我下載 Ubuntu 22.04.5 LTSUbuntu 24.04 LTS
  3. 找 .iso 結尾的檔案,然後點擊就會下載了
    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

把 .iso 掛接然後放到 USB

我是用 Rufus,或是也可以直接掛載

Partition SSD for Ubuntu

  1. 在分割之前

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  2. AOMEI 來對SSD做分割
    因為我電腦兩個硬碟都是SSD,所以直接在這裡分割就會會有對齊問題

    • 把要分割的磁碟選起來,然後點選以下就可以進行分割,
      Image Not Showing Possible Reasons
      • The image was uploaded to a note which you don't have access to
      • The note which the image was originally uploaded to has been deleted
      Learn More →

    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 →
    後來我發現SSD也可以不用這個工具分割, win11中如果直接用磁碟管理那個介面直接右鍵分割也行!

    • 分割完後會長這樣
  3. 關機,插上USB,然後開機按 F10 進入BIOS選取用USB啟動,選完後就 save and exit

  4. 一開始進入選擇 Try or install ubuntu

  5. 前面會選擇很多東西,直到這個畫面,選擇跟當初分割差不多大小的區域,選起來然後掛載在 /

  6. 最後安裝完後,ubuntu 就會是 Ext4 的分割區

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

grub 開機畫面

  • 應該因為我電腦有兩顆硬ssd,然後有移過 windows,所以裝ubuntu在另一顆ssd分割磁區上,然後其實第一次裝ubuntu裝完重起也有事,但因為關機重開就好了,一直以為沒啥事,結果就出事了

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  • 然後就跟著這個連結就行 ubuntu开机进入grub解决方法

  • 一開始忘記是哪一個分割區就像我一樣一個一個找就找到了,然後就按照那個步驟去了喔

    ​​​​ls (hd3,gpt3)/boot/grub
    
  • 大概就像以下

    Image Not Showing Possible Reasons
    • The image was uploaded to a note which you don't have access to
    • The note which the image was originally uploaded to has been deleted
    Learn More →

  • 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 →
    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 →
    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 →
    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 →
    進入 ubuntu 後,記得裝 grub 在你裝ubuntu得磁碟區! 不然下次開機就又要操作一次很煩

    ​​​​sudo update-grub
    ​​​​sudo grub-install /dev/nvme0n1p3
    

Reference