fix: add set -e and try to mount differently
The init script of the initramfs is failing with exit code -13. No clue what that is. Thus I'm trying to solve it at random and figure it out afterwards. I have add the "set -e" to the init script to see if that prints out anything. And I have also moved the clear command to run after the "dmesg -n 1" to ensure that isn't causing the problem. If the clear command works it's certain that the dmesg is causing the error.
This commit is contained in:
parent
c7b81bc904
commit
932cfa81d7
@ -1,14 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Disable Kernel Messages
|
||||
dmesg -n 1
|
||||
clear
|
||||
|
||||
# Mount the file system
|
||||
mount -t devtmpfs none /dev
|
||||
mount -t proc none /proc
|
||||
mount -t sysfs none /sys
|
||||
mount -t devtmpfs udev /dev
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
|
||||
clear
|
||||
|
||||
# Print the welcome message
|
||||
echo "Welcome to the Linux Kernel"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user