Siduction Forum

Siduction Forum => Software - Support => Topic started by: bluelupo on 2013/01/30, 17:32:49

Title: [gelöst] grub Probleme
Post by: bluelupo on 2013/01/30, 17:32:49
Hallo zusammen,
habe nach dem heutigen d-u festgestellt das GRUB mir den neuen Kernel 3.7.5 im Bootmenü nicht anbietet obwohl er installiert ist. Ein update-grub bringt folgende Meldung:

GRUB >= 2.00 has been unpacked but not yet configured.
grub-mkconfig will not work until the upgrade is complete.
It should run later as part of configuring the new GRUB packages.


Momentaner aktiver Kernel

# uname -r
3.7-4.towo-siduction-amd64



# dpkg -l|grep -i grub
ii  grub-common        2.00-12    amd64   GRand Unified Bootloader (common files)
ii  grub-efi-amd64-bin 2.00-12    amd64   GRand Unified Bootloader, version 2 (EFI-AMD64 binaries)
ii  grub-pc            2.00-12    amd64   GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  grub-pc-bin        2.00-12    amd64   GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii  grub2-common       2.00-12    amd64   GRand Unified Bootloader (common files for version 2)

# dpkg -l|grep -i linux-image
ii  linux-image-3.7-2.towo-siduction-amd64  3.7-6     amd64        Linux 3.7 for 64-bit PCs
ii  linux-image-3.7-4.towo-siduction-amd64  3.7-9     amd64        Linux 3.7 for 64-bit PCs
ii  linux-image-3.7-5.towo-siduction-amd64  3.7-10    amd64        Linux 3.7 for 64-bit PCs
ii  linux-image-siduction-amd64             3.7-10    amd64        Linux image for siduction on 64-bit PCs


Wie bekomme ich den aktuellen 3.7.5er Kernel zum Laufen?

EDIT: So sah der d-u au heute (lief ohne Fehler durch).

Start-Date: 2013-01-30  16:50:38
Commandline: apt-get dist-upgrade
Install: linux-headers-3.7-5.towo-siduction-amd64:amd64 (3.7-10), linux-image-3.7-5.towo-siduction-amd64:amd64 (3.7-10)
Upgrade: plasma-desktopthemes-artwork:amd64 (4.8.4-2, 4.8.4-5), syslinux:amd64 (4.06+dfsg-3, 5.00+dfsg-1), python-cupshelpers:amd64 (1.3.7-3, 1.3.7-4), sysvinit-utils:amd64 (2.88dsf-38, 2.88dsf-39), xsane:amd64 (0.998-3+b1, 0.998-4), libcairo-gobject2:amd64 (1.12.2-2, 1.12.2-2.1), vokoscreen:amd64 (1.4.3~siduction.1, 1.4.5~siduction.1), perl:amd64 (5.14.2-16, 5.14.2-17), phonon:amd64 (4.6.0.0-2, 4.6.0.0-3), perl-base:amd64 (5.14.2-16, 5.14.2-17), syslinux-common:amd64 (4.06+dfsg-3, 5.00+dfsg-1), libcairo2:amd64 (1.12.2-2, 1.12.2-2.1), perl-modules:amd64 (5.14.2-16, 5.14.2-17), xsane-common:amd64 (0.998-3, 0.998-4), grub-pc:amd64 (1.99-27, 2.00-12), linux-headers-siduction-amd64:amd64 (3.7-9, 3.7-10), system-config-printer-udev:amd64 (1.3.7-3, 1.3.7-4), libphonon4:amd64 (4.6.0.0-2, 4.6.0.0-3), cdrdao:amd64 (1.2.3-0.3, 1.2.3-1), grub-pc-bin:amd64 (1.99-27, 2.00-12), libtiff4:amd64 (3.9.6-10, 3.9.6-11), libperl5.14:amd64 (5.14.2-16, 5.14.2-17), zim:amd64 (0.58-1, 0.59-1), dos2unix:amd64 (6.0.2-1, 6.0.3-1), libvdpau1:amd64 (0.4.1-7, 0.4.1-8), grub-efi-amd64-bin:amd64 (1.99-27, 2.00-12), ca-certificates-java:amd64 (20121112+nmu1, 20121112+nmu2), linux-image-siduction-amd64:amd64 (3.7-9, 3.7-10), grub-common:amd64 (1.99-27, 2.00-12), grub2-common:amd64 (1.99-27, 2.00-12), libexif12:amd64 (0.6.20-3, 0.6.21-1), sysv-rc:amd64 (2.88dsf-38, 2.88dsf-39), libgstreamer0.10-0:amd64 (0.10.36-1, 0.10.36-1.1), initscripts:amd64 (2.88dsf-38, 2.88dsf-39), sysvinit:amd64 (2.88dsf-38, 2.88dsf-39)
End-Date: 2013-01-30  16:51:37
Title: grub Probleme
Post by: qwerthi on 2013/01/30, 19:44:37
Hallo bluelupo,
ich habe die alten installierten grup-pakete zuerst gepurged,
dann die neuen installiert.Dabei wird /etc/default/grub ,
/etc/grub.d und /boot/grub gelöscht und wieder neu angelegt.
Dabei kannst du wählen, wo grub installiert werden soll (bei mir /dev/sda).
Ein anschließendes update-grub bindet dir den neuen kernel ein.

Gruß, qwerthi.
Title: grub Probleme
Post by: bluelupo on 2013/01/30, 20:42:42
Hi qwerthi,
das Problem kam nur von der mit Nein beantworteten Standard-Frage (beim d-u) ob die GRUB-Config angepasst werden soll. Das verändert die Datei /etc/grub.d/00_header natürlich nicht und erzeugt nur ein neues Configfile im selben Verzeichnis mit dem Namen 00_header.dpkg-dist.

Die Lösung geht so:

# cd /etc/grub.d/
# mv 00_header /tmp   # alte Config wegsichern
# mv 00_header.dpkg-dist 00_header   # neues Configfile auf Originalname ändern
# dpkg-reconfigure grub-pc    # Reconfigure von grub-pc


Das Kommando dpkg-reconfigure richtet GRUB2 neu ein und bindet den aktuellen Kernel wieder ins Bootmenü ein.
Title: RE: grub Probleme
Post by: agaida on 2013/01/30, 21:02:28
eine andere Variante wäre natürlich:

rm /etc/grub.d/00_h*
apt-get --reinstall install $foo


btw. bitte ändert nicht in Erstellungsscripts rum, das gibt immer Ärger bei upgrades. Und wirklichen Sinn macht das meist auch nicht.