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

Grub Problem

Coolzero

Advanced Hacker
Hallo, ich wolltre unter Yast "Konfiguration des Bootloaders" starten, aber nichts passiert
wenn ich in der Konsole
Code:
yast2 bootloader &
eingeb kommt folgendes:
Code:
[2] 7318

Sonst passiert nix!

Was kann das sein???

Achja linux startet auch beim start nicht über Grub, muss immer mit der DVD starten!
 
OP
Coolzero

Coolzero

Advanced Hacker
nein es passiert rein garnichts!


Frag mich bitte keiner wieso, aber nach dem ich den rechner mehrfach neugestartet hab, lässt sich nun auch grup starten.......komisch!
 
OP
Coolzero

Coolzero

Advanced Hacker
und nun ist das Problem wieder da das bei
yast2 bootloader
garnichts passiert!

Und starten kann icha uch nur mit der Suse DVD, sonst kommt folgendes:

Code:
Grub Loading Stage 1.5,

Grub Loading,please wait
Error 22

Was kann das sein?
 
OP
Coolzero

Coolzero

Advanced Hacker
KAnn ich die Daten auch per Hand in die eine boot datei eintragen?
Welche Datei wäre das?
Und kann ich irgendwo von Hand eintragen wie grub booten soll?Also ich meine damit ich nicht jedesmal von cd starten muss, also ind en mbr!?
 

admine

Ultimate Guru
Du kannst den Bootloader vollständig ohne YaST konfigurieren.
Für das Auswahlmenü schau dir die /boot/grub/menu.lst an und zum Schreiben des Bootloaders gibt es "grub-install".
 
OP
Coolzero

Coolzero

Advanced Hacker
also /boot/grub/menu.lst sieht jetzt so aus:

Code:
# Modified by YaST2. Last modification on Sun Jan 20 16:23:10 CET 2008
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.23.14-ccj63
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.23.14-ccj63-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=0x314 resume=/dev/sda3 splash=silent showopts
    initrd /boot/initrd-2.6.23.14-ccj63-default
  

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.23.14-ccj63
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.23.14-ccj63-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd-2.6.23.14-ccj63-default

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN -- openSUSE 10.3 - 2.6.22.13-0.3
    root (hd0,2)
    kernel /boot/xen.gz 
    module /boot/vmlinuz-2.6.22.13-0.3-xen root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=0x314 resume=/dev/sda2 splash=silent showopts
    module /boot/initrd-2.6.22.13-0.3-xen

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,2)
    chainloader (hd0,0)+1

Ist das soweit ok?

Wie kann ich ihm mitteilen das er aus dem mbr bootet?
 
OP
Coolzero

Coolzero

Advanced Hacker
Also das hat immer noch nicht funktioniert,muss immer noch mit DVD starten!

Ich habe zwei Platten im Rechner, eine wo OpenSuse10.3 und Vista drauf sind und eine zweite die nur als Daten Platte dient mit einem fat Datensystem!

Die root Partition liegt auf /dev/sda3
Die Windows auf /dev/sda1
/home auf /dev/sda4

und /dev/sdb1 ist die Daten Festplatte!

Wie sollte dann der Grub aussehn das das starten funktioniert?
 

admine

Ultimate Guru
Coolzero schrieb:
Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.23.14-ccj63
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.23.14-ccj63-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=0x314 resume=/dev/sda3 splash=silent showopts
    initrd /boot/initrd-2.6.23.14-ccj63-default
An diesem Eintrag gefällt mir nicht die Angabe "resume=/dev/sda3", denn hier sollte deine Swap-Partition stehen. Es steht aber die /-Partition da.
Das solltest du ändern. Alles weitere dazu sieht gut aus.

Coolzero schrieb:
Code:
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,2)
    chainloader (hd0,0)+1
Und Windows auf erster Partition, dann sollte der Eintrag so aussehen:
Code:
title Windows
    rootnoverify (hd0,0)
    chainloader +1

Nach diesen Änderungen installiere Grub erneut in den MBR ... nutze aber diesmal folgendes Kommando "grub-install.unsupported".
Das ist eigentlich das Original-Skript und wurde in openSUSE 10.3 umbenannt.

Code:
grub-install.unsupported /dev/sda
 
OP
Coolzero

Coolzero

Advanced Hacker
So die datei sieht nun so aus:
Code:
# Modified by YaST2. Last modification on Mon Jan 21 12:19:30 CET 2008
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.23.14-ccj63
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.23.14-ccj63-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=0x314 resume=/dev/sda2 splash=silent showopts  
    initrd /boot/initrd-2.6.23.14-ccj63-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.23.14-ccj63
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.23.14-ccj63-default root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3
    initrd /boot/initrd-2.6.23.14-ccj63-default

###Don't change this comment - YaST2 identifier: Original name: xen###
title XEN -- openSUSE 10.3 - 2.6.22.13-0.3
    root (hd0,2)
    kernel /boot/xen.gz 
    module /boot/vmlinuz-2.6.22.13-0.3-xen root=/dev/disk/by-id/scsi-SATA_SAMSUNG_HD501LJS0MUJ1KP943741-part3 vga=0x314 resume=/dev/sda2 splash=silent showopts
    module /boot/initrd-2.6.22.13-0.3-xen

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows 
    rootnoverify (hd0,0) 
    chainloader +1

Aber ich muss immer noch mit der Dvd starten, da ich diesen Fehler immer noch bekomme:
Code:
Grub Loading Stage 1.5, 

Grub Loading,please wait 
Error 22

Hab den eindruck der versucht von der falschen Platte zu booten!?
 
OP
Coolzero

Coolzero

Advanced Hacker
bei fdsik kommt das:

Code:
fdisk -l

Platte /dev/sda: 500.1 GByte, 500107862016 Byte
255 heads, 63 sectors/track, 60801 cylinders
Units = Zylinder of 16065 * 512 = 8225280 bytes
Disk identifier: 0x087fbece

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1       25497   204800000    7  HPFS/NTFS
Partition 1 endet nicht an einer Zylindergrenze.
/dev/sda2           25498       28001    20113380   82  Linux Swap / Solaris
/dev/sda3   *       28002       32001    32130000   83  Linux
/dev/sda4           32002       60801   231336000   83  Linux

Platte /dev/sdb: 500.1 GByte, 500107862016 Byte
255 heads, 63 sectors/track, 60801 cylinders
Units = Zylinder of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00041fc1

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sdb1               1       60801   488384001    c  W95 FAT32 (LBA)
 

towo

Moderator
Teammitglied
Kannst Du dein Linux mal per DVD starten, die Grubshell per grub öffnen und die Ausgabe von find /boot/grub/stage1 posten?

Aus der Grubshell kommst Du per quit dann wieder raus.
 
Oben