David Haller schrieb:
Hallo,
Am Tue, 28 Sep 2004, Rolf Hoff schrieb:
David Haller schrieb: [..]
Dir fehlt in der initrd die /etc/mtab und/oder es versucht etwas zu frueh (eben bevor / und damit /etc/ gemountet ist) zu (un-)mounten.
Aber: es ist eine Warnung und in diesem Falle wohl ignorierbar. [..] OK, es ist nur eine Warnung, aber trotzdem, wie kriege ich /etc/mtab in die initrd rein? Mit der Appendzeile von lilo? Oder wie sonst? Wie lautet der Text bzw. das Kommando?
Das weiss ich leider auch nicht, da ich keine initrd verwende.
Schau aber erstmal, wo genau die Warnung kommt, bzw. maile mal die ~10 Zeilen direkt vor der Meldung.
-dnh
hallo David hier die nachgefragten Zeilen von /var/log/boot.msg sowie meine lilo.conf und die initrd-2.6.5-7.108: Die Warnung in /var/log/boot.msg wurde von mir manuell nachgetragen, um die Zeilen vor der Warnung damit zu markieren (im Protokoll wird ja die Warnung nicht ausgedruckt, sie wird nur auf dem Startbildschirm angezeigt): /var/log/boot.msg (auszugsweise): - - - - s n i p p - - - <4>hda: max request size: 128KiB <6>hda: 39876480 sectors (20416 MB) w/1966KiB Cache, CHS=39560/16/63 <4>hda: cache flushes not supported <6> hda: hda1 hda2 [ . . . .] <6>input: AT Translated Set 2 keyboard on isa0060/serio0 <6>NET: Registered protocol family 2 <6>IP: routing cache hash table of 8192 buckets, 64Kbytes <6>TCP: Hash tables configured (established 262144 bind 65536) <6>NET: Registered protocol family 1 <6>ACPI: (supports S0 S1 S4bios S5) <5>RAMDISK: Compressed image found at block 0 <4>VFS: Mounted root (ext2 filesystem). <5>SCSI subsystem initialized <6>scsi0 : AdvanSys SCSI 3.3GJ: PCI Ultra: IO 0xDC00-0xDC0F, IRQ 0x5 - - - - - - warning: can't open /etc/mtab: no such file or directory warning: can't open /etc/mtab: no such file or directory - - - - <4>VFS: Mounted root (ext2 filesystem) readonly. <5>Trying to move old root to /initrd ... failed <5>Unmounting old root <5>Trying to free ramdisk memory ... okay <6>Freeing unused kernel memory: 172k freed <6>Adding 512024k swap on /dev/hda1. Priority:42 extents:1 <6>device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com <6>subfs 0.9 Kernel logging (ksyslog) stopped. Kernel log daemon terminating. Boot logging started on /dev/tty1(/dev/console) at Wed Sep 29 12:37:32 2004 - - - - s n a p p - - - - - - s n i p p- - - ro999:~ # mkinitrd -k /boot/vmlinuz -i /boot/initrd-2.6.5-7.108-1 -s 1024x768 Root device: /dev/hda2 (mounted on / as ext2) Module list: advansys Kernel image: /boot/vmlinuz Initrd image: /boot/initrd-2.6.5-7.108-1 Shared libs: lib/ld-2.3.3.so lib/libc.so.6 lib/libselinux.so.1 Modules: kernel/drivers/scsi/scsi_mod.ko kernel/drivers/scsi/sd_mod.ko kernel/drivers/scsi/advansys.ko Bootsplash: SuSE (1024x768) Run lilo now to update the boot loader configuration. ro999:~ # lilo Added Linux * Added Failsafe ro999:~ # - - - - - - -s n a p p - - - (Hinweis: ln -s /boot/initrd-2.6.5-7.108-1 /boot/initrd liegt an) - - - s n i p p - - - ro999:~ # cat /etc/lilo.conf # Modified by YaST2. Last modification on Thu Jul 1 07:22:35 2004 menu-scheme = Wb:kw:Wb:Wb default = Linux timeout = 80 message = /boot/message lba32 change-rules reset read-only prompt boot = /dev/hda image = /boot/vmlinuz ###Don't change this comment - YaST2 identifier: Original name: linux### label = Linux initrd = /boot/initrd root = /dev/hda2 append = "resume=/dev/hda1 splash=silent desktop" vga = 0x317 image = /boot/vmlinuz ###Don't change this comment - YaST2 identifier: Original name: failsafe### label = Failsafe initrd = /boot/initrd root = /dev/hda2 append = "ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3" ro999:~ # - - - - - s n a p p - - - - - - - - s n i p p - - - ro999:~ # ls -l /boot/* -rw-r--r-- 1 root root 512 2004-07-01 09:22 /boot/backup_mbr -rw-r--r-- 1 root root 512 2004-09-03 20:26 /boot/boot.0300 lrwxrwxrwx 1 root root 26 2004-09-29 12:06 /boot/initrd -> /boot/initrd-2.6.5-7.108-1 -rw-r--r-- 1 root root 1224503 2004-09-29 11:32 /boot/initrd-2.6.5-7.108-1 -rw------- 1 root root 148992 2004-09-29 11:32 /boot/map -rw-r--r-- 1 root root 84480 2004-07-20 19:46 /boot/message -rw-r--r-- 1 root root 598217 2004-09-03 20:24 /boot/System.map-2.6.5-7.108-1 lrwxrwxrwx 1 root root 27 2004-09-03 20:26 /boot/vmlinuz -> /boot/vmlinuz-2.6.5-7.108-1 -rw-r--r-- 1 root root 1179674 2004-09-03 20:25 /boot/vmlinuz-2.6.5-7.108-1 ro999:~ # - - - - s n a p p - - - - /etc/mtab und /proc/mounts sind in meiner Mail vom 25.09.04 enthalten. /etc/fstab ist in meiner Mail vom 28.09.04. Ergänzend dazu : ro999:~ # ls -l /etc/mtab -rw-r--r-- 1 root root 247 2004-09-29 11:32 /etc/mtab ro999:~ # mount /etc/mtab mount: Konnte /etc/mtab nicht in /etc/fstab oder /etc/mtab finden ro999:~ # Für die Hilfe schon mal im voraus vielen Dank. Gruß Rolf