View previous topic :: View next topic |
Author |
Message |
Skilfinger n00b
Joined: 15 Aug 2007 Posts: 12
|
Posted: Wed Aug 15, 2007 9:37 pm Post subject: [solved] Grub Konfigurationsprobleme |
|
|
Ich bin gerade dabei Gentoo zu installieren, nur leider fa:llt mir das ganze stellenweise nicht so einfach.
Ich bin schon bei dem Schritt mir Grub einzurichten. Nur leider ist das nicht so einfach wie ich dachte. Ich kann anscheinend nicht auf meine (sd0,4) "/dev/sda4" den Grub installieren und einrichten. Ich bekomme immer den Error 23. Leider kann ich diesen Fehler nicht beheben. Ich habe auch keine eigene boot Partition eingerichtet, diese halt ich nicht fu:r no:tig und ist bei mir auch nicht mo:glich, denn ich habe schon 5 Partitionen auf deiser Festplatte.
MFG
Skilfinger
Last edited by Skilfinger on Thu Aug 16, 2007 2:52 am; edited 1 time in total |
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2229 Location: My own world! I and Gentoo!
|
Posted: Wed Aug 15, 2007 9:41 pm Post subject: |
|
|
Grub kennt nur hd benutz am einfachsten die TabCompletion also drücke 2*Tab um zu sehen was du eingeben darfst.
Bei /dev/sda4 hieße es dann:
Code: | root (hd0,3)
kernel /boot/deinkernelname
#falls mit genkernel
initrd /boot/deininitramfsname |
_________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2)
Last edited by Max Steel on Wed Aug 15, 2007 9:44 pm; edited 1 time in total |
|
Back to top |
|
|
c_m Guru
Joined: 29 Jun 2005 Posts: 358
|
|
Back to top |
|
|
Skilfinger n00b
Joined: 15 Aug 2007 Posts: 12
|
Posted: Wed Aug 15, 2007 9:42 pm Post subject: |
|
|
Dann wäre das nach deiner Ausführung also die (hd1,4) oder wie darf ich das Interpretieren? |
|
Back to top |
|
|
dertobi123 Retired Dev
Joined: 19 Nov 2002 Posts: 2679 Location: Oberhausen, Germany
|
|
Back to top |
|
|
Skilfinger n00b
Joined: 15 Aug 2007 Posts: 12
|
Posted: Wed Aug 15, 2007 10:50 pm Post subject: |
|
|
Danke soweit fuer die schnellen antworten. Die Platte liegt dann wohl in hd1,4. Aber nun kommt das naechste Problem. Immer wenn ich setup (hd1,4) eingbe kommt andauernd Code: | Highlighted entry is: 0 |
Ich weiss nicht wie ich daraus kommen soll geschweige denn wie ich das wegbekomme.
Grub funktioniert nun einwandfrei. Aber wenn ich das System starte muss ich mich anmelden. Ich weiss aber nicht das standard root PW und ich musste auch keines bei der installation angeben... |
|
Back to top |
|
|
Max Steel Advocate
Joined: 12 Feb 2007 Posts: 2229 Location: My own world! I and Gentoo!
|
Posted: Thu Aug 16, 2007 10:01 am Post subject: |
|
|
also,
Bei Grub ist
/dev/sda1 (hd0,0)
/dev/sda2 (hd0,1)
/dev/sda3 (hd0,2)
/dev/sda4 (hd0,3)
.
.
.
/dev/sdb1 (hd1,0)
/dev/sdb2 (hd1,1)
/dev/sdb3 (hd1,2)
/dev/sdb4 (hd1,3)
.
.
.
etc.
Denn Grub zählt immer von 0 an
hd0,0
erste 0 = Festplatte (erste FP am ersten Controller)
zweite 0 = Partition auf FP (erste Partition)
Zur Sache mit dem rootPW:
- Lege deine InstallCD ein
- Hole dir eine Konsole
- Mounte deine Partitionen alle, um dann chroot dorthin zu machen
Code: | mount /dev/sda4 /mnt/gentoo/
etc.
chroot /mnt/gentoo /bin/bash |
tippe passwd in die chroot ein.
_________________ mfg
Steel
___________________
Heim-PC: AMD Ryzen 5950X, 64GB RAM, GTX 1080
Laptop: Intel Core i5-4300U, 16GB RAM, Intel Graphic
Arbeit-PC: Intel i5-1145G7, 16GB RAM, Intel Iris Xe Graphic (leider WSL2) |
|
Back to top |
|
|
|
|
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
|
|