From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bXYGq-0007tT-TG for mharc-grub-devel@gnu.org; Wed, 10 Aug 2016 14:30:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYGo-0007q8-FQ for grub-devel@gnu.org; Wed, 10 Aug 2016 14:30:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXYGi-0005bg-FK for grub-devel@gnu.org; Wed, 10 Aug 2016 14:30:25 -0400 Received: from smtp2.dds.nl ([83.96.147.103]:59116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYGi-0005Sf-9H for grub-devel@gnu.org; Wed, 10 Aug 2016 14:30:20 -0400 Received: from webmail.dds.nl (app1.dds.nl [81.21.136.61]) by smtp2.dds.nl (Postfix) with ESMTP id DA3F640CFF04 for ; Wed, 10 Aug 2016 20:29:54 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 10 Aug 2016 20:29:55 +0200 From: Xen To: grub-devel@gnu.org Subject: Re: A black window pop out after I select a boot entry in grub2 In-Reply-To: <0b4dde86a81cda9262c62c6e178ea520@dds.nl> References: <9689f631-a099-9284-1929-e64dae08c5d8@oracle.com> <0b4dde86a81cda9262c62c6e178ea520@dds.nl> Message-ID: <14fd7c6a82244c5f851896072c47db66@dds.nl> X-Sender: list@xenhideout.nl User-Agent: Roundcube Webmail/1.2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 83.96.147.103 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 18:30:27 -0000 Xen schreef op 10-08-2016 19:57: > There is no interface where partitions are subdirectories of disks? > There is no /dev/disk/sda/1/ Once you had a consistent interface to reference such "names" it would become easier to make the jump to a user-friendly operating system in terms of any pre-boot environment, is all I am saying. disk: to see all the disk drives would be very easy to teach people. disk:a:1 as a reference to the first partition on the first disk? It wouldn't be a directory, it would be a device node. At the same time it could allow the initrd root filesystem and the target root filesystem to be referenced by different names. Just an idea, I don't say it would be elegant right from the start. But it would be a user-centric way of approaching things. These days people use "root symlinks" (e.g. ln -s /sys/kernel/debug /debug) for these things. That's not a proper use of the root directory. It should be tidy, not littered with symlinks and other stuff you can't find a place for. I think the current wax in the expansion of the root filesystem (root directory) entries is alarming. /sys was recently added, /srv, /snap, /run, and your particular brand may have more. On a 64-bit system you have at least three /lib versions. It is getting out of hand. It is not something you can really navigate in a GUI. MacOS solves it by not going there anyway. You can do the same. For a proper GUI proper display of those "labels" would be most convenient I think. In the pre-boot rescue environment you could consider mounting disks and partitions under consistent and predictable locations as well as being accessed by e.g. "target:/" or ":target/". The current location could then be "rescue:/" as the actual path that you are at. "mount disk:a:1 target:" could then be even nomenclature for mounting that partition under that name. The real mount point would then be /mounts/target or /mnt/target. disk:a:1 would just point to /dev/disk/a/1 or something of the kind. What you get is a prefix in path names that will hopefully alleviate some confusion even as it could add more if not properly done. Honestly I still think those drive letters were best although there is no way to enumerate them. But adding labels and namespaced labels is a possibility. Coupled with a structured way of mounting things you could at least use them as shortcuts for getting there. Regards.