LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-02-2014, 04:53 PM   #1
nix84
Member
 
Registered: Apr 2014
Posts: 276

Rep: Reputation: Disabled
Using fdisk to make mem stick bootable


OK I know I need to make a separate partition for UEFI. My questions are:
Can I do that with fdisk? I remember there was FAT16 capability when I used it before. Does fdisk have sufficient capabilities to still do that?
Can it set it up for UEFI whatever that needs to be?
Can it still mark that disk? or partition? as bootable?
 
Old 09-02-2014, 05:16 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,090

Rep: Reputation: Disabled
That's many questions but we miss one: what do you want to put on the USB stick?

For instance if you want to use it as a Slackware installation media, you could just make the DVD ISO image for Slackware64-14.1 USB-bootable from an EFI firmware with this command:
Code:
isohybrid -u <filename.iso>
then use the dd command to put it on the USB stick.
 
2 members found this post helpful.
Old 09-03-2014, 01:00 AM   #3
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
I'm 95% certain that Didier Spaier has correctly guessed what you want to achieve and provided the correct answer. If for some reason you need to setup or recreate a UEFI System Partition manually, you could try reading this, here is the most relevant section:

Quote:
The system partition must use a FAT32 filesystem [...] The system partition must be marked as such via the partitioning tool. If you use GPT fdisk this is done by using the partition type code EF00. If you are using Slackware to create this partition, formatting can be done via the mkdosfs utility.
Quote:
Originally Posted by nix84 View Post
Can I do that with fdisk? I remember there was FAT16 capability when I used it before. Does fdisk have sufficient capabilities to still do that?
No, you must use a GPT (GUID Partition Table) capable partitioning tool when working with UEFI. Examples include GPT fdisk (a.k.a gdisk) and GNU parted, both of which are provided by recent versions of Slackware. You would format the UEFI System Partition with the mkdosfs utility, as mentioned above. All other partitions would be formatted with appropriate tools (only the System Partition needs to be FAT32).

Quote:
Originally Posted by nix84 View Post
Can it set it up for UEFI whatever that needs to be?
As long as you use a GPT (GUID Partition Table) and you have a FAT32 System Partition, marked with the correct partition code and containing kernels/boot managers and configuration files, it is ready for booting UEFI.

Quote:
Originally Posted by nix84 View Post
Can it still mark that disk? or partition? as bootable?
To mark the System Partition as the partition to boot from use the partition type code EF00. All other partitions should not use this code, i.e. there should only be one System Partition. The System Partition is for holding kernels, boot managers and configuration files. The rest of OS(es) are stored on different partitions.

Last edited by ruario; 09-03-2014 at 03:14 AM. Reason: cropped out the non-relevant parts of the quote; bolded and empasised references to UEFI System Partition
 
2 members found this post helpful.
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a bootable USB stick makes the stick non-bootable PeterSteele Red Hat 6 03-15-2013 01:44 PM
What the hell is a bootable ISO and a bootable USB-stick? duplex Linux - Software 15 11-23-2012 08:00 PM
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 09:18 PM
How to make USB stick bootable? depam Linux - Software 3 12-31-2006 11:22 AM
make a USB stick bootable lothario Linux - Software 1 07-13-2006 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 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