LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 03-24-2019, 06:14 AM   #1
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Rep: Reputation: 28
how do you create hidden partitions in linux Mint?


How do you create hidden partitions in linux Mint?

I have found card backup readers have special programs that are seen by the phones and call for the apps to be installed. I need to reinstall these programs as I have accidentally destroyed the hidden partition by trying to make two partitions with gparted, which never shows the hidden partition.

Is there a program for Linux to do this, as there is one for Windows?
 
Old 03-24-2019, 06:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Hm. I think there is no such thing. It is not hidden partition, but a special (hidden?) directory.
 
1 members found this post helpful.
Old 03-24-2019, 06:28 AM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
You need to provide more details about these "card backup readers". Make and model please.
 
Old 03-24-2019, 07:30 AM   #4
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by hydrurga View Post
You need to provide more details about these "card backup readers". Make and model please.
It doesn't matter any USB will do. I have since found FBinst for windows appears not to be available.

Thanks for trying though.
 
Old 03-24-2019, 10:55 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by bscho View Post
It doesn't matter any USB will do. I have since found FBinst for windows appears not to be available.

Thanks for trying though.
With relation to your OP, we need to know which software is creating these hidden files. What are these "special programs" which you are talking about?

I agree with pan64. I have known software that creates hidden files (usually in your boot partition or similar) for copy protection purposes, but the chances of software creating and using a "hidden" partition are very small indeed.
 
Old 03-24-2019, 12:32 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
in your file manager, navigate to the usb stick or whatever you're refering to, and enter Ctrl-h.
that should make hidden directories visible.
from a linux point of view, there's nothing special about such directories. if it contains windows software, just delete it...
 
Old 03-25-2019, 07:29 AM   #7
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by ondoho View Post
in your file manager, navigate to the usb stick or whatever you're refering to, and enter Ctrl-h.
that should make hidden directories visible.
from a linux point of view, there's nothing special about such directories. if it contains windows software, just delete it...
No that's for files this is for hidden partitions. FBinst does this but does not appear anymore in the pointers.
I have found these
Makefile add fbinst source 4 years ago
fbinst.c add fbinst source 4 years ago
fbinst.h add fbinst source 4 years ago
fbmbr.S add fbinst source 4 years ago
version

Trying to compile fbinst.c but throws up errors in the compiler.
 
Old 03-25-2019, 03:02 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by bscho View Post
No that's for files this is for hidden partitions. FBinst does this but does not appear anymore in the pointers.
I have found these
Makefile add fbinst source 4 years ago
fbinst.c add fbinst source 4 years ago
fbinst.h add fbinst source 4 years ago
fbmbr.S add fbinst source 4 years ago
version

Trying to compile fbinst.c but throws up errors in the compiler.
what's a hidden partition?
something should show up with
Code:
fdisk -l
or try gparted.

i seriosuly have no idea what you're talking about.

there does not appear to be any software called "fbinst" for linux.
what does it have to do with "hidden partitions" (but please define what that even means before answering)?

edit:
ok, did a Quick Search (tm) and came up with this.
this sort of tools (multi usb creators, yubi key ...) exist, no need to go searching for dead software.
incidentally, there's a link to an article about "Hidden Partitions" on that page. But as I suspected, that's a Windows term. No such thing in Linux - it's all just partitions.

Last edited by ondoho; 03-25-2019 at 03:07 PM.
 
1 members found this post helpful.
Old 03-26-2019, 01:27 AM   #9
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by pan64 View Post
Hm. I think there is no such thing. It is not hidden partition, but a special (hidden?) directory.
No it is exactly that a hidden partition. Many devices that backup phones use it.
 
Old 03-26-2019, 02:02 AM   #10
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by ondoho View Post
what's a hidden partition?
something should show up with
Code:
fdisk -l
or try gparted.

i seriosuly have no idea what you're talking about.

there does not appear to be any software called "fbinst" for linux.
what does it have to do with "hidden partitions" (but please define what that even means before answering)?

