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 次

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

#1

帖子 寺島聰子 » 2018-10-10 13:27

[ 1.822536 ] --- [ end Kernel panic - not syncing:VFS:Unable to mount root fs on
unknown-block(0,0)
------------------------------------------
黒画面の最終行のみノートに手書きで書写しました。
只有黑色屏幕的最後一行是在筆記上手寫的。

[直前にしたこと]
mint17.2とubuntu mate 16.04のデュアルブートです。
mint17.2上から
[What I did last]
It is a dual boot of mint 17.2 and ubuntu mate 16.04

於 mint 17.2

$ sudo update-grub
[sudo] password for m:
Generating grub configuration file ...
Linux イメージを見つけました: /boot/vmlinuz-4.4.0-134-generic
Found initrd image: /boot/initrd.img-4.4.0-134-generic
Linux イメージを見つけました: /boot/vmlinuz-4.4.0-127-generic
Found initrd image: /boot/initrd.img-4.4.0-127-generic
Linux イメージを見つけました: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Linux イメージを見つけました: /boot/vmlinuz-3.16.0-38-generic
Found initrd image: /boot/initrd.img-3.16.0-38-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
No volume groups found
Found Ubuntu 16.04.3 LTS (16.04) on /dev/sda5
完了
$
再起動して、ubuntu mate 16.04へ行くと起動不可になっていました。
寺島聰子
帖子: 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)

#2

帖子 寺島聰子 » 2018-10-10 20:47

Select the line which starts with "Advanced options".

Select the line ending with "(recovery mode)",
Ubuntu GNU/Linux, with Linux 4.4.0-112 -generic (recovery mode)
(4.4.0-116 ではなく)を選択
(Not 4.4.0-116) is selected
ubuntu mate 16.04起動成功。 :Haha
ただし、
1,画面の解像度がおかしい。本来は1360×768 なのに、低解像度 。
2,hdmi 接続のテレビは、まったくモニタープレファレンスに出てきていない。
3,起動時のメモリ消費は相変わらず1.1ギガ
------------------------------------------------
さあ、ここから、どうするかっ
However,
1, Screen resolution is strange. Originally it is 1360 × 768, but low resolution.
2, television with hdmi connection has not appeared at all in the monitor preferences.
3, memory consumption at startup is still 1.1 giga
------------------------------------------------------------------
Now, from here, what to do
寺島聰子
帖子: 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)

#3

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

1, Screen resolution is strange. Originally it is 1360 × 768, but low resolution.
2, television with hdmi connection has not appeared at all in the monitor preferences.
3, memory consumption at startup is still 1.1 giga
1と2は今朝起動したら直ってた。ずーっと以前から困ってる症状の3を解決していくヒントをください。
それと、ダメになってるカーネルの方を削除したいのですが。
1 and 2 were fixed when it started this morning. Please give me a hint to solve 3 of symptoms I have been troubled for a long time ago.
Also, I would like to delete the kernel which is no good.

--------------------------------------------------------
jin@1:~$ uname -sr
Linux 4.4.0-112-generic
jin@1:~$

jin@1:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
jin@1:~$

jin@1:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 23
Model name: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
Stepping: 10
CPU MHz: 1998.000
CPU max MHz: 2997.0000
CPU min MHz: 1998.0000
BogoMIPS: 6011.56
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 6144K
NUMA node0 CPU(s): 0,1
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm kaiser tpr_shadow vnmi flexpriority dtherm
jin@1:~$
poloshiao
论坛版主
帖子: 18234
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1946 次

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

#4

帖子 poloshiao » 2018-10-11 17:28

3, memory consumption at startup is still 1.1 giga
https://bugs.launchpad.net/ubuntu/+sour ... ug/1572801
Ubuntu 16.04 Unity desktop uses much more ram than Ubuntu 15.10
寺島聰子
帖子: 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)

#5

帖子 寺島聰子 » 2018-10-11 18:13

Ubuntu 16.04 Unity desktop uses much more ram than Ubuntu 15.10
情報不足でごめんなさい。ubuntu mate 16.04 なのです。そしてクリーンインストール当時は、記憶ですが、450MB位だったのです。
我很抱歉缺乏信息。 這是ubuntu MATE 16.04。 在乾淨安裝時,它是內存,但它大約是450 MB。
poloshiao
论坛版主
帖子: 18234
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1946 次

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

#6

帖子 poloshiao » 2018-10-11 18:52

3, memory consumption at startup is still 1.1 giga
這是 ubuntu MATE 16.04。
Usually the same when at startup stage.
寺島聰子
帖子: 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)

#7

帖子 寺島聰子 » 2018-10-11 19:40

