Partitioning usb drive without MBR table under Linux

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
randomname
Posts: 1
Joined: Sun Aug 30, 2015 7:26 am

Partitioning usb drive without MBR table under Linux

Post by randomname »

Hello,
I created my own bootable boot sector at the USB stick a long while ago, but I created it without the boot record (I hard coded the next sectors), so right now when I plug it into the Ubuntu, it do not even show it as the block device. Does someone know which tool could I use to format this drive?
randomname
Coomer69
Member
Member
Posts: 31
Joined: Thu Feb 20, 2014 4:49 am

Re: Partitioning usb drive without MBR table under Linux

Post by Coomer69 »

If you have access to a Windows machine the hp usb formatting tool should repair it (worked for me in the past).
Octocontrabass
Member
Member
Posts: 5588
Joined: Mon Mar 25, 2013 7:01 pm

Re: Partitioning usb drive without MBR table under Linux

Post by Octocontrabass »

Are you sure it's not appearing as a /dev/sd* block device with no partitions? I can't think of any reason why it wouldn't...

If it happens to be showing up like that, use something like fdisk or parted to create a new MBR.
Post Reply