not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

Xenial Xerus (长期支持)
寺島聰子
帖子: 328
注册时间: 2016-06-03 14:39
系统: Mint 17.2 - MATE (64
送出感谢: 1 次
接收感谢: 1 次

Re: not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

#16

帖子 寺島聰子 » 2018-10-12 22:42

再起動して、起動時1ギガであること、変化なし。
[email protected]:~$ sudo mount -o remount,size=512M /dev/shm
[sudo] password for jin:
[email protected]:~$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 512M 12M 501M 3% /dev/shm

変更も再起動すると反映されない。

[email protected]:~$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 1000M 328K 1000M 1% /dev/shm
[email protected]:~$
今日はありがとうございました
非常感謝你今天。
poloshiao
论坛版主
帖子: 18214
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1945 次

Re: not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

#17

帖子 poloshiao » 2018-10-13 10:22

Nice !
寺島聰子
帖子: 328
注册时间: 2016-06-03 14:39
系统: Mint 17.2 - MATE (64
送出感谢: 1 次
接收感谢: 1 次

Re: not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

#18

帖子 寺島聰子 » 2018-10-15 19:15

参照
http://ola.kironono.com/entry/2017/01/17/220000
ディスクの使用状況を確認する
檢查磁盤使用情況
(我)
[email protected]:~$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 29G 11G 17G 39% /
(参照ページ)
$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 334M 114M 75% /boot

"Mounted on" のところが自分と違うが、どういうこと?
"Mounted on" is different from myself, what does that mean?

現在のカーネル
Current kernel
[email protected]:~$ uname -r
4.4.0-112-generic

インストールされているカーネル一覧を確認します。
Check the list of installed kernels.

[email protected]:~$ dpkg --get-selections | grep linux-image
linux-image-4.4.0-112-generic install
linux-image-4.4.0-116-generic install
linux-image-extra-4.4.0-112-generic install
linux-image-extra-4.4.0-116-generic install
linux-image-generic install

現在使っているバージョン以外のカーネルを指定して apt-get autoremove
指定您當前使用的版本以外的內核 apt-get autoremove

[email protected]:~$ sudo apt-get autoremove --purge linux-image-4.4.0-116-generic
[sudo] password for jin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
linux-generic* linux-headers-generic* linux-image-4.4.0-116-generic*
linux-image-extra-4.4.0-116-generic* linux-image-generic*
0 upgraded, 0 newly installed, 5 to remove and 105 not upgraded.
After this operation, 223 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 247174 files and directories currently installed.)
Removing linux-generic (4.4.0.116.122) ...
Removing linux-headers-generic (4.4.0.116.122) ...
Removing linux-image-generic (4.4.0.116.122) ...
Removing linux-image-extra-4.4.0-116-generic (4.4.0-116.140) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Found linux image: /boot/vmlinuz-4.4.0-112-generic
Found initrd image: /boot/initrd.img-4.4.0-112-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Linux Mint 17.2 Rafaela (17.2) on /dev/sda1
done
Purging configuration files for linux-image-extra-4.4.0-116-generic (4.4.0-116.140) ...
Removing linux-image-4.4.0-116-generic (4.4.0-116.140) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
update-initramfs: Deleting /boot/initrd.img-4.4.0-116-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-112-generic
Found initrd image: /boot/initrd.img-4.4.0-112-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Linux Mint 17.2 Rafaela (17.2) on /dev/sda1
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old
you may need to re-run your boot loader[grub]
Purging configuration files for linux-image-4.4.0-116-generic (4.4.0-116.140) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
[email protected]:~$

カーネルイメージ削除後
刪除內核映像後
[email protected]:~$ dpkg --get-selections | grep linux-image
linux-image-4.4.0-112-generic install
linux-image-extra-4.4.0-112-generic install
------------------------------------------------
再起動すると、grub に前のカーネルの表示が残っています
重新啟動時,先前的內核顯示仍保留在grub中

またこれらの処置をしても 「启动后立即使用UbuntuMate 16.04的内存使用量为1 GB」この問題は変化しません。
即使採取了這些措施「启动后立即使用UbuntuMate 16.04的内存使用量为1 GB」這個問題不會改變。
poloshiao
论坛版主
帖子: 18214
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1945 次

Re: not syncing:VFS:Unable to mount root fs on unknown-block(0,0)

#19

帖子 poloshiao » 2018-10-16 9:37

[email protected]:~$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 29G 11G 17G 39% /
(参照ページ)
$ df -h /boot
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 472M 334M 114M 75% /boot
Copy the following command and paste it to terminal then execute it :

代码: 全选

sudo cat /etc/fstab
Copy all output here.
回复

回到 “Ubuntu 16.04 LTS”