edit:
ok, did a Quick Search (tm) and came up with this.
this sort of tools (multi usb creators, yubi key ...) exist, no need to go searching for dead software.
incidentally, there's a link to an article about "Hidden Partitions" on that page. But as I suspected, that's a Windows term. No such thing in Linux - it's all just partitions.
What do you not understand? Don't blame Windows not responsible for this. Ubuntu does have a way of installing it but a pointers fail with 404 as the site no longer exist. It looks for this Download grubutil_scripts.zip and extract it to your home folder.

Read more: http://agnipulse.com/2011/02/install...#ixzz5jG8LFe1K


It is quite clear you can have hidden a partitions not seen by gparted and almost all partitioning tools except for fbinst
and maybe minitools. Unfortunately, FBinst is no longer available except in source.

Found in Google codes

..
Makefile add fbinst source 4 years ago
fbinst.c add fbinst source 4 years ago
fbinst.h add fbinst source 4 years ago
fbmbr.S add fbinst source 4 years ago
version

Tried compiling it but stuck with this.
#include "fb_mbr_rel.h"
#include "fb_mbr_dbg.h"
Cannot find these anywhere only referred to in the Makefile

In searching on the Duck, Google did not have this I have just found fbinst.exe

So will pop over to another machine to try to run it.

Last edited by bscho; 03-26-2019 at 02:34 AM.
 
Old 03-26-2019, 02:13 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by bscho View Post
No it is exactly that a hidden partition. Many devices that backup phones use it.
would be nice to show a documented example.

I think you misunderstood. First of all this is not a partition, but reserved space before the partition table. Or probably there is a partition type which is named hidden, because windows handle it as hidden, but that partition is visible an can be handled by gparted and any other partition handling tool (including windows).
 
1 members found this post helpful.
Old 03-26-2019, 02:33 AM   #12
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by pan64 View Post
would be nice to show a documented example.

I think you misunderstood. First of all this is not a partition, but reserved space before the partition table. Or probably there is a partition type which is named hidden, because windows handle it as hidden, but that partition is visible an can be handled by gparted and any other partition handling tool (including windows).
No you are wrong it is a hidden partition Nothing to do with windows either.
 
Old 03-26-2019, 02:38 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
Quote:
Originally Posted by bscho View Post
No you are wrong it is a hidden partition Nothing to do with windows either.
show me a working example
 
Old 03-26-2019, 02:40 AM   #14
bscho
Member
 
Registered: Nov 2012
Location: London
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821

Original Poster
Rep: Reputation: 28
In Github
chenall/grubutils


@chenall
chenall add fbinst source
Latest commit 163a17f on 14 Feb 2015
Type Name Latest commit message Commit time
..
Makefile add fbinst source 4 years ago
fbinst.c add fbinst source 4 years ago
fbinst.h add fbinst source 4 years ago
fbmbr.S add fbinst source 4 years ago
version

As I said in compiling gets stuck at
#include "fb_mbr_rel.h"
#include "fb_mbr_dbg.h"

~/grubutils/fbinst.c$ gcc fbinst.c -o FBinst
In file included from fbinst.c:32:0:
version.h:1:1: error: expected identifier or ‘(’ before numeric constant
1.6
^~~
fbinst.c:34:10: fatal error: fb_mbr_rel.h: No such file or directory
#include "fb_mbr_rel.h"
^~~~~~~~~~~~~~
compilation terminated.

If anyone can sort this out I can put it on my website so others can download for Linux.

I only have it now for Windoze as FBinst.exe
 
Old 03-27-2019, 03:21 AM   #15
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
the best I can suggest is to contact the author
 
  


Reply



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
[SOLVED] How to remove all hidden directories and folders, and only hidden directories and folders rm_-rf_windows Linux - General 5 04-12-2016 07:28 AM
How to create ntfs hidden partitions under truecrypt? wearetheborg Linux - Software 1 01-17-2012 01:46 PM
[SOLVED] USB - Hidden /home Boots. Non hidden /home fails hugothebear Incognito 3 10-28-2009 05:22 PM
bash: mv hidden and not hidden files lupe Linux - General 4 06-22-2009 01:27 PM
Create software RAID partitions first, then create filesystem partitions on top of th stefanlasiewski Linux - Software 1 04-28-2004 04:12 PM

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

All times are GMT -5. The time now is 12:08 AM.

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