View previous topic :: View next topic |
Author |
Message |
wtq4er n00b
Joined: 18 May 2012 Posts: 17
|
Posted: Fri May 25, 2012 12:57 pm Post subject: new hdd - sda and sdb change |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9883 Location: almost Mile High in the USA
|
Posted: Fri May 25, 2012 1:15 pm Post subject: |
|
|
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 |
|
|
|