LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-14-2015, 06:18 PM   #1
yozh
Member
 
Registered: Apr 2009
Posts: 32

Rep: Reputation: 0
Create a GPT partition scheme on USB stick?


Hi guys,

I need to create a GPT partition schenme to a USB stick in order to create an UEFI compatible windows 8 install media under slackware-current.

I been surfing thru the web but i really didnt found anything useful to me.
So im here asking help to the linux gurus.

Hope you can help me pointing me to the right direction.

PS. Making mbr bootable installation media its easy, parted, ms-sys etc, but im lost in this whole uefi-gpt scheme stuff..

Thanks in advance.

Yozh
 
Old 02-14-2015, 06:27 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
If you have Gparted installed you can select the device you want to create the GPT partition scheme on (top-right corner), then select "Device" > "Create partition table" on the menu bar above and select "gpt" as your partition table on the next dialog box.

Be aware that this will destroy everything you have in the device you select, so you must make sure you're using the right device and not your HDD.
 
Old 02-17-2015, 07:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Almost every major distro has a way to create a bootable usb for uefi systems.

I do think that one I read did say something like make a gpt partition but that should be trivial and not really related to your issue.
 
Old 02-17-2015, 07:43 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
I made a bootable uefi slackware install usb stick by doing this:

Make usb in gpt format with two partitions, the first one a boot partition about 500mb fat32 and boot flag set, the second partition rest of usb ext4. (note: next step will create directory)Create an EFI/BOOT directory at the top of the usb boot partition.

Install refind to usb boot partition using binary zip file according to this: http://www.rodsbooks.com/refind/getting.html

Download SlackEfiUsbBoot file from here: http://www.playwithtransistors.com/i...UsbBoot.tar.gz untar files and place SlackEfiUsbBoot directory in the EFI directory.
or
Make /EFI/Slackware directory and copy bzImage and initrd.img from slackware64 iso.

Create a refind_linux.conf file in the EFI directory that contains bzImage and initrd.img with the following:
Code:

menuentry "Slackware" {
loader /EFI/SlackEfiUsbBoot/bzImage
initrd /EFI/SlackEfiUsbBoot/initrd.img
options "load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 SLACK_KERNEL=huge.s"
}

copy or dd slackware-install-iso to second usb partition

reboot and select usb from efi boot manager.
With a few modifications this should work for other distos also.

Last edited by colorpurple21859; 02-17-2015 at 07:44 PM.
 
1 members found this post helpful.
Old 02-17-2015, 09:05 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Not sure if this helps at all. http://xathrya.web.id/blog/2013/01/0...based-machine/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] GPT partitioning scheme santhanam2006 Linux - Server 1 01-19-2013 10:33 AM
installing slackware on external usb (GUID partition scheme) pindar Slackware - Installation 3 03-28-2012 12:31 PM
cant create raid base gpt partition with Gparted ali_azarnoosh Linux - Hardware 0 01-15-2012 05:15 AM
usb stick unlocking scheme for root encrypted partition in current escaflown Slackware 6 05-09-2010 04:16 PM
Best filesystem & partition scheme for a 1 TB USB 2.0 HDD for use with Videos? KDHofAvalon Linux - Hardware 7 01-19-2008 09:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration