LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   whick window software can read and write the file in linux partition (https://www.linuxquestions.org/questions/linux-software-2/whick-window-software-can-read-and-write-the-file-in-linux-partition-344151/)

ztdep 07-17-2005 11:59 PM

whick window software can read and write the file in linux partition
 
i need to modify a file in windows system ,because my linux system can not boot regularly.
does someone know whick software in windows system can do this job.

regards

tredegar 07-18-2005 03:12 AM

You could look at explore2fs .

Easier might be to boot from a distro that runs from CD, like knoppix. Run that, mount your HDD, edit the file, you are done.

ztdep 07-18-2005 03:52 AM

thank you for your feedback

but what is distro

tredegar 07-18-2005 03:59 AM

Distro = Linux distribution eg:
Mandrake
Suse
knoppix
Red Hat /Fedora
Debial etc. etc.

They are all "linux", but slightly different in the way they manage things.

Your linux will generally tell you what distribution it is as you log in.

Otherwise the file /etc/issue should contain the details.

Bruce Hill 07-18-2005 05:17 AM

Quote:

Originally posted by tredegar
Otherwise the file /etc/issue should contain the details.
Or maybe not...
Code:

mingdao@james:~/build$ cat /etc/issue

Welcome to \s \r (\l)

mingdao@james:~/build$ cat /etc/slackware-version
Slackware -current

Linux is the kernel; a distribution is:
Quote:

A Linux distribution or GNU/Linux distribution (or a distro) is a Unix-like operating system comprising software components such as the Linux kernel, the GNU toolchain, and assorted free and open source software. Some proprietary software is found in certain distributions and is not free software. A Linux Distribution — or distro, en parlante — is created by individuals, groups and organizations from around the world.
from ~ Wikipedia
tredegar ... why did you leave out Slackware ... the oldest distribution still in active development?

DavidPhillips 07-18-2005 05:33 AM

Do not use windows for that. Use Linux. Live or rescue cd will do it.


Normally you can get the system to boot if you edit the kernel options in the boot loader.



example...

kernel (hd0,6)/vmlinuz root=/dev/hda8 vga=0x317 selinux=0 splash=silent



change to this and boot...


kernel (hd0,6)/vmlinuz root=/dev/hda8 init=/bin/bash rw



If you use lilo try this


linux single

tredegar 07-18-2005 08:12 AM

Quote:

tredegar ... why did you leave out Slackware ... the oldest distribution still in active development?
Sorry Chinaman, but let's face it, however long I made the list, someone would be bound to complain that I'd left their favourite off!

I like the definition of "distro".

So, if /etc/issue cannot be relied upon to tell you the distribution, what can?

ztdep 07-19-2005 10:20 PM

hello :


but what is the default password for the root in the knoppix system , i do not have the right to write any file

DavidPhillips 07-19-2005 10:21 PM

When you cat /etc/issue you are not using the escapes in the file...

/s = name of Operating system.

if you have this in /etc/issue ctrl+alt+f1(f2,f3 etc) from X should get you to a login virtual terminal and the OS will be displayed by the getty program.

DavidPhillips 07-19-2005 10:27 PM

You need to set the root password in knoppix. Mount the partition in a folder under your home folder or /mnt


All times are GMT -5. The time now is 10:03 AM.