jin@1:~$ free
total used free shared buff/cache available
Mem: 2047156 734332 117212 329772 1195612 805672
Swap: 1478652 0 1478652
jin@1:~$ cat /proc/meminfo
MemTotal: 2047156 kB
MemFree: 95480 kB
MemAvailable: 788616 kB
Buffers: 224760 kB
Cached: 909312 kB
SwapCached: 0 kB
Active: 1191148 kB
Inactive: 641520 kB
Active(anon): 699852 kB
Inactive(anon): 329572 kB
Active(file): 491296 kB
Inactive(file): 311948 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1478652 kB
SwapFree: 1478652 kB
Dirty: 24 kB
Writeback: 0 kB
AnonPages: 698588 kB
Mapped: 213052 kB
Shmem: 330836 kB
Slab: 67432 kB
SReclaimable: 43112 kB
SUnreclaim: 24320 kB
KernelStack: 6016 kB
PageTables: 20352 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2502228 kB
Committed_AS: 3211392 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 407552 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 81152 kB
DirectMap2M: 2015232 kB
jin@1:~$
寺島聰子
帖子: 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)

#8

帖子 寺島聰子 » 2018-10-12 6:49

mint17.2
Cached の値がubuntu mate 16.04より断然小さいような。 
Cached value is much smaller than ubuntu mate 16.04.

$ cat /proc/meminfo
MemTotal: 2047260 kB
MemFree: 1118680 kB
MemAvailable: 1517604 kB
Buffers: 249344 kB
Cached: 277688 kB
SwapCached: 344 kB
Active: 321804 kB
Inactive: 434096 kB
Active(anon): 84412 kB
Inactive(anon): 192016 kB
Active(file): 237392 kB
Inactive(file): 242080 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 1478652 kB
SwapFree: 1476988 kB
Dirty: 84 kB
Writeback: 0 kB
AnonPages: 228692 kB
Mapped: 103116 kB
Shmem: 47560 kB
Slab: 122696 kB
SReclaimable: 102224 kB
SUnreclaim: 20472 kB
KernelStack: 5520 kB
PageTables: 17688 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 2502280 kB
Committed_AS: 1668092 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 0 kB
VmallocChunk: 0 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 95488 kB
DirectMap2M: 2000896 kB
$
poloshiao
论坛版主
帖子: 18234
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1946 次

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

#9

帖子 poloshiao » 2018-10-12 10:16

mint17.2
Cached の値がubuntu mate 16.04より断然小さいような。 
Cached value is much smaller than ubuntu mate 16.04.
Ref :
https://stackoverflow.com/questions/419 ... rop-caches
Clearing the “cached” memory in /proc/meminfo without drop_caches
寺島聰子
帖子: 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)

#10

帖子 寺島聰子 » 2018-10-12 18:36

jin@1:~$ parted -l
jin@1:~$ sudo parted -l
[sudo] password for jin:
Model: ATA Hitachi HDS72168 (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 46.9GB 46.9GB primary ext4 boot
2 46.9GB 80.0GB 33.2GB extended
5 46.9GB 78.5GB 31.7GB logical ext4
6 78.5GB 80.0GB 1514MB logical linux-swap(v1)


jin@1:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 980M 0 980M 0% /dev
tmpfs tmpfs 200M 6.2M 194M 4% /run
/dev/sda5 ext4 29G 11G 17G 38% /
tmpfs tmpfs 1000M 1.1M 999M 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1000M 0 1000M 0% /sys/fs/cgroup
tmpfs tmpfs 200M 80K 200M 1% /run/user/1000
/dev/sda1 ext4 43G 36G 4.9G 89% /media/jin/mint2
jin@1:~$
寺島聰子
帖子: 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)

#11

帖子 寺島聰子 » 2018-10-12 18:46

标题改訂の仕方がわかりません。

not syncing:VFS:Unable to mount root fs on unknown-block(0,0)
から
启动后立即使用UbuntuMate 16.04的内存使用量为1 GB。
寺島聰子
帖子: 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)

#12

帖子 寺島聰子 » 2018-10-12 19:00

参考GPARTED画像
poloshiao さん、いつもありがとうございます。以下のページはよくわかりませんでした。
poloshiao先生,總是謝謝你。 我不明白以下幾頁。
https://stackoverflow.com/questions/419 ... rop-caches
Clearing the “cached” memory in /proc/meminfo without drop_caches
tmpfs tmpfs 1000M 1.1M 999M 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1000M 0 1000M 0% /sys/fs/cgroup
tmpfs tmpfs 200M 80K 200M 1% /run/user/1000
これが、変な感じがする。
這感覺很奇怪。
附件
GPARTED.png
寺島聰子
帖子: 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)

#13

帖子 寺島聰子 » 2018-10-12 19:08

