LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2017, 12:17 PM   #1
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 99

Rep: Reputation: 16
Question mtools gui for a modern distro


I checked mtoolsfm but it requires gtk1.2 and I'm on Ubuntu 16.04

I want to manipulate floppy disk images without using the terminal (no root privileges).
 
Old 03-21-2017, 12:59 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904Reputation: 2904
Quote:
Originally Posted by tauro_kpo View Post
I checked mtoolsfm but it requires gtk1.2 and I'm on Ubuntu 16.04

I want to manipulate floppy disk images without using the terminal (no root privileges).
I might be wrong with this, but unless the system administrator has granted you privileges for accessing floppy disks (which they don't appear to have done), then it doesn't matter if you use the command line or a GUI application, you won't be able to access those devices. Your best bet would therefore be to ask the system administrator to grant you the relevant permission.
 
Old 03-21-2017, 01:41 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,423

Rep: Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556
libguestfs might be another option. You can use the guestmount utility to mount the image using fuse which does not need root privileges. Although it is command line tool once mounted you can use your file manager to manipulate the images.

sudo apt-get install libguestfs-tools

http://libguestfs.org/
 
Old 03-21-2017, 07:07 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,098

Rep: Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326Reputation: 3326
Even to get sudo some-one higher in the food-chain needs to approve it.
 
Old 03-21-2017, 07:11 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,423

Rep: Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556Reputation: 3556
True, almost instinct now when seeing someone running Ubuntu...

Last edited by michaelk; 03-21-2017 at 07:12 PM.
 
Old 03-21-2017, 10:09 PM   #6
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 99

Original Poster
Rep: Reputation: 16
Question

Quote:
Originally Posted by hydrurga View Post
I might be wrong with this, but unless the system administrator has granted you privileges for accessing floppy disks (which they don't appear to have done), then it doesn't matter if you use the command line or a GUI application, you won't be able to access those devices. Your best bet would therefore be to ask the system administrator to grant you the relevant permission.
Those devices? I'm talking about floppy disk images here.

Quote:
Originally Posted by michaelk
libguestfs might be another option. You can use the guestmount utility to mount the image using fuse which does not need root privileges. Although it is command line tool once mounted you can use your file manager to manipulate the images.

sudo apt-get install libguestfs-tools

http://libguestfs.org/
I couldn't get it to work, even with root privileges. Besides, it requires to disable the unreadable kernel image block (security measure) to work as a normal user. Take a look if you care: https://bugs.launchpad.net/fuel/+bug/1467579.

I'm still looking for something else.

Thank you all for trying to help.
 
Old 03-22-2017, 12:05 PM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,993

Rep: Reputation: 823Reputation: 823Reputation: 823Reputation: 823Reputation: 823Reputation: 823Reputation: 823
Quote:
Those devices? I'm talking about floppy disk images here.
You have a diskimage.img, or diskimage.iso from a diskette?

Then mount it loopback and get what you want from it.
Code:
mount -o loop /path/diskimage.iso /mount/point
Or example, if you wanted to fsck the image first
Code:
#losetup /dev/loopabc diskimage.img
#fsck /dev/loopabc
If you don't want to use the shell all of the time then make yourself a shell script to do what you want and just run the script. If you need help with a shell script then start one and ask where you have problems.
 
Old 03-22-2017, 03:47 PM   #8
tauro_kpo
Member
 
Registered: Feb 2007
Distribution: Debian
Posts: 99

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by teckk View Post
Then mount it loopback and get what you want from it.
That requires root privileges, mtools doesn't and works like a charm but no GUI
 
  


Reply

Tags
debian, floppy, gui, image, ubuntu


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
What modern lightweight distro for a laptop without PAE? malloc Linux - Laptop and Netbook 12 01-15-2013 12:04 PM
How is the situation about usb joystick on modern distro linux? AleLinuxBSD Linux - Hardware 1 09-12-2010 03:04 PM
Will SmoothWall distro work on modern laptops? Mr. Alex Linux - Laptop and Netbook 8 06-17-2010 06:24 AM
What is the best distro for an older machine, but still provide modern features MonctonJohn Linux - General 5 10-25-2007 08:51 PM
Looking for modern distro with floppy+network installation ak_random Linux - Distributions 7 07-20-2007 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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