Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Editing Linux Files in Windows.  (Read 7706 times)

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Editing Linux Files in Windows.
« on: November 03, 2008, 08:00:18 PM »

I found a useful if dangerous bit of free software recently which I thought some forumites might be interested in. I found it whilst trying to triple boot Centos by amending a grub file. The program is Ext2IFS and after it installs you can access and edit text files in Linux partitions from Windows Explorer. The download link is http://www.fs-driver.org/download/Ext2IFS_1_11a.exe and you run it from the Control Panel.
It hasn't so far solved my Centos problem but could be useful.
Tony
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43573
  • Penguins CAN fly
    • DSLstats
Re: Editing Linux Files in Windows.
« Reply #1 on: November 03, 2008, 09:40:43 PM »

I would certainly be very careful about using that. Text files in Linux systems use LF line endings, but Windows uses CR/LF so you would need to be sure that you use a text editor which preserves the correct line endings, or you might end up making the file unusable.

The other thing to be aware of is that it only fully supports ext2fs file systems, which are almost unused in modern Linux systems. It partly supports ext3fs (the journalled version of ext2fs) but there seem to be some caveats about this, and I would be very wary about trusting it. Other Linux file systems (and there are many) aren't supported at all.

Sorry if i seem to be pouring cold water, but I really think that if you need to edit files on a Linux system which you can't boot, the best and safest way would be to use one of the many live Linux CDs.
Logged
  Eric

tickmike

  • Kitizen
  • ****
  • Posts: 3640
  • Yes Another Penguin !. :)
Re: Editing Linux Files in Windows.
« Reply #2 on: November 03, 2008, 10:36:25 PM »

In most ditro's there is normally a text editor built in.
On PCLinux I use Kwrite.  ;)
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: Editing Linux Files in Windows.
« Reply #3 on: November 03, 2008, 10:48:57 PM »

I am grateful for the warning about file endings. So far I haven't used the facility very much and each time I have performed the editing in Editplus, a programming text editor which I think preserves the original file ending. If you can't get into a useable Linux Operating System to do the editing in I thought this might be the way to do it. Your suggestion of a live CD is much more sensible and I shall try it.
Tony
Logged