Windows に於ける 「msconfig やsafe mode」 に該当するツールは何でしょうか?
What is the tool that corresponds to "msconfig and safe mode" in Windows?
poloshiao
论坛版主
帖子: 18234
注册时间: 2009-08-04 16:33
送出感谢: 21 次
接收感谢: 1946 次

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

#14

帖子 poloshiao » 2018-10-12 20:57

df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 980M 0 980M 0% /dev
tmpfs tmpfs 200M 6.2M 194M 4% /run
/dev/sda5 ext4 29G 11G 17G 38% /
tmpfs tmpfs 1000M 1.1M 999M 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1000M 0 1000M 0% /sys/fs/cgroup
tmpfs tmpfs 200M 80K 200M 1% /run/user/1000
/dev/sda1 ext4 43G 36G 4.9G 89% /media/jin/mint2
1. df -hT
1-1. http://manpages.ubuntu.com/manpages/xen ... /df.1.html
df - report file system disk space usage
-h, --human-readable
print sizes in powers of 1024 (e.g., 1023M)
-T, --print-type
print file system type
1-2. https://en.wikipedia.org/wiki/Tmpfs
tmpfs is a common name for a temporary file storage facility on many Unix-like operating systems. It is intended to appear as a mounted file system, but stored in volatile memory instead of a persistent storage device.
1*3. https://www.howtoforge.com/storing-file ... with-tmpfs
Storing Files/Directories In Memory With tmpfs

2. parted / gparted
http://manpages.ubuntu.com/manpages/xen ... ted.8.html
parted is a program to manipulate disk partitions.
寺島聰子
帖子: 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)

#15

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

非常に分かりやすいページをありがとうございました。綺麗な外観で返信を書けなかった。しかし、自分としては勉強になりました!
非常感謝您的理解。 我不能寫出漂亮外觀的回复。 但是,我學會了自己!
1*3. https://www.howtoforge.com/storing-file ... with-tmpfs
Storing Files/Directories In Memory With tmpfs
When you run

代码: 全选

mount
you should see something like this:

tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)

By default it's about half the size of the system's memory (you can check it's actual size by running
默認情況下,它大約是系統內存大小的一半(您可以通過運行來檢查它的實際大小
) - so if you have 4GB of RAM, its size will be about 2GB.

jin@1:~$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 1000M 16M 985M 2% /dev/shm
jin@1:~$
我「I have ONLY 2GB of RAM 」

You can use /dev/shm as if it was a normal hard drive, for example, you can copy a file to it:

代码: 全选

jin@1:~$ cp -af TEST /dev/shm/ 
jin@1:~$ ls -la /dev/shm/
total 920
drwxrwxrwt  2 root root      320 10月 12 22:52 .
drwxr-xr-x 20 root root     4020 10月 12 22:34 ..
-rwx------  1 jin  jin  67108904 10月 12 22:42 pulse-shm-1180277728
-rwx------  1 jin  jin  67108904 10月 12 22:52 pulse-shm-1296482293
-rwx------  1 jin  jin  67108904 10月 12 22:35 pulse-shm-259007956
-rwx------  1 jin  jin  67108904 10月 12 22:52 pulse-shm-277145555
-rwx------  1 jin  jin  67108904 10月 12 22:34 pulse-shm-3423049977
-rwx------  1 jin  jin  67108904 10月 12 22:34 pulse-shm-3456393791
-rwx------  1 jin  jin  67108904 10月 12 22:46 pulse-shm-3551771368
-rwx------  1 jin  jin  67108904 10月 12 22:45 pulse-shm-377622780
-rwx------  1 jin  jin  67108904 10月 12 22:51 pulse-shm-3966142724
-rwx------  1 jin  jin  67108904 10月 12 22:34 pulse-shm-4043154984
-rwx------  1 jin  jin  67108904 10月 12 22:35 pulse-shm-731031094
-rwx------  1 jin  jin  67108904 10月 12 22:35 pulse-shm-737923749
-rwx------  1 jin  jin  67108904 10月 12 22:35 pulse-shm-864863416
-rw-rw-r--  1 jin  jin         0 10月 12 22:51 TEST
jin@1:~$ 
(Please keep in mind that the file will be lost when you power down or reboot the system!)

If you like, you can resize /dev/shm, for example as follows:

mount -o remount,size=3G /dev/shm

(Grow with care - if you make it too big and use all that space, then less RAM will be left for the rest of the system. This could cause all kinds of unwanted behaviours!)

jin@1:~$ df -h /dev/shm
Filesystem Size Used Avail Use% Mounted on
tmpfs 1000M 16M 985M 2% /dev/shm
jin@1:~$ mount -o remount,size=512M /dev/shm
mount: only root can use "--options" option
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:~$
回复

回到 “Ubuntu 16.04 LTS”