Re: [gentoo-user] hard disk name changes within initramfs

2012-12-10 Thread Gregory Shearman
In linux.gentoo.user, you wrote: * Helmut Jarausch jarau...@igpm.rwth-aachen.de [121206 09:27]: Hi, on one of several machines I have a problem with initramfs. The machine has a single SATA drive. When the kernel boots it shows that it is called /dev/sda, Now, within the init

[gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread Helmut Jarausch
Hi, on one of several machines I have a problem with initramfs. The machine has a single SATA drive. When the kernel boots it shows that it is called /dev/sda, Now, within the init script of my initramfs it tries to mount /dev/sda2 as root but fails. Since the initramfs spawns a shell

Re: [gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread Todd Goodman
* Helmut Jarausch jarau...@igpm.rwth-aachen.de [121206 09:27]: Hi, on one of several machines I have a problem with initramfs. The machine has a single SATA drive. When the kernel boots it shows that it is called /dev/sda, Now, within the init script of my initramfs it tries to

Re: [gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread Paul Hartman
On Thu, Dec 6, 2012 at 8:31 AM, Todd Goodman t...@bonedaddy.net wrote: Once you find the UUID to use it's easy and alleviates lots of problems in the future. I agree. Depending on your setup and bootloader you may need to use labels instead of UUID. /sbin/blkid can tell you the names, labels

Re: [gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread J. Roeleveld
Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, on one of several machines I have a problem with initramfs. The machine has a single SATA drive. When the kernel boots it shows that it is called /dev/sda, Now, within the init script of my initramfs it tries to mount /dev/sda2 as

Re: [gentoo-user] hard disk name changes within initramfs

2012-12-06 Thread Helmut Jarausch
Many thanks to Todd, Paul and J. Roeleveld. I have replaced device names like /dev/sda1 by UUIDs in my fstab which I have copied to /usr/src/initramfs/etc, as well. Having rebuild the kernel (with an integrated initramfs) seems to work. Thanks again, Helmut.