I've replaced a laptop's dodgy HDD with a CF card and got a few Linuxes booting with grub4dos from it but I also need to install a Portable XP.img.
The problem I have is that when I copy the img to the CF, despite it being 80% empty the file gets fragmented and so g4d can't boot it.
If I had a working XP on there I'd just use Wincontig under that but I don't.
Putting the img on a USB, defragging it from my Windows machine and then booting from that before copying the img to the CF and defragging it from there isn't going to work either as a) the laptop only has USB1 which is excruciatingly slow and it can't boot from USB anyway (although I might be able to get round that with PLOP).
All I can find in Linux forums is people saying how pointless and unnecessary defragging is under Linux, so I don't think I'll get much help there.
So is there anything that I can use in Linux to do the same thing as Wincontig (i.e identify and defrag individual files)?
Making file contiguous from Linux
Started by
doveman
, Sep 07 2012 11:39 AM
2 replies to this topic
#1
Posted 07 September 2012 - 11:39 AM
#2
Posted 07 September 2012 - 03:31 PM
Apart from this known nonsense that is circulating among the good Linux guys , example:All I can find in Linux forums is people saying how pointless and unnecessary defragging is under Linux, so I don't think I'll get much help there.
So is there anything that I can use in Linux to do the same thing as Wincontig (i.e identify and defrag individual files)?
http://www.howtogeek...-defragmenting/
making a file contiguous has (incredibly ) not as many connections with a "disk defrag" as it is performed under Windows than you might think (i.e. making single files contiguous is IMHO a far lesser priority in the optimization of a windows filesystem than other things, like placement and order of files).
Here:
http://linux.die.net/man/8/filefrag
http://www.cyberciti...-fragmentation/
See if this fits/works:
http://www.linuxques...sing-dd-856653/
http://htexmexh.my3g...ux/scripts.html
And/or (for filesystem defrag):
http://defragfs.sour....net/index.html
http://defragfs.sour...net/theory.html
Wonko
#3
Posted 07 September 2012 - 05:46 PM
Thanks, that looks like it should do the trick. Nice to see you back
Whilst I've got your attention , I'm having a bit of trouble with a 16GB CF in a laptop (it boots and loads Linux, just has trouble with LiveXP and Portable XP), so if you've got a moment, perhaps you could take a look at my other thread and see if you have any ideas http://reboot.pro/16737/page__st__75
Whilst I've got your attention , I'm having a bit of trouble with a 16GB CF in a laptop (it boots and loads Linux, just has trouble with LiveXP and Portable XP), so if you've got a moment, perhaps you could take a look at my other thread and see if you have any ideas http://reboot.pro/16737/page__st__75
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users