finfin 2017-8-15 11:56
我個fedora及ubuntu都經常開機時出現下面的警告,
請問係乜事呢?自己有無得可以點做呀?
[attach]7212979[/attach]
另外有時做軟件更新時ubuntu會話我個/boot無空間,
我做左清空都無用。
而且個/boot是系統自動建立的,請問可以點做?
唔該。:loveliness:
rs2754 2017-8-22 11:43
係同一個問題, 原因都係個 /boot 的 partition 唔夠位用,
如果你經常做update, 每次個kernel 更新, 都會建立新的檔案在 /boot, 舊的都不會自動刪除.
以 CentOS 為例, 會建立
.vmlinuz-x.x.x.
System.map.x.x.x.
config-x.x.x.
initrd-x.x.x.
symvers-x.x.x
vmlinuz-x.x.x.
x.x.x 係 version number
你個情況 /boot 唔夠位, 好明顯係keep 得太多啦.
用 uname -r 檢查一吓在用那一個 version 的 kernel
然後就用 root 身份將較舊的刪除就OK.
我一般會保留最 latest 的兩三個, 以防萬一.
finfin 2017-8-24 00:15
[quote]原帖由 [i]rs2754[/i] 於 2017-8-22 11:43 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=466558298&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
係同一個問題, 原因都係個 /boot 的 partition 唔夠位用,
如果你經常做update, 每次個kernel 更新, 都會建立新的檔案在 /boot, 舊的都不會自動刪除.
以 CentOS 為例, 會建立
.vmlinuz-x.x.x.
System.map ... [/quote]
請問換了root身份後,
用咩步驟及指令去刪呀?
唔該。:loveliness::loveliness::loveliness:
bmleung 2017-8-24 10:17
this looks like a vmware virtual boot
rs2754 2017-8-25 00:23
[quote]原帖由 [i]bmleung[/i] 於 2017-8-24 10:17 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=466666188&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
this looks like a vmware virtual boot [/quote]
樓主 list 個 folder content 都未識, 你唔係話以為佢在 VM 上再 build Linux 嘛
見到 VM 兩個英文唔一定要做VM
bmleung 2017-8-25 19:02
可否用sudo apt automove?
finfin 2017-8-26 11:04
請問換了root身份後,
用咩步驟及指令去刪呀?
唔該。
路寅甲 2017-8-27 11:40
[quote]原帖由 [i]finfin[/i] 於 2017-8-26 11:04 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=466770183&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
請問換了root身份後,
用咩步驟及指令去刪呀?
唔該。 [/quote]
可用root account登入GNOME, 係file manager剪咗啲要刪嘅文件去back up
thinman 2017-8-28 13:24
其實 Fedora 可以config 留幾多個 Kernel, example...
在 /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=2
clean_requirements_on_remove=true
========================
In the above example, "installonly_limit=2" 代表keep兩個 version, 超過的話, kernel upgrade時會自動delete最舊version 的 kernel.
finfin 2017-9-3 00:32
[quote]原帖由 [i]路寅甲[/i] 於 2017-8-27 11:40 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=466825946&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
可用root account登入GNOME, 係file manager剪咗啲要刪嘅文件去back up [/quote]
我唔係好識,
登入之後,你講的file manager係咪指果個文件櫃icon?
邊度搵到可以剪的要刪的backup? :smile_41:
finfin 2017-9-3 00:38
[quote]原帖由 [i]thinman[/i] 於 2017-8-28 01:24 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=466886561&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
其實 Fedora 可以config 留幾多個 Kernel, example...
在 /etc/dnf/dnf.conf
[main]
gpgcheck=1
installonly_limit=2
clean_requirements_on_remove=true
========================
In the above exampl ... [/quote]
我入去睇過,只係3個咋,多嗎?要改嗎?
咁而家問題出現左先改可以解決到個問題嗎?
還是現在是要人手刪呀?:loveliness:
thinman 2017-9-3 13:37
用 dnf remove 去刪除舊的kernel便是, 刪除後 /boot 便會有更多的空位.
finfin 2017-9-7 01:50
[quote]原帖由 [i]thinman[/i] 於 2017-9-3 01:37 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467194218&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
用 dnf remove 去刪除舊的kernel便是, 刪除後 /boot 便會有更多的空位. [/quote]
請問是在terminal輸入sudo dnf remove就得?
thinman 2017-9-7 09:27
係, 要root權限.
finfin 2017-9-10 01:11
[quote]原帖由 [i]thinman[/i] 於 2017-9-7 09:27 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467404482&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
係, 要root權限. [/quote]
thanks a lot. :loveliness:
但係出來結果是這樣
Error: No packages marked for removal.
:smile_41::smile_41::smile_41:
[[i] 本帖最後由 finfin 於 2017-9-10 01:14 AM 編輯 [/i]]
thinman 2017-9-10 13:02
[quote]原帖由 [i]finfin[/i] 於 2017-9-10 01:11 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467564910&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
thanks a lot. :loveliness:
但係出來結果是這樣
Error: No packages marked for removal.
:smile_41::smile_41::smile_41: [/quote]
用 command -> rpm -qa | grep kernel
check下有咩kernal package先, 再用 dnf remove 去delete.
finfin 2017-9-14 10:59
[quote]原帖由 [i]thinman[/i] 於 2017-9-10 01:02 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467582878&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
用 command -> rpm -qa | grep kernel
check下有咩kernal package先, 再用 dnf remove 去delete. [/quote]
checked, 裡面有咁多種資料,請問邊個係kernal package呀?:smile_41:
係咪有core開頭果啲?咁其實得三個算唔算多?
[attach]7330671[/attach]
thinman 2017-9-14 11:11
[quote]原帖由 [i]finfin[/i] 於 2017-9-14 10:59 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467806204&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
checked, 裡面有咁多種資料,請問邊個係kernal package呀?:smile_41:
係咪有core開頭果啲?咁其實得三個算唔算多?
7330671 [/quote]你應該最舊是 4.12.8 版本.
1. 用rpm command找出所有 4.12.8 的 kernel 有關的 packages...
rpm -qa | grep 4.12.8
2. 用 dnf remove [package-name] 去刪除.
你自己試試吧.
finfin 2017-9-14 11:33
[quote]原帖由 [i]thinman[/i] 於 2017-9-14 11:11 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=467806788&ptid=26859160][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
你應該最舊是 4.12.8 版本.
1. 用rpm command找出所有 4.12.8 的 kernel 有關的 packages...
rpm -qa | grep 4.12.8
2. 用 dnf remove [package-name] 去刪除.
你自己試試吧. [/quote]
第2點唔係好識分咩係package name, 係咪有core開頭果種就是?
是否dnf remove core.xxxxxxx.........成段咁炒落去?
同埋,有三個舊kernel以經是太多了?是這個問題令boot folder滿左?
唔該。:loveliness:
頁:
[1]