Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
new hdd - sda and sdb change
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wtq4er
n00b
n00b


Joined: 18 May 2012
Posts: 17

PostPosted: Fri May 25, 2012 12:57 pm    Post subject: new hdd - sda and sdb change Reply with quote

i plugged another hdd so i have trouble with those sda/sdb jumps. earlier i solved it with using parameters to kernel root=UUID=<...> in grub2, but i didn't work with grub legacy. My grub.conf now is
Quote:

title Gentoo Linux 3.2.12-gentoo
root (hd0,1)
kernel /boot/vmlinuz-3.2.12-gentoo root=UUID=fd639205-d067-4c02-8fba-7bae55b7bae6

title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1


how do i use UUID instead of root (hd0,1) ?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9883
Location: almost Mile High in the USA

PostPosted: Fri May 25, 2012 1:15 pm    Post subject: Reply with quote

LABEL=/UUID= does not work without using an initrd/initramdisk that will help the kernel figure out what these things mean. You can use genkernel http://www.gentoo.org/doc/en/genkernel.xml to build an initrd.

(hmm... why is gentoo.org down as of writing this post...)

You still may need to use root () as this is a grub directive to point to the actual kernel and initrd files.

Easy solution is to just swap the SATA cables?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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