• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Wo wird "resume" festgelegt?

Falkenstein

Hacker
Hallo!
Situation:
Ich stecke nach einem "smart"-Update in einem System ohne initrd in /boot.
Smart hat ein Kernelupdate gemacht, dieses bleibt jedoch beim Anlegen der Ramdisk stecken.
Also alter Kernel ist schon weg, neu starten ginge wahrscheinlich nur über Rescue.
Wo wird denn diese "resume"-Partition eingetragen, bzw. woher bezieht "mkinitrd" diese Information?

Seht selbst:

06:47:51 [root@pierre][/boot/grub]$ cat menu.lst
# Modified by YaST2. Last modification on Sun Feb 24 00:42:19 CET 2008
default 0
timeout 2
gfxmenu (hd0,4)/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux-neu###
title openSUSE 10.3 - 2.6.22.18-97
root (hd0,4)
kernel /vmlinuz-2.6.22.18-97-default root=/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part11 vga=0x317 splash=silent showopts resume=/dev/sda12
initrd /initrd-2.6.22.18-97-default

###Don't change this comment - YaST2 identifier: Original name: failsafe-neu###
title Failsafe -- openSUSE 10.3 - 2.6.22.18-97
root (hd0,4)
kernel /vmlinuz-2.6.22.18-97-default root=/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part11 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
initrd /initrd-2.6.22.18-97-default

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Diskette
rootnoverify (hd0,4)
chainloader (fd0)+1

06:48:27 [root@pierre][/]$ mkinitrd

Kernel image: /boot/vmlinuz-2.6.22.18-97-default
Initrd image: /boot/initrd-2.6.22.18-97-default
Root device: /dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part11 (/dev/sda11) (mounted on / as ext3)
Resume device: /dev/sda12
Da hängts nun....


07:04:35 [root@pierre][/]$ 07:04:43 [root@pierre][/boot]$ fdisk -l

Platte /dev/sda: 41.1 GByte, 41174138880 Byte
255 heads, 63 sectors/track, 5005 cylinders
Units = Zylinder of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0003d678

GerÀt boot. Anfang Ende Blöcke Id System
/dev/sda1 1 5005 40202631 f W95 Erw. (LBA)
/dev/sda5 * 1 102 819252 83 Linux
/dev/sda6 103 255 1228941 83 Linux
/dev/sda7 256 957 5638783+ 83 Linux
/dev/sda8 958 1404 3590496 83 Linux
/dev/sda9 1405 3189 14337981 83 Linux
/dev/sda10 3190 3699 4096543+ 83 Linux
/dev/sda11 3700 4493 6377773+ 83 Linux
/dev/sda12 4494 5005 4112608+ 82 Linux Swap / Solaris

Platte /dev/sdb: 82.3 GByte, 82348277760 Byte
255 heads, 63 sectors/track, 10011 cylinders
Units = Zylinder of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cca8f

GerÀt boot. Anfang Ende Blöcke Id System
/dev/sdb1 1 3264 26218048+ 83 Linux
/dev/sdb2 3265 10011 54195277+ 83 Linux
07:05:06 [root@pierre][/boot]$

07:05:06 [root@pierre][/boot]$ cat /etc/fstab
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part11 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part5 /boot ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_HDS728080PLAT20_PFD215S6RM0J0M-part1 /home reiserfs defaults 1 2
/dev/disk/by-id/scsi-SATA_HDS728080PLAT20_PFD215S6RM0J0M-part2 /local reiserfs defaults 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part8 /opt ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part6 /tmp ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part9 /usr ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part10 /usr/local ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part7 /var ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_IC35L040AVVA07-_VNC202A2L93MAA-part12 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
07:06:23 [root@pierre][/boot]$


Dankbar für alle Tips.
 

Rainer Juhser

Moderator
Teammitglied
Unter "resume" ist die SWAP-Partition eingetragen; das ist für "Suspend to Disk". Mit deinem Problem hat das eher weniger zu tun.
 
OP
Falkenstein

Falkenstein

Hacker
Ok, kannst du einkreisen warum er bei dieser Zeile in "mkinitrd" hängt?
Die Partitionstabelle ist ok, mit einem logischen Laufwerk in erweiterter Partition als aktiv?
War mir nicht sicher, ist schon wat her dass ich die Tabelle mal verändern musste.
Im Hinterstübchen klickert irgendwas bei diesem Fehler, ich komm nich drauf... :)
Fehlen mit Sicherheit irgendwelche devel-Pakete???
 
Oben