Re: [SOLVED] lilo config is busted, need help fixing it
On Sat, Oct 2, 2010 at 10:07 PM, Stephen Powell <zlinuxman@wowway.com> wrote:
>
> There are a couple of ways. One way is to use the blkid command.
> For example,
>
> blkid /dev/sda2
>
> will return the uuid of /dev/sda2. The other way is to issue
>
> ls -Al /dev/disk/by-uuid/
>
> which will list all the udev-created symbolic links that have a uuid
> in them and what they are links to. I prefer the second method because
> it lists them all with a single command and also because it makes
> sure that udev (at least this portion of it) is working properly.
Just "blkid" will output all the UUIDs and I think that the default
option is "udev" (it scans "/dev/disk/by-uuid") and the other option
is "scan" (it scans "/proc/partitions").
You can use "blkid -o list" to list the associated mount points.
Reply to: