Conseil : Recherchez des résultats uniquement en français. Vous pouvez indiquer votre langue de recherche sur la page Préférences.
Rappel concernant les règles de confidentialité de Google
Lire
Résultats de recherche
[Résolu] Erreur au boot (mount failed) / Installation d'Ubuntu ...
https://forum.ubuntu-fr.org › Forum › Installation d'Ubuntu
14 avr. 2013 - 5 messages - 3 auteurs
mount: mounting /dev/disk/by-uuid/93349d79-7e02-9989-c801ae97b8f9 on /root failed: Invalid argument mount: mounting /dev on /root/dev failed: No such ... file or directory mount: mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn't have requested /sbin/init. No init found.Linux kernel can't mount /dev file system - Stack Overflow
https://stackoverflow.com/questions/29724733/linux-kernel-cant-mount-dev-file-system
I'm building a custom linux image, using a non-manipulated Linux kernel 2.6.32.65.
the kernel... PLUS
I'm building a custom linux image, using a non-manipulated Linux kernel 2.6.32.65.
the kernel boots just fine until it reaches this:
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 3:1.
Freeing unused kernel memory: 304k freed
init: Unable to mount /dev filesystem: No such device
init: ureadahead main process (983) terminated with status 5
init: console-setup main process (1052) terminated with status 1
I tried the solutions mentioned here although the error is not exactly the same, but no luck. I tried multiple "reference" .config files. I have been googling for a bit but I can't find anything with the same problem.
I'm running this custom image on gem5 simulator, with file system from ubuntu-core and a clean kernel. earlier in the output the kernel shows this:
hda: max request size: 128KiB
hda: 16514064 sectors (8455 MB), CHS=16383/16/63
hda: hda1
So the kernel is able to see partitions just fine. I don't think this is caused by something in the file system. maybe initrd? or the kernel itself? how can I fix it?
2 answers
Best Answer
2 votes
1.) The problem is not in devfs, it seems issue is console setup. 2.) This is init issue not a linux kernel issue. 3.) Try to pass /bin/sh instead of init to kernel cmd line
Answer 2 of 2
0 votes
I have the same problem with custom built embedded Linux.
Check you have enabled devfs in kernel .config
# core filesystems
CONFIG_PROC_FS=y
CONFIG_SYSFS=y
## devfs
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
microHOWTO: Mounting /proc
www.microhowto.info/troubleshooting/mounting_proc.htmlTraduire cette page
Errors caused by the absence of /proc often mention the inability to open a pathname within /proc , and in some cases suggest that you check whether procfs has ... not cause init or any other boot-time scripts to be run, therefore even if /proc is listed in the copy of /etc/fstab within the chroot it will not be mounted automatically.ubuntu - How to fix boot into initramfs prompt and "mount: can't ...
https://unix.stackexchange.com/questions/120198/how-to-fix-boot-into-initramfs-prompt-and-mount-cant-read-etc-fstab-no-su
Installing a new system using a GPT partitioned disk dedicated to a single partition, ext4... PLUS
Installing a new system using a GPT partitioned disk dedicated to a single partition, ext4 formatted, extlinux (version 4.05) as bootloader, Ubuntu Core version 13.10 amd64 as rootfs, and Ubuntu linux-image-3.11.0-18-generic as kernel, and extlinux-update to generate bootloader configuration.
The result after reboot (still inside a KVM based virtual machine) is an (initramfs) prompt and these messages:
mount: can't read '/etc/fstab': No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
The filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
BusyBox is v1.20.2.
Regression:
• the file system has been checked with fsck.ext4
Check for root existence
(initramfs) ls -l /dev/[hs]da*
ls: /dev/[hs]da*: No such file or directory
Root boot argument
(initramfs) cat /proc/cmdline
initrd=/boot/initrd.img-3.11.0-18-generic ro quiet BOOT_IMAGE=/boot/vmlinuz-3.11.0-18-generic
Check loaded modules
(initramfs) cat /proc/modules
e1000 145368 0 - Live 0xffffffffa0000000
/boot folder content
$ sudo ls -l boot
-rw------- 1 root root 3296162 Feb 18 22:37 System.map-3.11.0-18-generic
-rw-r--r-- 1 root root 1007681 Feb 18 22:37 abi-3.11.0-18-generic
-rw-r--r-- 1 root root 163258 Feb 18 22:37 config-3.11.0-18-generic
drwxr-xr-x 2 root root 4096 Mar 17 20:13 extlinux
-rw-r--r-- 1 root root 4995000 Mar 16 23:35 initrd.img-3.11.0-18-generic
-rw------- 1 root root 5634192 Feb 18 22:37 vmlinuz-3.11.0-18-generic
How to make this system boot to the expected default bash prompt?
2 answers
Best Answer
7 votes
Modify your kernel boot parameter by setting the root=/dev/sdaX option. sdaX would be your / or root partition. Upon booting the next time, you will see that your initramfs tries to mount the partition before trying to access /etc/fstab and mounting the file systems.
See question "Does initramfs...
Answer 2 of 2
8 votes
What you need to understand about initramfs is that it is a filesystem. Since kernel 2.6 it is, basically, the only kernel-imposed filesystem ( leaving aside VFS, which is arguably also a filesystem ) on your machine. Your initramfs image is a disk image.
Within your initramfs image will be...
Linux boot failure: "mount: mounting proc on /proc failed: No such file ...
https://e2e.ti.com/support/dsp/c6000_multi-core.../f/.../500982Traduire cette page
24 mars 2016 - INIT: version 2.88 booting mount: mounting proc on /proc failed: No such file or directory /etc/rcS.d/S00psplash.sh: line 10: /proc/cmdline: No such file or directory /etc/rcS.d/S00psplash.sh: line 28: cannot redirect standard input from /dev/null: No such file or directory. Error Cannot open /dev/tty0: No such file ...[ubuntu] mounting /sys on /root/sys failed ; mounting /proc on ...
https://ubuntuforums.org/showthread.php?t=1606975Traduire cette page
27 oct. 2010 - mount: mounting /dev on /root/dev failed: no such file or directory mount: mounting /sys on /root/sys failed: no such file or directory mount: mounting /proc on /root/proc failed: no such file or directory. Target filesystem doesn't have /sbin/Plus possible de démarrer ubuntu - Ubuntu - Comment Ça Marche
www.commentcamarche.net › Forum › Linux / Unix › Ubuntu
affichage de l'erreur mount: mounting /sys on/root/sys failed: no such file or directory mount: mounting /proc on/root/proc failed: no such file or directory target filesystem doesn't have requested /sbin/init. No init found. try passing init= bootrag" ... Le problème étant que votre partition est monté alors qu'en fait elle ne l'est pas !root - Initramfs error during boot - Ask Ubuntu
https://askubuntu.com/questions/25695/initramfs-error-during-bootTraduire cette page
10 févr. 2011 - Try the steps listed in this page: How to Fix an Ubuntu Error: "No init found. Try passing init= bootarg". Basically,. Reboot with a live CD; sudo fdisk -l. will get you the name of the disk then. sudo fsck /dev/sda ...init - Boot fails to mount root partition - Ask Ubuntu
https://askubuntu.com/questions/.../boot-fails-to-mount-root-partiti...Traduire cette page
7 juil. 2015 - It's because of a file system error. Follow below steps: Boot your system with the live Ubuntu DVD or else connect your hard disk to any working Ubuntu system. Install the GParted tool; Open the Gparted tool; Select your hard disk; select first partition of your hard disk and right-click then select check; From ...BOOT ERROR: Mounting on /root failed: Invalid argument ...
https://www.linuxquestions.org/.../boot-error-mounting-on-root-fa...Traduire cette page
6 nov. 2014 - 12 messages - 3 auteurs
mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /sys on /root/sys failed: No such file or directory mount: mounting /proc on /root/proc failed: No such file or directory. Target filesystem doesn't have /sbin/