ANNOUNCE: LDE - Linux Disk Editor pre-release

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Scott D. Heavne » Thu, 18 Jun 1998 04:00:00



This is a pre-release announcement for lde, the Linux disk editor,
for Minix/Linux partitions.  It currently supports what were once the
three most popular file systems under Linux: ext2fs, minix, and xiafs
(there is also a "nofs" system under which lde will function as a
binary editor and I'm working on msdos/vfat support).

   lde functions like an old version of Norton's Disk edit allowing
you to view and edit disk blocks as hex and/or ASCII, view/navigate
directory entries, and view and edit formatted inodes.  Most of the
functions can be accessed using the program's curses interface or from
the command line so that you can automate things with your own
scripts.  lde is also a great help when you're trying to undelete
files on a linux partition.

   I'm looking for people to test the latest version before I make an
announcement on c.o.l.a.  If anyone has time to try compiling this,
I'd appreciate a note letting me know if it worked or if you had any
problems on your system.  I have only tested linux-2.0.34, ncurses-4.2,
libc5, and egcs.

   You can find the most current release at
http://www.geocities.com/CapeCanaveral/Lab/7731/lde.html

Scott

*********************************************************************

Here's a summary of the changes since the last non-alpha release:

BETA_CODE:

        * blanked_indirects fix - workaround for Linux 2.0 bug.  All
        indirect blocks of deleted files are set to 0.  These hacks will
        work to recover a small file, but will fail for large fragmented
        files.

        * triple indirect support - I just haven't had much use for it
yet.

        * gpm support for cursor motion in block edit.  It's only one
day
        old and hasn't been tested much.

        * support for prev/next screen in ascii block edit mode - the
old
        code was broken anyways, but would work in the split hex/ascii
        edit mode.  Again, it's only a day old, but it looks good.

        * indexed block motions in block mode - makes prev/next commands
        move relative to the current inode so it is possible to page
        through a file's data even if it is fragmented across the disk.

SUMMARY OF CHANGES SINCE 2.3.4 - last non-alpha release

        * command line equivalents for recovery functions

        * terminal dumps display as much info as curses mode

        * errors are now printed to stderr instead of stdout

        * directory mode will display entire directories at once.
        Improved navigation in directory mode.

        * block mode scrolling is nicer - no longer locked on a block

        * option to view/edit blocks as just ASCII (without hex
display).

        * basic gpm support - can navigate menus and move the cursor in
        block mode (whoopie).

        * configure script - some options are tested, then ignored.  So
        far I've only tested lde on a 486 system and I don't think it
will
        work on a big endian machine.

        * fix instances where last block of nofs was not accessible

----------------------------------------------------------------
 I love Saturday morning cartoons, what classic humour!  This
 is what entertainment is all about ... Idiots, explosives
 and falling anvils.     -- Calvin and Hobbes, Bill Watterson
----------------------------------------------------------------

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Michael Talbot-Wils » Sat, 20 Jun 1998 04:00:00



>This is a pre-release announcement for lde, the Linux disk editor,

Sounds interesting, but there is already debugfs in e2fsprogs.

--
Michael Talbot-Wilson

"So 'ark and 'eed your rookies, which is always grumblin' sore." - Kipling
Freeing amused memory: 28k freed

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Tristan Wibberle » Thu, 25 Jun 1998 04:00:00


On a similar vein, does anyone know of a utility to read/write raw binary
data to a partitions boot sector, I want to make "More Cheese Please!"
appear instead of "Starting Windows 95..." when I boot that other OS.

--
Tristan Wibberley

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Jari Ark » Thu, 25 Jun 1998 04:00:00


Is there a utility (like mtools for floppies) to read the other
partition (= Windows 95) from the hard disk? Preferably also
write there...

Jari Arkko
http://www.iki.fi/jar

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Boris Tobotra » Thu, 25 Jun 1998 04:00:00


Quote:>>>>> "Tristan" == Tristan Wibberley writes:

Tristan> On a similar vein, does anyone know of a utility to read/write raw
Tristan> binary data to a partitions boot sector, I want to make "More
Tristan> Cheese Please!"  appear instead of "Starting Windows 95..." when I
Tristan> boot that other OS.

        dd
--
        Best regards, -- Boris.

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Adam Rogoys » Thu, 25 Jun 1998 04:00:00


   I've been writing a gpl hexeditor for Linux.  You may want to take a
look at it.  It's not finished but it's completely useable.  
http://ccwf.cc.utexas.edu/~apoc/programs/c/hexedit-0.8.tgz
It lets you edit, insert/delete bytes, has the split hex/ascii screen as
nortan diskedit, lets you view data as an asciid dump, seek to an offset.

   Adam

___
        __/\__.             [-Temperance-]                 .__)\__
   !    \ oO /           . :[Adam Rogoyski]: .              \ oO /    !

      .   \/   :[http://ccwf.cc.utexas.edu/~apoc/programs]:   \/   .

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Micha3 Saba3 » Thu, 25 Jun 1998 04:00:00



> On a similar vein, does anyone know of a utility to read/write raw binary
> data to a partitions boot sector, I want to make "More Cheese Please!"
> appear instead of "Starting Windows 95..." when I boot that other OS.

> --
> Tristan Wibberley

That string is NOT stored in boot sector. You need to edit either
msdos.sys or io.sys. In the old days I used to use Norton's Disk Edit
for these type of "tasks" :)

