[Bug 223608] New: root= incomplete with mount by uuid
https://bugzilla.novell.com/show_bug.cgi?id=223608 Summary: root= incomplete with mount by uuid Product: openSUSE 10.2 Version: RC 1 Platform: PowerPC OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: yast2-maintainers@suse.de ReportedBy: olh@novell.com QAContact: jsrain@novell.com CC: power-bugs@forge.provo.novell.com 10.2rc1 on cantaloupe.suse.de, pegasos 'root=/dev/disk/by-uuid/' is the result in lilo.conf if 4 partitions will be removed in yast and 2 new should be created. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 ------- Comment #1 from olh@novell.com 2006-11-24 05:50 MST ------- Created an attachment (id=106836) --> (https://bugzilla.novell.com/attachment.cgi?id=106836&action=view) bug223608.tar.bz2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |olh@novell.com ------- Comment #2 from sh@novell.com 2006-11-24 06:33 MST ------- I don't quite understand the problem description. Please elaborate. Is it bootloader related or storage related? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|olh@novell.com | ------- Comment #3 from olh@novell.com 2006-11-24 06:50 MST ------- if I do not change the partition layout, mount by uuid will work, root=/dev/disk/by-uuid/longstring will endup in lilo.conf if I do remove and add partitions, mount by uuid will not work, root=/dev/disk/by-uuid/ will end up in lilo.conf I dont really understand how both can be different, because the used filesystem UUID is not known before the actual mkfs anyway. (Unless yast2-storage generates the filesystem UUID itself, instead of letting mkfs pick a UUID.) Happens not only on amiga disk label, also on mac disk label. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 olh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|root= incomplete with mount |root= incomplete with mount by uuid after |by uuid |repartitioning -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 ------- Comment #4 from olh@novell.com 2006-11-24 07:10 MST ------- another case is in the logs from bug #223619 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 sh@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |fehr@novell.com Status|ASSIGNED |NEW -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 fehr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@novell.com AssignedTo|fehr@novell.com |odabrunz@novell.com ------- Comment #5 from fehr@novell.com 2006-11-27 04:19 MST ------- Do not see what yast2-storage has to do with lilo.conf, this belongs to yast2-bootloader. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 odabrunz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #6 from odabrunz@novell.com 2007-02-02 12:01 MST ------- The bootloader configuration has been changed manually and AFAICT the changes have been accepted. In the logs I can see that MountByDev2Dev() is called then and it tries to translate the kernel device name to the mount-by UUID device name. Since the UUID is unknown yet, this produces the wrong device name "/dev/disk/by-uuid/". Later, when the configuration is actually saved to the disk, this device name cannot be translated to the correct name.
From looking at the log I am not 100% sure, but since the only user of MountByDev2Dev() is Save() and the only PPC-bootloader-related caller of Save() in the yast2-bootloader code itself is src/generic/wizards.ycp:GenericStoreSection() (which is also GUI code), I believe it has been called from there.
This call was unexpected from the translation code in Save(). But it is necessary to re-read the settings through the perl-Bootloader. For bug #239473 I already fixed MountByDev2Dev() to fall back to the kernel name when the specified mount-by device name is not available for some reason (in this bug, because yast2-storage only knows the UUID after formatting the partition). Applying that patch to STABLE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223608 Olaf Hering <olh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|Other |Development -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com