LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2016, 10:54 AM   #1
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
Hex editor to directly edit device contents


Hi there.

I'm currently taking an interest in the ext4 filesystem and have set up a small partition to allow me to play around with mke2fs and tune2fs.

To view the device raw data, I have been working in read-only, using the dd command to generate a file of the device contents which I then view using Okteta.

Is there any good GUI hex editor out there that will allow me to have read-write access to the contents of the device directly? That would allow me, for example, to directly change flag values in the superblock without having to go through tune2fs.
 
Old 02-07-2016, 11:26 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,779

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Try hexedit. The UI is a bit awkward compared to other editors, but it works.

Oops, you did say "GUI". Oh, well.

Last edited by rknichols; 02-07-2016 at 11:27 AM. Reason: Oops...
 
Old 02-07-2016, 12:03 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048

Original Poster
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by rknichols View Post
Try hexedit. The UI is a bit awkward compared to other editors, but it works.

Oops, you did say "GUI". Oh, well.
It may not be GUI but it does the job at reading and editing the device raw data directly. Many thanks indeed!
 
  


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
Hex editor Fixit7 Puppy 2 05-24-2014 11:41 AM
[SOLVED] View contents of disk drives in hex DiBosco Linux - Software 7 01-04-2013 07:49 PM
Hex editor? posix_memalign Linux - Software 5 06-23-2010 08:18 PM
Hex editor Jeebizz General 1 07-05-2007 01:00 AM
How do i write to a serial port (modem) in ascii or hex directly? Taliesin.duchaos Linux - Networking 6 04-21-2006 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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