Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo reaktivieren nach Festplatten wechsel !SOLVED!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Tue May 16, 2006 2:26 pm    Post subject: Gentoo reaktivieren nach Festplatten wechsel !SOLVED! Reply with quote

hallo,

mein System vorher:

hda <--- WinXP --- > IDE ... musste ich ausbauen, weil die Platte viel zu laut war.

hdb <--- Gentoo ---> IDE

System nacher:

sda <--- WinXP ---> Sata

hda <--- OldGentoo --> IDE

was muss ich verändern, damit grub von der ersten Sata-Platte startet, oder kann ich grub auch auf die erste IDE-Platte installieren (reaktivieren) ?


CooSee ' Ya
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "


Last edited by CooSee on Tue May 16, 2006 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Tue May 16, 2006 2:39 pm    Post subject: Reply with quote

Hast Du denn noch das boot-Verzeichnis, oder lag das auf hda?
am einfachsten wäre es wohl, wenn du grub auf deine neue (alte) hda installierst.
Code:
grub-install /dev/hda


Vorraussetzung ist, dass Du dort das /boot hast und Dein Kernel und Grub-Config drin liegt. Im Bios musst Du dann noch von hda booten.
Alternativ ginge natürlich auch ein
Code:
grub-install /dev/sda
. Aber ich denke, dann muss auch die boot-Partition auf dieser Platte liegen. Bin mir da aber nicht ganz sicher.

Gruß
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Tue May 16, 2006 2:48 pm    Post subject: Reply with quote

BlackEye wrote:
Hast Du denn noch das boot-Verzeichnis, oder lag das auf hda?
am einfachsten wäre es wohl, wenn du grub auf deine neue (alte) hda installierst.
Code:
grub-install /dev/hda


Vorraussetzung ist, dass Du dort das /boot hast und Dein Kernel und Grub-Config drin liegt. Im Bios musst Du dann noch von hda booten.
Alternativ ginge natürlich auch ein
Code:
grub-install /dev/sda
. Aber ich denke, dann muss auch die boot-Partition auf dieser Platte liegen. Bin mir da aber nicht ganz sicher.

Gruß


hallo,

danke erstmal für die Antwort :-)

was ist mit der fstab?

OldGentoo hdb:

/dev/hdb1 /boot reiserfs noauto,noatime 1 2
/dev/hdb2 none swap sw 0 0
/dev/hdb3 / reiser4 noatime,nodiratime 0 1

alles zu hda machen? .. und dann grub-install /dev/sda? oder grub-install /dev/hda?


und grub.conf:

default 0
timeout 12
splashimage=(hd1,0)/boot/grub/splash.xpm.gz

title=Gentoo 2.6.16-beyond3-2
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd1,0)
kernel /boot/vmlinuz-2.6.16-beyond3-2 root=/dev/hdb3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tt
initrd (hd1,0)/fbsplash-emergence

title=Gentoo 2.6.16-emission2-1
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd1,0)
kernel /boot/vmlinuz-emission2-1 root=/dev/hdb3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tty1
initrd (hd1,0)/fbsplash-emergence

# Nur wenn Sie einen Dual-Boot einrichten moechten
title=Windows XP
rootnoverify (hd0,0) < ---- was muss hier stehen?
makeactive
chainloader +1


CooSee ' Ya
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Tue May 16, 2006 3:08 pm    Post subject: Reply with quote

In der fstab biegst Du einfach alles von hdb nach hda um. Das war es dann schon. für die grub.conf ist das ein wenig komplizierter. hd0 bezeichnet dort die erste Platte im System. Da Du nun eine S-ATA und IDE-Mischung hast, weiss ich nicht, welche Platte als hd0 beziffert werden wird. Ich gehe mal davon aus, dass es die Platte sein wird, von der im nachhinein gebootet werden soll (sicher bin ich mir aber nicht). Demnach sollte hd0 deine hda sein und hd1 die sda Platte (vorrausgesetzt Du hast im bios schon eingestellt, dass du von der ersten ide platte (also hda) booten möchtest).
Prinzipiell folgende Änderungen (in rot) in der grub.conf:

default 0
timeout 12
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo 2.6.16-beyond3-2
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd0,0)
kernel /boot/vmlinuz-2.6.16-beyond3-2 root=/dev/hda3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tt
initrd (hd0,0)/fbsplash-emergence

title=Gentoo 2.6.16-emission2-1
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd0,0)
kernel /boot/vmlinuz-emission2-1 root=/dev/hda3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tty1
initrd (hd0,0)/fbsplash-emergence

# Nur wenn Sie einen Dual-Boot einrichten moechten
title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1


in der Hoffnung, das hd0 auch hda ist ;-)
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1455
Location: Earth

PostPosted: Tue May 16, 2006 4:06 pm    Post subject: Reply with quote

BlackEye wrote:
In der fstab biegst Du einfach alles von hdb nach hda um. Das war es dann schon. für die grub.conf ist das ein wenig komplizierter. hd0 bezeichnet dort die erste Platte im System. Da Du nun eine S-ATA und IDE-Mischung hast, weiss ich nicht, welche Platte als hd0 beziffert werden wird. Ich gehe mal davon aus, dass es die Platte sein wird, von der im nachhinein gebootet werden soll (sicher bin ich mir aber nicht). Demnach sollte hd0 deine hda sein und hd1 die sda Platte (vorrausgesetzt Du hast im bios schon eingestellt, dass du von der ersten ide platte (also hda) booten möchtest).
Prinzipiell folgende Änderungen (in rot) in der grub.conf:

default 0
timeout 12
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo 2.6.16-beyond3-2
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd0,0)
kernel /boot/vmlinuz-2.6.16-beyond3-2 root=/dev/hda3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tt
initrd (hd0,0)/fbsplash-emergence

title=Gentoo 2.6.16-emission2-1
# Partition in der das Kernel-Image (oder das Betriebssystem) vorhanden ist
root (hd0,0)
kernel /boot/vmlinuz-emission2-1 root=/dev/hda3 video=vesafb:ywrap,mtrr:3,1280x1024-32@80 splash=verbose,fadein,theme:default console=tty1
initrd (hd0,0)/fbsplash-emergence

# Nur wenn Sie einen Dual-Boot einrichten moechten
title=Windows XP
rootnoverify (hd1,0)
makeactive
chainloader +1


in der Hoffnung, das hd0 auch hda ist ;-)



hallo,

DANKE, hat geklappt zum teil.

XP bootet automatisch von der Sata-Platte:-(

das macht aber nichts, habe hier das A8N-SLI-Deluxe und es gibt die Möglichkeit ein Bootmenü aufzurufen

und von der ersten IDE-Platte zu booten.

das mit dem XP eintrag in der grub.conf funktioniert nicht,....E G A L ;-)

thank's for all your help


CooSee ' Ya
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum