<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000099">
<br>
Bret Busby wrote:
<blockquote
cite="mid:Pine.LNX.4.64.0904030146290.3595@bretnewworkstation.busby.net"
type="cite">On Thu, 2 Apr 2009, Matt Brown wrote:
<br>
<br>
<blockquote type="cite"><br>
you can try this it might give you want you are looking for.
<br>
<br>
ls -l /dev/disk/by-uuid
<br>
<br>
On Thu, Apr 2, 2009 at 12:27 PM, Bret Busby <a class="moz-txt-link-rfc2396E" href="mailto:bret@busby.net"><bret@busby.net></a>
wrote:
<br>
<blockquote type="cite">On Thu, 2 Apr 2009, Mihamina Rakotomandimby
(R12y) wrote:
<br>
<br>
<blockquote type="cite"><br>
Bret Busby wrote:
<br>
<blockquote type="cite">The Debian fstab entry (I edited the
fstab file, to incorporate the
<br>
partition, from the Debian side) is
<br>
"
<br>
/dev/hdc8 /data ext3 defaults 0 0
<br>
"
<br>
</blockquote>
<br>
Ubuntu fstab uses UUID, this way.
<br>
# <file system> <mount point> <type>
<options> <dump> <pass>
<br>
proc /proc proc defaults 0 0
<br>
# /dev/sda1
<br>
UUID=8ee9b4b5-98f9-4849-93bf-cec44029ae8e /public ext3 defaults 0
0
<br>
<br>
The UUID is from the "vol_id -u /dev/sda1" command
<br>
<br>
</blockquote>
<br>
"Ah, there's the rub" (From Hamlet, I believe).
<br>
<br>
As Ubuntu apparently uses the UUID instead of the device path, in the
<br>
fstab, in the filesystem column, how do I get the UUID, to get a
<br>
partition mounted?
<br>
<br>
I have now managed to get the particular (hdc8) partition mounted, and
<br>
writable, and written to, in Debian, but I now do not know how to get
<br>
the file mounted in Ubuntu.
<br>
<br>
If I try to get the UUID for the partition, by using the "vol_id -u"
<br>
command, it returns "error opening device", I assume, because the
device
<br>
is not mounted.
<br>
<br>
So, as I cannot mount the device, without the UUID, how do I get the
<br>
UUID, if the device is not mounted?
<br>
<br>
Thank you in anticipation.
<br>
<br>
--
<br>
Bret Busby
<br>
Armadale
<br>
West Australia
<br>
..............
<br>
<br>
</blockquote>
</blockquote>
<br>
Would that work, given that the partition is not mounted?
<br>
<br>
--
<br>
Bret Busby
<br>
Armadale
<br>
</blockquote>
They don't need to be mounted to be in the by-uuid directory. It's
just an association from uuid's to device files. Looks something like
this:<br>
<br>
lrwxrwxrwx 1 root root 10 2009-04-02 05:58
5973158c-b58c-496a-af16-9355ab5b2286 -> ../../sda3<br>
lrwxrwxrwx 1 root root 10 2009-04-02 05:58
731651fc-b3e5-4260-a7ed-6784fc668450 -> ../../sda2<br>
lrwxrwxrwx 1 root root 10 2009-04-02 05:58
8a237b1d-0ba2-43b2-b813-b906d7723edf -> ../../sda4<br>
lrwxrwxrwx 1 root root 10 2009-04-02 05:58 B4EE1D64EE1D1FE2 ->
../../sda1<br>
<br>
<br>
HTH,<br>
Kyle<br>
</body>
</html>