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

grub konfigurieren für linuxlivesystem

Hi,

ich habe ein kleines Problemchen mit dem konfigurieren von Grubs Menu.lst für Puredyne. Ich habe Puredynes Live-System auf eine extra Partition meiner Festplatte gepackt, wie hier beschrieben:
http://code.goto10.org/projects/puredyne/wiki/liveHDInstall-pd-lin
Ich habe nur eine Kleinigkeit anders gemacht. Statt die ISO zu mounten, habe ich die mit Unetbootin LiveUSB-Version genommen. D. h. die Iso mit Unetbootin auf einen Stick gepackt und von dort aus den Ordner "Live" kopiert.


Nun weiss ich aber nicht wie der Grubeintrag dieser Anleitung für mein System genutzt werden muss. Das Livesystem ist auf /dev/sda1

Menu.lst sieht so aus:
Code:
# Modified by YaST2. Last modification on Mo Jan  4 22:54:53 CET 2010
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part6 resume=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part5 splash=silent quiet showopts vga=0x314
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
    initrd /boot/initrd-2.6.31.5-0.1-desktop

title PUREDYNE Audio Distro
    root (hd0,1)
    kernel /live/vmlinuz1 ramdisk_size=100000 boot=live username=lintian persistent hostname=puredyne vga=791
    initrd /live/initrd1.img
    boot

Folgender Fehler kommt dann beim Startversuch von Puredyne: Error 17: Cannot mount selected partition.
Ich gehe von aus das die Zeile "root (hd0,1" falsch ist?! Wenn ja, was muss dort korrekterweise rein bzw. wie finde ich raus, was da rein muss?
 
Abgeändert. Jetzt kriege ich folgende Meldung:

root (hd0,0)
Filesystem type ist ext2fs, partition type 0x83
kernel /live/vmlinuz1 ramdisk_size=100000 boot=live username=lintian persistent hostname=puredyne vga=791

Error13: Invalid or unsupported executable format
 
Hm ... hier brauchen wir einfach noch mehr Angaben:
Poste bitte die Ausgabe von:
Code:
fdisk -l (kleines L),
cat /etc/fstab
cat /boot/grub/menu.lst
cat /boot/grub/device.map
 
bitteschön :)

Code:
linux-u2zz:/home/tomas # fdisk -l

Platte /dev/sda: 250.1 GByte, 250059350016 Byte
255 Köpfe, 63 Sektoren/Spuren, 30401 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Disk identifier: 0x000cc4c3

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1               1       15140   121612018+  83  Linux
/dev/sda2   *       15141       30401   122583982+   f  W95 Erw. (LBA)
/dev/sda5           15141       15402     2104483+  82  Linux Swap / Solaris
/dev/sda6           15403       18013    20972826   83  Linux
/dev/sda7           18014       30401    99506578+  83  Linux

linux-u2zz:/home/tomas # cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part5 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part6 /                    ext4       acl,user_xattr        1 1
/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part7 /home                ext4       acl,user_xattr        1 2
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


linux-u2zz:/home/tomas # cat /boot/grub/menu.lst                                
# Modified by YaST2. Last modification on Mo Jan  4 22:54:53 CET 2010           
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader                    
# Configure custom boot parameters for updated kernels in /etc/sysconfig/bootloader                                                                             

default 0
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,5)/boot/message
##YaST - activate           

###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part6 resume=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part5 splash=silent quiet showopts vga=0x314
    initrd /boot/initrd-2.6.31.5-0.1-desktop

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1
    root (hd0,5)
    kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
    initrd /boot/initrd-2.6.31.5-0.1-desktop

title PUREDYNE Audio Distro
    root (hd0,0)
    kernel /live/vmlinuz1 ramdisk_size=100000 boot=live username=lintian persistent hostname=puredyne vga=791
    initrd /live/initrd1.img

bootlinux-u2zz:/home/tomas # cat /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-WDC_WD2500JB-00REA0_WD-WCANKM556556
 
ok, die Konfigs sehen nicht schlecht aus.

Code:
Error13: Invalid or unsupported executable format
Diese Fehlermeldung bedeutet:
13 : Invalid or unsupported executable format
This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).
Ich vermute, dass das Problem eher an deiner "linuxlivesystem"-Installation liegt.
 
Ok, am besten nochmal mit Unetbootin draufziehen. Die Iso kanns nicht sein. Letztens als ich das System installierte auf den Stick ging es vom STick wunderbar.

Danke soweit
 
Boot-Vorgänge von
- CD/DVD
- CD/DVD über USB
- Festplatte (einschließlich "normale" USB-Datenträger)
sind drei unterschiedliche Dinge, die wenig bis nichts gemeinsam haben. Der von Dir verwendete Boot-Kernel ist entweder fehlerhaft oder nicht für Bootloader wie GRUB geeignet.
 
Oben