Gentoo Archives: gentoo-user

From: "Petri Rosenström" <petri.rosenstrom@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Disk Labels in Handbook
Date: Thu, 10 Feb 2011 10:02:57
Message-Id: AANLkTim5wXxHw=AmQYF4aVdb8Jv-0KArd+0MRXPbCM=J@mail.gmail.com
In Reply to: Re: [gentoo-user] Disk Labels in Handbook by Alan McKinnon
1 On Wed, Feb 9, 2011 at 10:58 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > Apparently, though unproven, at 16:27 on Wednesday 09 February 2011, Mark
3 > Knecht did opine thusly:
4 >
5 >> On Wed, Feb 9, 2011 at 6:16 AM, Dale <rdalek1967@×××××.com> wrote:
6 >> > James wrote:
7 >> >> Hello,
8 >> >>
9 >> >> So looking at the handbook, I was wondering
10 >> >> why it does not describe how to use Disk Labels
11 >> >> during the installation process. Dunno.
12 >> >>
13 >> >> So I poised this question on gentoo-doc
14 >> >> and got this encouraging response from *JOSH*
15 >> >>
16 >> >> snip
17 >> >>
18 >> >>
19 >> >> James
20 >> >
21 >> > Given that some folks on here have ran into USB drives changing the order
22 >> > of partitions, I think this is a good idea.  If needed, they could at
23 >> > least introduce the subject then have it link to another page.  Even if
24 >> > it is the simplest label of using boot, root and such labels and maybe a
25 >> > mention that there are other ways to accomplish the same thing.
26 >> >
27 >> > I ran into this issue a while back when I added a hard drive and it was
28 >> > not easy to work with.  When I boot a CD/DVD, it sees them as hd*
29 >> > instead of sd* so that didn't help since the OS kernel sees them as sd*.
30 >> >
31 >> > It may be uphill to get this included or at least linked to something
32 >> > else explaining it but I think it is a good idea.  I also added myself
33 >> > to the bug as well.  I saw the post on -doc.
34 >> >
35 >> > Dale
36 >>
37 >> Following Walt's recent thread about his experiences using grub2 I
38 >> think getting folks used to disk labels at installation time, be they
39 >> names or even better UUID's, might fit in very well with installation
40 >> instructions that cover using grub2 instead of grub as a boot loader.
41 >
42 > From a practical perspective, fs labels are easier than GUIDs, so I would
43 > recommend labels. Users can invent their own descriptive labels at install
44 > time and enter that into fstab.
45 >
46 > "LABEL=SERVER1-ROOT" is not much more effort than "/dev/sda3"
47 >
48 > GUIDs are another story. They get autogenerated, are invariably displayed on
49 > the screen along with a huge number of other GUIDs (Murphy) and one has to
50 > copy paste the damn things into vi.
51 >
52 > GUIDs are great for ubuntu where an install script does all the heavy lifting,
53 > but Gentoo, being a vastly superior operating system, has made the
54 > devastatingly astounding assumption that users are actually able to think and
55 > type. Whodathunkedit?
56 >
57 > If we expect users to type stuff, we should set it up so they type easy stuff
58 > :-)
59 >
60 > --
61 > alan dot mckinnon at gmail dot com
62 >
63 >
64
65 Hi,
66
67 If you use vi(m) you don't have to type too much neither. Just use
68 :r!blkid /dev/sda in vi(m) and you have the UUID, with some additional
69 information, but the rest is just vi(m) magic.
70
71 Best regards
72 Petri