* [Linux-ia64] setting GUIDs
@ 2002-08-10 2:08 dann
2002-08-10 2:32 ` Matt_Domsch
2002-08-10 18:15 ` dann
0 siblings, 2 replies; 3+ messages in thread
From: dann @ 2002-08-10 2:08 UTC (permalink / raw)
To: linux-ia64
hey,
Is there a userspace command i can use to set the GUID of a GPT partition
under linux? I asked google, but google didn't know, and i didn't see
it described in the parted man page.
--
---------------------------
dann frazier
Hewlett-Packard
Linux Development Lab
dannf@fc.hp.com
(970) 898-0800
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Linux-ia64] setting GUIDs
2002-08-10 2:08 [Linux-ia64] setting GUIDs dann
@ 2002-08-10 2:32 ` Matt_Domsch
2002-08-10 18:15 ` dann
1 sibling, 0 replies; 3+ messages in thread
From: Matt_Domsch @ 2002-08-10 2:32 UTC (permalink / raw)
To: linux-ia64
> Is there a userspace command i can use to set the GUID of a
> GPT partition
> under linux? I asked google, but google didn't know, and i didn't see
> it described in the parted man page.
Which GUID? :-)
parted mkpart generates a new GUID for the partition it creates.
parted set flag xxxxx sets the partition type GUID to one of: boot, raid
(for Linux SW RAID), LVM, or basic data (any file system). If you put a
file system or swap on the partition, it gets set to basic data or swap
respectively.
That's it. No other support exists to write your own GUIDs to either field
of the partition, or to the disk_guid. efibootmgr and parted both know how
to parse the table right, so if you need to write your own app you may want
to start there.
Thanks,
Matt
--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
#1 US Linux Server provider for 2001 and Q1/2002! (IDC May 2002)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] setting GUIDs
2002-08-10 2:08 [Linux-ia64] setting GUIDs dann
2002-08-10 2:32 ` Matt_Domsch
@ 2002-08-10 18:15 ` dann
1 sibling, 0 replies; 3+ messages in thread
From: dann @ 2002-08-10 18:15 UTC (permalink / raw)
To: linux-ia64
On Fri, Aug 09, 2002 at 09:32:24PM -0500, Matt_Domsch@Dell.com wrote:
>
> parted mkpart generates a new GUID for the partition it creates.
> parted set flag xxxxx sets the partition type GUID to one of: boot, raid
> (for Linux SW RAID), LVM, or basic data (any file system). If you put a
> file system or swap on the partition, it gets set to basic data or swap
> respectively.
>
that's just what i needed - thanks Matt!
--
---------------------------
dann frazier
Hewlett-Packard
Linux Development Lab
dannf@ldl.fc.hp.com
(970) 898-0800
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-08-10 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-10 2:08 [Linux-ia64] setting GUIDs dann
2002-08-10 2:32 ` Matt_Domsch
2002-08-10 18:15 ` dann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox