/dev/console not found nach dump/restore
Markus Wigge
markus at cultcom.de
Thu Feb 9 11:32:09 CET 2006
Hallo,
> > cannot open /dev/console !??
>
> Ich nehme mal an das du udev oder devfs verwendest. D.h. du musst
> zusehen das in der neuen installation /dev existiert und auch dort ein
> "console" drin ist
>
> cd /dev
> MAKEDEV std
> MAKEDEV console
# mount /dev/md1 /mnt
# cd /mnt/dev
# ls -l console
crw------- 1 root tty 5, 1 Nov 20 17:02 console
wie schonmal erwähnt, das Device-File ist da.
Was genau legt "MAKEDEV std" an? "stderr" "stdout" "stdin"?
Die wären auch da:
# ll /dev/std*
lrwxrwxrwx 1 root root 4 Feb 7 17:53 /dev/stderr -> fd/2
lrwxrwxrwx 1 root root 4 Feb 7 17:53 /dev/stdin -> fd/0
lrwxrwxrwx 1 root root 4 Feb 7 17:53 /dev/stdout -> fd/1
# ll /dev/fd
lrwxrwxrwx 1 root root 13 Feb 7 17:53 /dev/fd -> /proc/self/fd
> und dann neu booten. Wenn du udev machst brauchst du nicht mehr weil
> udev anschliessend ein tmpfs daruebermounted.
bis grade eben bin ich davon ausgegangen das ich udev benutze... war
aber wohl doch nicht installiert. Ist das bei sarge nicht default?
Habe es jedenfalls in der Kopie des Systems via "chroot" nachinstalliert.
> Wenn das filesystem nicht da sein sollte bekommst du einen panic das der
> kernel das rootfs nicht gefunden hat.
stimmt, sowas hatte ich vor Zeiten auch schonmal gesehen.
Was mir noch aufgefallen ist:
nach dem booten:
# lsmod | sort > 1.txt
# fdisk /dev/hdc
[...]
# diff -u 1.txt 2.txt
--- 1.txt 2006-02-09 10:45:10.091226192 +0100
+++ 2.txt 2006-02-09 10:46:06.733615240 +0100
@@ -11,8 +11,9 @@
font 8544 0
genrtc 10616 0
ide_cd 43232 0
-ide_core 142556 3 via82cxxx,ide_disk,ide_cd
+ide_core 142556 4 ide_generic,via82cxxx,ide_disk,ide_cd
ide_disk 19648 0
+ide_generic 1632 0
ipv6 281764 16
jbd 70584 1 ext3
mbcache 10340 1 ext3
@@ -31,5 +32,5 @@
unix 31156 174
usbcore 122116 3 uhci_hcd
vesafb 6880 0
-via82cxxx 14556 0
+via82cxxx 14556 1
via_agp 9280 1
die initrd scheint "ide_generic" nicht zu laden?!
Meine Idee den root-Parameter direkt auf "/dev/hdc2" zu setzten hat übrigens
wie erwartet keine Besserung gebracht.
Gruß,
Markus
More information about the Linux
mailing list