<div dir="ltr"><div style="margin:0px;padding:0px;color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><span style="line-height:22.3999996185303px">and then I tried it on my computer:</span><br></div><div style="margin:0px;padding:0px"><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"><br></div><div style="margin:0px;padding:0px"><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">bmike1@c521 ~ $ sudo blkid</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">[sudo] password for bmike1: </div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">/dev/sda1: UUID="f35e1797-4cdb-4930-a740-b424afbf61c7" TYPE="ext4" </div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">/dev/sda3: UUID="7ca483d5-70b1-4449-a2dd-99d5ce8601f1" TYPE="ext4" </div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">/dev/sda5: UUID="b45d28c4-edc6-4f9a-a80b-144e20197cf8" TYPE="swap" </div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"><span style="line-height:22.3999996185303px">bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8 /mnt/sda6</span><br></div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">mount: no such partition found</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">bmike1@c521 ~ $ sudo mount -Lb45d28c4-edc6-4f9a-a80b-144e20197cf8 /mnt/sda2</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">mount: no such partition found</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"><span style="line-height:22.3999996185303px">bmike1@c521 ~ $ </span><br></div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><br></div><div style><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px">But then, as I was searching man just now, I think I found why it failed:</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"> </div><div style="margin:0px;padding:0px"><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"> Mount by label or uuid will work only if your devices have the names</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"> listed in /proc/partitions. In particular, it may well fail if the</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px;margin:0px;padding:0px"> kernel was compiled with devfs but devfs is not mounted.</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><br></div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">and after looking into /proc/partitions see they aren't there. How could I put the labels into /proc/partitions?</div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"><br></div><div style><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px">bmike1@c521 ~ $ cat /proc/partitions</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px">major minor #blocks name</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"><br></span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"> 8 0 244140625 sda</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"> 8 1 24148992 sda1</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"> 8 2 1 sda2</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"> 8 3 214134784 sda3</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"> 8 5 5855661 sda5</span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px">bmike1@c521 ~ $ </span></font></div><div style><font color="#282828" face="helvetica, arial, sans-serif"><span style="font-size:14px;line-height:22.3999996185303px"><br></span></font></div><div style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px"> Could I open a text editor and manually append them after sda? ?</div></div></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">:-)~MIKE~(-:</div></div>
<br><div class="gmail_quote">On Thu, Jan 1, 2015 at 12:02 PM, Michael Havens <span dir="ltr"><<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(40,40,40);font-family:helvetica,arial,sans-serif;font-size:14px;line-height:22.3999996185303px">How would you mount a partition by its UUID/label, when it's not listed in /dev by the UUID/label?</span><div><pre style="margin-right:auto;margin-left:auto;padding:1em;white-space:pre-wrap;border-radius:4px;color:rgb(0,0,0);border:1px solid rgb(201,201,201);overflow:auto;font-size:13px;line-height:18.2000007629395px;width:707.75px;background-color:rgb(250,250,250)!important"><span style="color:rgb(136,0,0)"># blkid</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>loop0</span><span style="color:rgb(102,102,0)">:</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"squashfs"</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>loop1</span><span style="color:rgb(102,102,0)">:</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"81200825-ccb6-4370-9e04-dbf763b0dbb6"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"ext3"</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>sda1</span><span style="color:rgb(102,102,0)">:</span><span> LABEL</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"/"</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"2639-4A0E"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"vfat"</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>sda5</span><span style="color:rgb(102,102,0)">:</span><span> LABEL</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"Puppy"</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"0a86140e-c4ec-4842-b2e0-7eb8c76b3a4e"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"ext4"</span><span> </span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>sda6</span><span style="color:rgb(102,102,0)">:</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"b6455bbc-9451-47f1-b0bb-2f6bdbb7d2fe"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"swap"</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>sda7</span><span style="color:rgb(102,102,0)">:</span><span> LABEL</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"Kubuntu"</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"c3401d73-0c85-43ba-abf5-dc18b525f3e7"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"ext4"</span><span>
</span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>sda8</span><span style="color:rgb(102,102,0)">:</span><span> LABEL</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"Files"</span><span> UUID</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"dfb4fb3b-b012-4f41-8bad-c563492a9f99"</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"ext4"</span><span> </span><span style="color:rgb(102,102,0)">/</span><span>dev</span><span style="color:rgb(102,102,0)">/</span><span>loop4</span><span style="color:rgb(102,102,0)">:</span><span> TYPE</span><span style="color:rgb(102,102,0)">=</span><span style="color:rgb(0,136,0)">"squashfs"</span><span>
</span><span style="color:rgb(136,0,0)"># mount -L 2639-4A0E /mnt/sda1</span><span>
mount</span><span style="color:rgb(102,102,0)">:</span><span> </span><span style="color:rgb(0,0,136)">no</span><span> such partition found
</span><span style="color:rgb(136,0,0)"># </span></pre><div><div>:-)~MIKE~(-:</div></div>
</div></div>
</blockquote></div><br></div>