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

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

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

#16

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

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

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

jin@1:~$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 1000M 328K 1000M 1% /dev/shm
jin@1:~$
今日はありがとうございました
非常感謝你今天。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#17

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

Nice !
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

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
ディスクの使用状況を確認する
檢查磁盤使用情況
(我)
jin@1:~$ 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
jin@1:~$ uname -r
4.4.0-112-generic

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

jin@1:~$ 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

jin@1:~$ 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
jin@1:~$

カーネルイメージ削除後
刪除內核映像後
jin@1:~$ 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
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#19

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

jin@1:~$ 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.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

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

#20

帖子 寺島聰子 » 2018-11-06 23:33

poloshiao さん、返事遅くなってすいません。だいぶん前にubutu mate は諦めて、Peppermint9の32bit を
インストールしました。
I'm sorry for replying late reply. A while ago ubutu mate gave up, 32 bits of Peppermint 9
I installed it.
下は現在のPeppermint9の /etc/fstab です

~$ sudo cat /etc/fstab
[sudo] password for maron:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=36e74e51-515a-4446-8ac3-f204cad78e2f / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
~$
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

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

#21

帖子 poloshiao » 2018-11-07 7:50

32 bits of Peppermint 9 I installed it
1. https://en.wikipedia.org/wiki/Peppermint_Linux_OS
Peppermint Linux OS
Peppermint Linux OS is a cloud-centric OS based on Lubuntu, a derivative of the Ubuntu Linux operating system that uses the LXDE desktop environment.
1-1. Peppermint Linux OS
Platforms
32 bit (i386), 64 bit (amd64)
1-2. Why did not install 64 bit (amd64) ?
1-2-1. https://lubuntu.net/tags/download/
Choosing the right version: 64-bit version suitable for PCs with Intel or AMD chip.
32-bit version, for most PCs older than 2007.

2. https://en.wikipedia.org/wiki/Peppermin ... ppermint_9
Peppermint 9
In Peppermint Nine, lxrandr replaced with xfce4-display-settings for screen settings. Menulibre is now installed as default, file manager Nemo got a new item in right-click context menu "Send by
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

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

#22

帖子 寺島聰子 » 2018-11-07 15:02

1-2. Why did not install 64 bit (amd64) ?
なぜ32ビットかというと「当分メモリ2GBで行くことにした」苦肉の策です。
クリーンインストール直後ログイン時メモリ使用量226メガバイト
1. 為什麼是32位?這是一個艱難的措施“我決定暫時使用內存2GB。”
清潔安裝後立即登錄內存使用量226 MB
1-2-1. https://lubuntu.net/tags/download/
Choosing the right version: 64-bit version suitable for PCs with Intel or AMD chip.
32-bit version, for most PCs older than 2007.
了解。「mate」に慣れていますので、「mate 64bit」の新しいディストリビューションをインストールしなおします。今、フォーラムに出している疑問を解消し終わったら。
OK。 我習慣於“mate”,所以我將重新安裝“mate 64bit”的新發行版。 現在,當你在論壇上完成解決問題的時候。
回复