Felix Miata wrote:
On 2014-01-12 19:57 (GMT-0800) Linda Walsh composed:
LABEL's are only understood by linux -- so first you have to boot a linux to read the labels -- I found that out the "hard way" when I had to boot to 'S' and there were no labels...
This is a Linux mailing list, right? I see Windows, and various utilities and applications show me volume labels. What point are you trying to get across?
Sorry, wasn't clear. The Labels are only understood by something that understands the disk format you are booting from. In order for mount to mount things by label, most of the OS (including the udev daemon has to already be running. Strictly speaking, when you boot by using labels, you aren't *really* _booting_ by labels, since the OS has already been booted off the RAM disk so that it can read the labels. If your OS doesn't boot, you can't read the labels. But you can still mount by disk number and partition (sda1 sda2 sda3 sdb1 sdb2...etc).
-- so I reverted to boot from hard disk and haven't looked back.
Does any of the above paragraph have anything to do with anything previously written in this thread, the OP in particular?
It was suggested that booting by labels was a solution, to the OP, but first you need to find the ram-disk image and what partition it is on in order to boot the ram disk. So booting by labels requires knowing what disks (sda, sdb...) as well as the partition -- if those change dynamically, the normal boot process may not work.
I've mostly stopped using labels because something has to already be up to populate /dev/disk/by-*/ (i.e. the kernel needs to be booted and udev has to already have been called in the "boot" phase (i.e. /etc/boot.d/(scripts))... Only after the boot phase has done its stuff are "higher level" things like labels available.
If you're not using labels, what are you using, and why?
--- Using the device names -- as they are available before before the USER space comes up and can be brought up with a static snapshot of "/dev" (when udevd isn't running (or won't run)). So if you create a static "/dev/" directory on your root device filled with your system's devices needed for boot -- you can boot and mount your disks w/o udev. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org