Feature changed by: Arvin Schnell (aschnell) Feature #302411, revision 26 Title: Always mount root-fs under /dev/root openSUSE-10.3: Rejected by Ihno Krumreich (ihno) reject date: 2007-09-26 11:51:40 reject reason: Not decited yet. So rejected. Priority Requester: Mandatory openSUSE-11.0: Rejected by Stephan Kulow (coolo) reject date: 2008-02-13 12:44:18 reject reason: We have a clear consense that we won't change anything for 11.0 that risks bootloader development (but rather concentrate on consolidating it) and as Jack outlined, it is a risk. Priority Requester: Mandatory openSUSE-11.2: Evaluation Priority Requester: Mandatory Projectmanager: Important Requested by: Hannes Reinecke (hreinecke) Description: The root filesystem should always be mounted at /dev/root, which in turn is a symlink to the actual device node. This way we don't have to edit /etc/fstab if the root device is named differently (ie for automatic booting from degraded mirrors etc). And it would help with having always a consistent /etc/fstab, as /dev/root will be always present. Documentation Impact: + Discussion: #1: Ihno Krumreich (ihno) (2007-07-27 11:52:12) Effort/risk in YaST / bootloader? #2: Stephan Kulow (coolo) (2007-11-19 22:44:38) (reply to #1) who do you ask? #3: Joachim Plack (jplack) (2008-01-14 13:58:33) In principle having a symbolic link for a root device does not make a problem. But _changing_ the symlink might make the current bootloader configuration inconsistent. E.g. Having root=/dev/root in the bootloader config and pointing to /dev/md0 (mirror) hints to duplicate the boot code to two disks, changing the symlink to point to a single disk changed the semantics of the config. So the risk is that by changing the symlink and doing a kernel update one might invalidate the boot configuration resulting in a possible unbootable system. #4: Matthias Eckermann (mge1512) (2008-06-06 09:15:25) (reply to #3) I understand the risk, but the feature itself sounds useful enough. Part of bootloader discussion. Not mandatory for now. #5: Stanislav Visnovsky (visnov) (2008-07-07 13:57:06) (reply to #4) Jiri, please, take a look. #7: Jiri Srain (jsrain) (2009-06-01 13:57:08) For GRUB configuration itself, the root= kernel parameter can be omited completly for standard installations (since initrd handles mounting root itself). I hope that just modifying the partitioner to write fstab should be sufficient in basic cased. However, since YaST needs to know which real device /dev/root is, it needs to exist during installation and be set properly (according to the target system). Probably just creating the symlink manually during installation after mounting the disk and writing fstab is sufficient? #8: Stephan Kulow (coolo) (2009-07-16 11:58:50) yast already handles /dev/root (checked with arvin) and the bootloader and /etc/fstab should not be touched. Just the initrd needs mount differently. + #9: Arvin Schnell (aschnell) (2009-07-16 12:10:50) (reply to #8) + YaST needs modification when /etc/fstab should contain /dev/root as the + device for root-fs (as the description says). After all YaST writes + /etc/fstab during installation. -- openSUSE Feature: https://features.opensuse.org/302411