查詢 Linux (Fedora) 版本的不同結果 - Linux
By Oscar
at 2020-02-07T21:38
at 2020-02-07T21:38
Table of Contents
我的電腦從 Fedora 28 用網路升級 到 Fedora 30.
但 grub2 在開機過程的選單上還是都是 Fedora 28 的選項。
我用的不同指令查詢目前電腦的 Fedora 版本,卻得到不同結果。
(1) uname -mrs
出現結果是 Linux 5.0.16-100.fc28.x86_64 x86_64
(2) cat /etc/os-release
出現結果是
NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
......
(3) hostnamectl
出現結果是
Static hostname: localhost.localdomain
Icon name: computer-desktop
Chassis: desktop
Machine ID: 39247b332bd846d087f072d9763b410d
Boot ID: a5d03a7ad2a9498798f630c296f800f6
Operating System: Fedora 30 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:30
Kernel: Linux 5.0.16-100.fc28.x86_64
Architecture: x86-64
(4) lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 30 (Thirty)
Release: 30
Codename: Thirty
--------------------
那究竟有沒有成功升到 Fedora 30 ?
另外, 再請問如更新 開機時 grub2 選單?
多謝了!!
--
但 grub2 在開機過程的選單上還是都是 Fedora 28 的選項。
我用的不同指令查詢目前電腦的 Fedora 版本,卻得到不同結果。
(1) uname -mrs
出現結果是 Linux 5.0.16-100.fc28.x86_64 x86_64
(2) cat /etc/os-release
出現結果是
NAME=Fedora
VERSION="30 (Workstation Edition)"
ID=fedora
VERSION_ID=30
VERSION_CODENAME=""
PLATFORM_ID="platform:f30"
......
(3) hostnamectl
出現結果是
Static hostname: localhost.localdomain
Icon name: computer-desktop
Chassis: desktop
Machine ID: 39247b332bd846d087f072d9763b410d
Boot ID: a5d03a7ad2a9498798f630c296f800f6
Operating System: Fedora 30 (Workstation Edition)
CPE OS Name: cpe:/o:fedoraproject:fedora:30
Kernel: Linux 5.0.16-100.fc28.x86_64
Architecture: x86-64
(4) lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: Fedora
Description: Fedora release 30 (Thirty)
Release: 30
Codename: Thirty
--------------------
那究竟有沒有成功升到 Fedora 30 ?
另外, 再請問如更新 開機時 grub2 選單?
多謝了!!
--
Tags:
Linux
All Comments
By George
at 2020-02-08T11:23
at 2020-02-08T11:23
By Suhail Hany
at 2020-02-12T02:14
at 2020-02-12T02:14
By Joseph
at 2020-02-16T12:55
at 2020-02-16T12:55
By Quanna
at 2020-02-21T08:55
at 2020-02-21T08:55
By Damian
at 2020-02-24T06:31
at 2020-02-24T06:31
By Dora
at 2020-02-27T17:53
at 2020-02-27T17:53
By Edith
at 2020-02-28T15:42
at 2020-02-28T15:42
Related Posts
如何在連線建立時才啟動scripts
By Agnes
at 2020-02-06T17:16
at 2020-02-06T17:16
備份硬碟上的Onedrive資料夾
By Aaliyah
at 2020-02-05T00:26
at 2020-02-05T00:26
Chromedriver不能跑 與chrome版本不同?
By Hardy
at 2020-02-04T18:28
at 2020-02-04T18:28
備份硬碟上的Onedrive資料夾
By Mason
at 2020-02-04T01:51
at 2020-02-04T01:51
CentOS 8.1 released
By Harry
at 2020-02-03T23:44
at 2020-02-03T23:44