Jump to content











Photo
- - - - -

UUID


  • Please log in to reply
6 replies to this topic

#1 ireneuszp

ireneuszp

    Frequent Member

  • Advanced user
  • 191 posts
  •  
    Poland

Posted 17 March 2009 - 04:04 PM

How can I display list UUID(s) of mounted Windows partitions from command line in windows

:good:

#2 mr_

mr_

    Frequent Member

  • Members
  • 355 posts
  •  
    Germany

Posted 17 March 2009 - 06:13 PM

mountvol /L

#3 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 17 March 2009 - 08:24 PM

@ireneuszp

These batches may be of use:
http://www.boot-land...?...c=6492&st=5
http://www.boot-land...?...c=6492&st=7

Though it seems like the UUID given by Windows is not the same as that given/used by grub4dos:
http://www.boot-land...?...=7138&st=48

Can you test if this is correct?

jaclaz

#4 ireneuszp

ireneuszp

    Frequent Member

  • Advanced user
  • 191 posts
  •  
    Poland

Posted 17 March 2009 - 09:30 PM

mountvol /L


mountvol / l shows me something like this
Microsoft Windows XP [Wersja 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.



C:\Documents and Settings\mateusz>mountvol /L

Tworzy, usuwa lub wyświetla listę punktów instalacji woluminu.



MOUNTVOL [dysk:]ścieżka NazwaWoluminu

MOUNTVOL [dysk:]ścieżka /D

MOUNTVOL [dysk:]ścieżka /L



	ścieżka		Określa istniejący katalog NTFS, gdzie będzie się

				   znajdować punkt instalacji.

	NazwaWoluminu  Określa nazwę woluminu, który jest celem punktu instalacji.

	/D			 Usuwa punkt instalacji woluminu z określonego katalogu.

	/L			 Wyświetla nazwę zainstalowanego woluminu dla określonego

				   katalogu.



Możliwe wartości parametru NazwaWoluminu oraz bieżące punkty instalacji to:



	\\?\Volume{f5e0d341-3afe-11dd-ad88-806d6172696f}\

		C:\



	\\?\Volume{f5e0d342-3afe-11dd-ad88-806d6172696f}\

		D:\



	\\?\Volume{f5e0d343-3afe-11dd-ad88-806d6172696f}\

		E:\



	\\?\Volume{f5e0d344-3afe-11dd-ad88-806d6172696f}\

		F:\



	\\?\Volume{f5e0d345-3afe-11dd-ad88-806d6172696f}\

		G:\



	\\?\Volume{7b609960-1087-11de-8e48-806d6172696f}\

		I:\



	\\?\Volume{7b609961-1087-11de-8e48-806d6172696f}\

		J:\



	\\?\Volume{7b609962-1087-11de-8e48-806d6172696f}\

		K:\



	\\?\Volume{7b609963-1087-11de-8e48-806d6172696f}\

		L:\



	\\?\Volume{7b609964-1087-11de-8e48-806d6172696f}\

		M:\



	\\?\Volume{f19a0ec0-b737-11dd-85c6-806d6172696f}\

		H:\





C:\Documents and Settings\mateusz>

But I want in such format UUID

grub4dos
Posted Image

Grub4DOS Toolbox for Windows.exe
Posted Image

@jaclaz
I will test your guide

I wonder how GeeXboX does UUID automatically
http://geexbox.org/en/index.html
GeeXboX Win32 Installer
http://geexbox.relou...taller-0.22.exe

menu.lst
title Start GeeXboX ...

kernel=/GEEXBOX/boot/vmlinuz root=/dev/ram0 rw rdinit=linuxrc boot=UUID=CC38B42538B41106 lang=pl remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr quiet

initrd=/GEEXBOX/boot/initrd.gz
:good:

#5 ireneuszp

ireneuszp

    Frequent Member

  • Advanced user
  • 191 posts
  •  
    Poland

Posted 17 March 2009 - 10:17 PM

@ireneuszp

These batches may be of use:
http://www.boot-land...?...c=6492&st=5
http://www.boot-land...?...c=6492&st=7

Though it seems like the UUID given by Windows is not the same as that given/used by grub4dos:
http://www.boot-land...?...=7138&st=48

Can you test if this is correct?

jaclaz


@jaclaz
ddlistW.cmd shows me this
Drives by drive letter:

c: 0,1 FIX \Volume{f5e0d341-3afe-11dd-ad88-806d6172696f} \HarddiskVolume1

d: 0,2 FIX \Volume{f5e0d342-3afe-11dd-ad88-806d6172696f} \HarddiskVolume2

e: 0,3 FIX \Volume{f5e0d343-3afe-11dd-ad88-806d6172696f} \HarddiskVolume3

f: 0,4 FIX \Volume{f5e0d344-3afe-11dd-ad88-806d6172696f} \HarddiskVolume4

g: 0,5 FIX \Volume{f5e0d345-3afe-11dd-ad88-806d6172696f} \HarddiskVolume5

h: x,x CDR \Volume{f19a0ec0-b737-11dd-85c6-806d6172696f} \CdRom0

i: 1,1 FIX \Volume{7b609960-1087-11de-8e48-806d6172696f} \HarddiskVolume6

j: 1,2 FIX \Volume{7b609961-1087-11de-8e48-806d6172696f} \HarddiskVolume7

k: 1,3 FIX \Volume{7b609962-1087-11de-8e48-806d6172696f} \HarddiskVolume8

l: 1,4 FIX \Volume{7b609963-1087-11de-8e48-806d6172696f} \HarddiskVolume9

m: 1,5 FIX \Volume{7b609964-1087-11de-8e48-806d6172696f} \HarddiskVolume10

Aby kontynuować, naciśnij dowolny klawisz . . .



Drives by connection:

c: 0,1 FIX \Volume{f5e0d341-3afe-11dd-ad88-806d6172696f} \HarddiskVolume1

d: 0,2 FIX \Volume{f5e0d342-3afe-11dd-ad88-806d6172696f} \HarddiskVolume2

e: 0,3 FIX \Volume{f5e0d343-3afe-11dd-ad88-806d6172696f} \HarddiskVolume3

f: 0,4 FIX \Volume{f5e0d344-3afe-11dd-ad88-806d6172696f} \HarddiskVolume4

g: 0,5 FIX \Volume{f5e0d345-3afe-11dd-ad88-806d6172696f} \HarddiskVolume5

i: 1,1 FIX \Volume{7b609960-1087-11de-8e48-806d6172696f} \HarddiskVolume6

j: 1,2 FIX \Volume{7b609961-1087-11de-8e48-806d6172696f} \HarddiskVolume7

k: 1,3 FIX \Volume{7b609962-1087-11de-8e48-806d6172696f} \HarddiskVolume8

l: 1,4 FIX \Volume{7b609963-1087-11de-8e48-806d6172696f} \HarddiskVolume9

m: 1,5 FIX \Volume{7b609964-1087-11de-8e48-806d6172696f} \HarddiskVolume10

h: x,x CDR \Volume{f19a0ec0-b737-11dd-85c6-806d6172696f} \CdRom0

Aby kontynuować, naciśnij dowolny klawisz . . .
Still different UUID than in grub4dos :good:

#6 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 18 March 2009 - 06:53 AM

Still different UUID than in grub4dos :good:


Sure, that was exactly what I meant ^_^, the UUID generated by Windows are of a "different kind" from those used by grub4dos.

Though it seems like the UUID given by Windows is not the same as that given/used by grub4dos:
http://www.boot-land...?...=7138&st=48

Can you test if this is correct?


The only advantage of ddlistw.cmd over mountvol is that you have some more data on the same line.

I guess that some "special" program is needed to calculate UUID in the same "style" as grub4dos does.

jaclaz

#7 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 18 March 2009 - 09:43 AM

Someone can write a small program to calculate the UUIDs in Windows.
Use libblkid (http://e2fsprogs.sourceforge.net/) to get the UUID.

If you use the source code, you must publish your code too (respect the licence).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users