it is also good to know the file system you used on /root (or better other partitions).
chancho 發表於 2025-4-28 18:05



    都係用ext4呀。

TOP

經驗分享
遇到過類似的 /boot 空間不足問題,特別是在長期未清理的 Ubuntu 服務器上。以下是解決流程:
1.  ...
javacomhk 發表於 2025-4-28 14:54



    我是用linux mint的,同ubuntu一系,情況會一樣嗎?
我是桌面機的,不是server, 你講的方法好似好複雜。怕出錯。
而且我呢一部機是windows/linux獨立雙系統,一出事會搞到windows嗎?

TOP

首先你係用咩嘢Linux?
你自己set咗咩嘢partition?
你用緊同裝咗嘅嘢會唔會同boot partition佔空間有關係? ...
Pvrt 發表於 2025-4-28 08:42


我用linux mint, 但呢個問題以前用fedora, ubuntu都出現過呀。
是windows linux 雙系統(呢部腦,其他都只用linux),係ext4。
用緊同裝咗嘅嘢會唔會同boot partition佔空間有關係? 你係指應用程式?
我係桌面機唔係server, 都係一般文書上網及睇串流播下歌同片咁,
應該唔會碰到係統嘅嘢。

fdisk -l 點解permission denied嘅?


ls -laH /boot 唔識點睇!



du -aH /boot 唔識睇,而且好長的結果!我截頭尾,睇下得唔得?







附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

df -h

行完貼上黎睇下
Kin_2012 發表於 2025-4-28 00:30


boot 用咗97%,可唔可以直接刪咗佢入面嘅嘢呀?
成GB嘢在boot入面有咩用?
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

i want to see
du -h
chancho 發表於 2025-4-28 04:02


好長喎!呢度係頭部份。真係要截圖好多張呀。要睇邊部份?


附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

原來雙系統仲有呢個可能性,以前從未諗過,有一想法試下將個問題響 WINDOWS 果邊查找,WIN10 以上每次更新都會食好多 SSD 使用空間,需要深層清理

TOP

本帖最後由 chancho 於 2025-4-30 08:32 編輯

dual boot with windows so your boot partition may be FAT. the problem you have is somehow your distro keep all old kernels files. i guess there is some settings for this options in mint. for archlinux, every new kernel will cover the old one, so we only have one kernel all the time (almost true). i will suggest you to delete all old kernels and their related files. no point to keep all of these.

TOP

you can not see your 'fdisk -l' because you are not root. you should use 'sudo fdisk -l'

TOP

sorry when i said 'du -h' it should 'du -h /boot', it will show the size of all files and directories.

TOP

回復 13 #finfin

太多舊kernel同bootimg
sudo apt autoremove

我討厭Wangblows同Microsharts。

TOP