Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Grub Konfigurationsprobleme
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
Skilfinger
n00b
n00b


Joined: 15 Aug 2007
Posts: 12

PostPosted: Wed Aug 15, 2007 9:37 pm    Post subject: [solved] Grub Konfigurationsprobleme Reply with quote

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
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2229
Location: My own world! I and Gentoo!

PostPosted: Wed Aug 15, 2007 9:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
c_m
Guru
Guru


Joined: 29 Jun 2005
Posts: 358

PostPosted: Wed Aug 15, 2007 9:41 pm    Post subject: Reply with quote

Grub kennt kein (sdX,X) ...
_________________
This must be thursday ...
Back to top
View user's profile Send private message
Skilfinger
n00b
n00b


Joined: 15 Aug 2007
Posts: 12

PostPosted: Wed Aug 15, 2007 9:42 pm    Post subject: Reply with quote

Dann wäre das nach deiner Ausführung also die (hd1,4) oder wie darf ich das Interpretieren?
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Wed Aug 15, 2007 9:44 pm    Post subject: Reply with quote

sda4 klingt mehr nach (hd0,3), GRUB fängt jeweils bei 0 an zu zählen, sowohl bei physikalischer Platte, als auch Partition. Wie schon erwähnt: hd0<tab> in der GRUB Konsole verrät dir mehr ;)
_________________
Ganz frisch: Praxisbuch Nagios
Gentoo Linux - Die Metadistribution (2. Auflage)
Back to top
View user's profile Send private message
Skilfinger
n00b
n00b


Joined: 15 Aug 2007
Posts: 12

PostPosted: Wed Aug 15, 2007 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Max Steel
Advocate
Advocate


Joined: 12 Feb 2007
Posts: 2229
Location: My own world! I and Gentoo!

PostPosted: Thu Aug 16, 2007 10:01 am    Post subject: Reply with quote

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:
  1. Lege deine InstallCD ein
  2. Hole dir eine Konsole
  3. Mounte deine Partitionen alle, um dann chroot dorthin zu machen
    Code:
    mount /dev/sda4 /mnt/gentoo/
    etc.
    chroot /mnt/gentoo /bin/bash

  4. tippe passwd in die chroot ein.
    Code:
    passwd

_________________
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
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