--
/----------------------------\
| Micha3 Saba3a   aka Saahbs |
|  Linux, hardware, C, Html  |
\----------------------------/

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by David M. Co » Fri, 26 Jun 1998 04:00:00



Quote:>Is there a utility (like mtools for floppies) to read the other
>partition (= Windows 95) from the hard disk? Preferably also
>write there...

mtools can read/write to HD partitions as well as floppies and other
removable media.  It's probalby easier to just "permanently" mount a HD
partition, though, as it aint going anywhere.

Dave Cook

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Tristan Wibberle » Fri, 26 Jun 1998 04:00:00





> > On a similar vein, does anyone know of a utility to read/write raw
binary
> > data to a partitions boot sector, I want to make "More Cheese Please!"
> > appear instead of "Starting Windows 95..." when I boot that other OS.

> > --
> > Tristan Wibberley

> That string is NOT stored in boot sector. You need to edit either
> msdos.sys or io.sys. In the old days I used to use Norton's Disk Edit
> for these type of "tasks" :)

Ooh, goody, that makes it much easier, I'll start KDE for once and use
HexEdit (I can't be bothered to learn a proper tool for one simple task).
:-)

--
Tristan Wibberley

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by Allen O'Nei » Fri, 26 Jun 1998 04:00:00


The startup logo of WinDoze is called LOGO.SYS ... it's actually a
renamed BMP file - make your own with the same size/colour depth and
simply rename - works a treat (don't forget to backup just in case!)

- Allen.



Quote:> On a similar vein, does anyone know of a utility to read/write raw binary
> data to a partitions boot sector, I want to make "More Cheese Please!"
> appear instead of "Starting Windows 95..." when I boot that other OS.

> --
> Tristan Wibberley

 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by John Thomps » Fri, 26 Jun 1998 04:00:00



Quote:>On a similar vein, does anyone know of a utility to read/write raw binary
>data to a partitions boot sector, I want to make "More Cheese Please!"
>appear instead of "Starting Windows 95..." when I boot that
>other OS.

That string is located in "IO.SYS" not the boot sector...


 
 
 

ANNOUNCE: LDE - Linux Disk Editor pre-release

Post by System Administration Staf » Fri, 26 Jun 1998 04:00:00


I believe it's in IO.SYS.  Try a disk editor (norton, f/ex).



> > On a similar vein, does anyone know of a utility to read/write raw binary
> > data to a partitions boot sector, I want to make "More Cheese Please!"
> > appear instead of "Starting Windows 95..." when I boot that other OS.

> > --
> > Tristan Wibberley