GNU GRUB - Falsch ausgerichtete Anzeige / Bildschirm

975
comp500

Ich habe Ubuntu 12.04 mit Windows 7 installiert und vor kurzem auf Ubuntu 12.10 aktualisiert. Ubuntu hat das GRUB- 2.00-7ubuntu11Startmenü (Version ) installiert . Als ich zum ersten Mal Ubuntu bekam, habe ich das Standard-Betriebssystem auf Windows 7 geändert. Jetzt habe ich einen Begrüßungsbildschirm / Hintergrund hinzugefügt, der falsch ausgerichtet ist, versetzt von der rechten und der unteren Seite des Bildschirms. In der GRUB-Konfigurationsdatei habe ich:

# If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration'  GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda3)" #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"  # User added background GRUB_BACKGROUND=/home/comp500/Pictures/grubsplashv2.png  GRUB_GFXMODE=1366x768 

Wie würde ich es an meine Bildschirmgröße anpassen? (1366x768, Dell S1909WN-Monitor, nur ein Monitor) Bei dem Startbildschirm handelt es sich um eine .png-Datei, die in gimp mit einer Auflösung von 1366x768 erstellt wurde, jedoch mit dem Menü versetzt ist. (Richtig ausgerichtet auf das Menü) Ich habe vbeinfo gefunden und festgestellt, dass 1366x768 nicht unterstützt wird, GRUB_GFXMODEaber wenn ich es auf 1024x768 eingestellt habe, ändert sich nichts. (Ich habe update-grub gemacht.) Update: Ich habe den Menübildschirm meines Monitors überprüft und besagt, dass GRUB bei 1024 x 768 ausgeführt wird. Wenn ich die Funktion zum automatischen Ausrichten verwende, wird er teilweise ausgerichtet. Gibt es eine Möglichkeit, GRUB-Anzeigen bei 1366 x 768 oder 1024 x 768 in der Mitte meines 1366 x 768-Bildschirms zu erstellen? Beim Start von Ubuntu und Windows ist die Auflösung vollständig und wie üblich korrekt ausgerichtet.

2

1 Antwort auf die Frage

1
hmv9999

I know it's not very helpful (at least, not to me!), but I found that commenting the GRUB_GFXMODE option aligns the background image correctly. The reason this didn't help me much is that it

  1. caused loss of resolution to the background image
  2. changed the resolution and alignment of all other elements
  3. (worst of all) caused strange color issues with image elements where they grew darker while scrolling through the boot menu

This isn't the solution, but perhaps it's a step in the right direction?