Jump to content











Photo
- - - - -

Defragging FAT32 WITHOUT using Windows


  • Please log in to reply
45 replies to this topic

#1 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 02:45 PM

Thanks very much for explanation.

 

Is it possible to boot a win98 live cd iso from grub4dos on a USB stick

I have read this http://www.reboot.pr...builder  win98a

but they do not seem to solve it?

 

I want to be able to defrag the isos on usbstick FAT32 fs.

 

any insight on this?



#2 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 17 February 2013 - 03:32 PM

Is it possible to boot a win98 live cd iso from grub4dos on a USB stick

Sure it is, the issue is buidling the Win98 Live CD iso

why not using a hard disk image?

 

I have read this http://www.reboot.pr...-on-windows-98/
but they do not seem to solve it?

Well, the member who was lately interested in it "disappeared" as well as the project's Author, early versions did work alright, as said in the latest iterations matters were made unneeededly complex.
If you want to play, I am still game for it, however.

 

I want to be able to defrag the isos on usbstick FAT32 fs.
 
any insight on this?

Why then you would want a WIN9x ( and live, and as  iso ) for it?


The normally used tools are contig and wincontig that run on NT based systems only.
You would need only a very small PE, command line only, to run contig.exe, or a very minimal XP build, after all you would only need the access to the stick and not to the PC hard disk.

I don't know  if there is *any* file-oriented defragging tool running in plain DOS ( or FreeDOS ) surely it is something that would be very handy.

:cheers:
Wonko



#3 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 04:10 PM

Why then you would want a WIN9x ( and live, and as  iso ) for it?


The normally used tools are contig and wincontig that run on NT based systems only.
You would need only a very small PE, command line only, to run contig.exe, or a very minimal XP build, after all you would only need the access to the stick and not to the PC hard disk.

I don't know  if there is *any* file-oriented defragging tool running in plain DOS ( or FreeDOS ) surely it is something that would be very handy.

 

 

Well its intended for a Linux Audience that doesnt have windows availible.

 

I gues something like mini XP would do as well but I want to keep a small size

 

I know Hirens can do it but it is rather large



#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 17 February 2013 - 04:25 PM

Well its intended for a Linux Audience that doesnt have windows availible.

 

I gues something like mini XP would do as well but I want to keep a small size

 

I know Hirens can do it but it is rather large

 

Ah, well, the Linux "audience" won't have Windows 9x available as well, and an unauthorized redistribution of the files will be as WAREZ as Hiren's.

 

Any of the real good Linux guys would have you wash your mouth with soap. :frusty:

 

:cheers:

Wonko



#5 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 04:50 PM

ha ha :loleverybody:

 

Any other suggestions?



#6 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 17 February 2013 - 05:04 PM

Any other suggestions?

 

Sure :):

  1. Learn to write programs, write a tool running under Linux capable of defragmenting a file and/or the whole filesystem.
  2. Use partition logic: http://partitionlogic.org.uk/index.php

http://partitionlogi...fragmenting.php

 

Please consider how partition logic may defragment the volume (and not simply make a given file contiguous)

 

The good Linux guys switch automatically to denial mode  :ph34r: whenever the idea of defragmenting a "superior" filesystem such as EXT2/3/4 is even hinted, which is nonsensical in itself, but additionally (in a self-destructive attitude :frusty:) do not provide a defragmenting tool for the "inferior" FAT16/32/NTFS filesystems :w00t:.

 

There is this PERL based thingy, though:

http://sourceforge.n...jects/defragfs/

 

:cheers:

Wonko



#7 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 06:41 PM

thanks man, I'll have a look at partition logic

 

I myself started off as windows and have been converted to Linux

But I have no qualms about using windows stuff.

 

writing my own defragmenter is a little out of my league

 

I tried defragfs it sometimes fails on FAT32



#8 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 07:24 PM

Problem booting partition logic, I tried the iso

 

 

title Partition Logic
map (hd0,0)/_ISO/ManualMenuISO/partlogic-0.71-usb.iso (0xff)
map --hook
root (0xff)
chainloader
boot

 

it boots to partition logic but gives error?

 

tried the .img version as well

 

Maybe you know how to do it. I will post for a mnu file in another thread also



#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 7188 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 17 February 2013 - 07:31 PM

I can see a USB version and an ISO version but not a USB.ISO version - which one do you have?



#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 7188 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 17 February 2013 - 07:39 PM

Why not drop into the easy2boot auto folder?



#11 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 07:40 PM

I tried both

 

the one that boots and get errors during start is the iso one

 

Guess I dont have to apply for .mnu in other thread, youre fast



#12 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 07:43 PM

Why not drop into the easy2boot auto folder?

 doesnt work? maybe I have to extract or something?

 

 

It has a system/boot folder with

 

bootmenu      bootsect.fat32      bootsect.fatnoboot32  mbr.simple
bootsect.fat  bootsect.fatnoboot  mbr.bootme


Edited by Scooby, 17 February 2013 - 07:45 PM.


#13 steve6375

steve6375

    Platinum Member

  • Developer
  • 7188 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 17 February 2013 - 07:45 PM

Doesn't work - could you be more descriptive than a two word answer?



#14 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 17 February 2013 - 07:56 PM

There is nothing to extract.

Partition logic is very sensible to the disk adapter "detected", it is well possible that your hardware is NOT compatible with it.

It work allright (the 0.71 ISO) in Qemu (+Qemu Manager) with a "normal" hard disk image as first disk  BUT if you provide it the same hard disk connected as second hard disk (and no "first hard disk"), it fails.

 

:cheers:

Wonko



#15 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 17 February 2013 - 08:00 PM

