
David Haller schrieb:
Hallo,
Am Don, 29 Jun 2006, Stefan Fehlbier schrieb:
habe meine 10.1 umkopiert.
von root /dev/hda6 --> hda4 home /dev/hda7 --> hda6
mit der DVD kann ich auch das System starten sieht mal ja.
Doch ich bekomme den Grub nicht eingestellt so das ich booten kann menu.lst vom alten System:
Modified by YaST2. Last modification on Sa Mai 6 10:24:07 CEST 2006
color white/blue black/light-gray default 0 timeout 8 gfxmenu (hd0,5)/boot/message
Ersetze alle (hd0,5) [= hda6] durch (hd0,3) [= hda4] und analog alle (hd0,6) [= hda7] durch (hd0,5) [= hda6].
Ebenso musst du die root=/dev/hd* Eintraege anpassen.
Die Zeilen mit '\' am Ende sind _eine_ Zeile, die "initrd ..." sind in einer eigenen Zeile.
###Don't change this comment - YaST2 identifier: Original name: linux### title SUSE Linux 10.1 root (hd0,5) kernel /boot/vmlinuz root=/dev/hda6 vga=normal splash=silent showopts initrd /boot/initrd
title SUSE Linux 10.1 root (hd0,3) kernel /boot/vmlinuz root=/dev/hda4 vga=normal splash=silent showopts initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: floppy### title Diskette chainloader (fd0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- SUSE Linux 10.1 root (hd0,5) kernel /boot/vmlinuz root=/dev/hda6 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3 initrd /boot/initrd
title Failsafe -- SUSE Linux 10.1 root (hd0,3) kernel /boot/vmlinuz root=/dev/hda4 vga=normal showopts \ ide=nodma apm=off acpi=off noresume nosmp noapic \ maxcpus=0 edd=off 3 initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: dos### title Windows XP chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: memtest86### title Speichertest kernel (hd0,5)/boot/memtest.bin
title Speichertest kernel (hd0,3)/boot/memtest.bin
RTFM: info grub
fstab vom neuen System:
#/dev/hda6 / xfs defaults 1 1 #/dev/hda7 /home auto noacl 1 2 /dev/hdb1 /tauschen auto rw,users,umask=000,utf8=true 0 0 /dev/hda8 swap swap defaults 0 0 [..] /dev/sdb4 /media/Stick auto rw,noauto,users,umask=000 0 0 /dev/hda4 / xfs defaults 1 1 /dev/hda6 /home auto noacl 1 2
Setz die korrigierten Eintraege nach vorne, direkt hinter die auskommentierten alten.
Denn die Partitionen werden in der Reihenfolge gemountet in der sie in der fstab stehen.
Und raeume den Rest mal ein bisserl auf, du darfst auch Leerzeilen verwenden was die Ubersicht foerdert. Und du darfst die Eintraege auch gruppieren.
==== /dev/hda8 swap swap defaults 0 0 /dev/hda4 / xfs defaults 1 1
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/hda6 /home auto noacl 1 2 /dev/hdb1 /tauschen auto rw,users,umask=000,utf8=true 0 0
/dev/hda1 /dos vfat ro,noauto,user 0 0 /dev/sda1 /daten ntfs ro,noauto,user,umask=000 0 0
/dev/sdc1 /media/USB auto rw,noauto,users,umask=000 0 0 /dev/sdb4 /media/Stick auto rw,noauto,users,umask=000 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0 /dev/dvdrecorder /media/dvdrecorder auto ro,noauto,user,exec 0 0 ====
Sieht doch gleich viel uebersichtlicher aus ;) Wenn du mal wie ich allein 30 Eintraege mit '/dev/hd*' hast...
-dnh
Danke an alle die geholfen haben, es klappt wieder :-)))))))))))))))))))) juhu Danke Stefan -- Um die Liste abzubestellen, schicken Sie eine Mail an: suse-linux-unsubscribe@suse.com Um eine Liste aller verfuegbaren Kommandos zu bekommen, schicken Sie eine Mail an: suse-linux-help@suse.com