Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub2 und UUID Problem
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
deranonyme
Guru
Guru


Joined: 09 Jul 2005
Posts: 512

PostPosted: Sun Dec 14, 2014 12:44 pm    Post subject: Grub2 und UUID Problem Reply with quote

Hallo

Ich habe heute mal versucht nach grub2 zu migrieren. Nach anfänglichen Kernel panics habe ich festgestellt das ich als Bootoption nicht
Code:
linux /vmlinuz-3.16.5-gentoo [b]root=UUID=8f45e4b8-3cee-47d9-b85e-abaa02d045c5[/b] ro init=/usr/lib/systemd/systemd

sondern
Code:
linuc /vmlinuz-3.16.5-gentoo [b]root=/dev/sda2[/b] ro init=/usr/lib/systemd/systemd

benutzen muss.
Ich würde schon gern mit den UUIDs arbeiten, erfülle aber wohl irgendwelche Voraussetzungen dafür nicht. Kann mir da jemand auf die Sprünge helfen? Ich hab leider nichts gefunden. Gehen UUIDs nur mit initrd?

Danke
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5219

PostPosted: Sun Dec 14, 2014 1:39 pm    Post subject: Reply with quote

UUID= funktioniert nur mit einer initrd, welche diese syntax kennt.
Denn diese ist die UUID eines Dateisystems und keiner partition.
Der Kernel selber kommt nur mit direkter angabe von devices klar oder mit PARTUUID, welche eine UUID der partition ist und diese z.b. mit GPT als partitionstabelle existiert und nicht dem klassischen DOS partitions schema mit MBR.
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
deranonyme
Guru
Guru


Joined: 09 Jul 2005
Posts: 512

PostPosted: Sun Dec 14, 2014 2:12 pm    Post subject: Reply with quote

Okay, dann müsste ich grub2 so konfigurieren, dass er entweder Partitionen oder UUID mit initrd verwendet.
Danke
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