I guess that was a little ters, sorry man.

 

 


Detecting Hardware_ floppy Disk Warning KernelfFloppyDriver.c DriverDetect(969)



Floppy disk fd0 type 16 is unknown: assuming 1.44mb



Detecting Hardware: IDE disk controller Error: ReadWriteDMA 



Disk 00 read 32 at 0 Error Kernelprocess: Readwrite5

reading 1 sectors at o: disk hd0



Kernel identify bootdisk: Disk functions initialization failed!


#16 steve6375

steve6375

    Platinum Member

  • Developer
  • 7188 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 17 February 2013 - 10:20 PM

The img for USB works if directly written to a USB drive, despite the geometry being totally screwy and the BPB set for floppy but it has an MBR with a partition table!

I cannot get the img to work under grub4dos though.

Similar problem with the the ISO. Cannot get that to boot successfully either from grub4dos! :frusty: 

Software seems very odd anyway and probably doesn't support all HDD controllers...



#17 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 February 2013 - 10:50 AM

I cannot get the img to work under grub4dos though.
Similar problem with the the ISO. Cannot get that to boot successfully either from grub4dos! :frusty: 

 
The floppy image works from grub4dos in Qemu.

:cheers:
Wonko

#18 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 18 February 2013 - 11:28 AM

Steve do you know any other tool, bootable from Grub4Dos

with the ability to defragment FAT32



#19 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 February 2013 - 11:54 AM

Steve do you know any other tool, bootable from Grub4Dos

with the ability to defragment FAT32

What about FreeDOS defrag? :unsure:

(again that would be filesystem defragmenting and not "making a file contiguous")

 

:cheers:

Wonko



#20 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 18 February 2013 - 12:01 PM

Yeah I checked it maybe with this

 

http://www.freedos.o...wsitem/149.html

 

That seems to let you use USB drives from DOS.

 

 

 

(again that would be filesystem defragmenting and not "making a file contiguous"

 

What is the difference? IF you defrag the whole drive your file will also be defragged right?

 

 

 

I am not good with dos and might need help. You experienced in DOS wonko?



#21 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 February 2013 - 12:21 PM

Yeah I checked it maybe with this
 
http://www.freedos.o...wsitem/149.html
 
That seems to let you use USB drives from DOS.
Well, no, not really.
You can defrag alright the "boot drive" in DOS, and in the case of USB boot, the USB support is given by your BIOS or by PLoP.
 
 
What is the difference? IF you defrag the whole drive your file will also be defragged right?
The difference is the strategy a defragmenter may use,  deframenting a filesystem does not mean (always) that *all* files in it will be contiguous, AND in the time needed, to make a given file contiguous is normally fast, to make a whole volume defragmented may take longer.
The FreeDOS defrag however allows to defragment files only (but there is no way that I know of to  defragment a single file)
I am not good with dos and might need help. You experienced in DOS wonko?

I am only familiar with MS-DOS since it's version 3.0 (year 1984) and with FreeDos since it's very first non-alpha release ;)
But there is nothing particularly complex or difficult, IF you are a "Linux guy".

BTW, this is one of the things for which a COSMIAS setup might be of use, "main" thread:
http://reboot.pro/to...-to-g4d-images/
Example:
http://reboot.pro/to...a-cosmias-tool/

:cheers:
Wonko

P.S.: FDEFRAG Cosmias tool added to page:
http://reboot.pro/to...-to-g4d-images/

#22 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 18 February 2013 - 04:09 PM

Thank you I will test around and see.

 

 

IF you are a "Linux guy".

 

 

If tell me what the requirements are to be a "Linux gay"?

I'll tell if I fit the description.

 

I don't discriminate I'll take whatever gets the job done(even warez)



#23 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 February 2013 - 04:18 PM

I don't discriminate I'll take whatever gets the job done(even warez)

That's enough to disqualify you from being a "Linux guy".

 

JFYI, there is a difference between the meaning (and spelling) of "guy" and that of "gay". :whistling:

 

:cheers:

Wonko



#24 Scooby

Scooby

    Member

  • Members
  • 62 posts
  •  
    Sweden

Posted 18 February 2013 - 04:35 PM

Disqualified I am then, a persona non-grata in the world of computers :cold:

 

 

JFYI, there is a difference between the meaning (and spelling) of "guy" and that of "gay".

 

Oh, I didnt know that, silly me



#25 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15185 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 18 February 2013 - 05:22 PM

Disqualified I am then, a persona non-grata in the world of computers :cold:
 
No, not necessarily, only you are not part of that "club" ;).
 
Someone believes that someone that uses dd as a "friendly name" for "copy and convert":
http://reboot.pro/topic/15207-/
or that for decades writes daily - several times:
 
 
tar -xvf
 
 
and does not - by default - include in *any* distro an alias naming it untar  :whistling: must necessarily be "Evil", but that's not true, most of them are really nice people :thumbsup:, only they tend to be shy and do not generally interact with impure people that by touching or actually going near any MS originated Operating System may be "contaminated". :ph34r:
 
We have a good exceptiion in Icecube :worship: among the members of the Forum, and I suspect that there are a few others that are "Linux enthusiasts at heart" but that are "forced" to use and know also the evil Dos and NT. :dubbio:

BTW - for unknown reasons the stupid board parser is again removing/hiding WHOLE sentences :frusty:
 
:cheers:
Wonko

P.S.: found it the stupid board parser adds "strange characters" when you go to this thread:
http://reboot.pro/topic/15207-/
(which works allright in the above "short" form) and you paste it in another post, like this:
http://reboot.pro/to...uest-for-ddexe/
but NOT "always"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users