LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-17-2005, 11:59 PM   #1
ztdep
Member
 
Registered: Jul 2005
Posts: 196

Rep: Reputation: 31
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
 
Old 07-18-2005, 03:12 AM   #2
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
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.
 
Old 07-18-2005, 03:52 AM   #3
ztdep
Member
 
Registered: Jul 2005
Posts: 196

Original Poster
Rep: Reputation: 31
thank you for your feedback

but what is distro
 
Old 07-18-2005, 03:59 AM   #4
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
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.
 
Old 07-18-2005, 05:17 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
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?
 
Old 07-18-2005, 05:33 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
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

Last edited by DavidPhillips; 07-18-2005 at 05:37 AM.
 
Old 07-18-2005, 08:12 AM   #7
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
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?
 
Old 07-19-2005, 10:20 PM   #8
ztdep
Member
 
Registered: Jul 2005
Posts: 196

Original Poster
Rep: Reputation: 31
hello :


but what is the default password for the root in the knoppix system , i do not have the right to write any file
 
Old 07-19-2005, 10:21 PM   #9
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
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.

Last edited by DavidPhillips; 07-19-2005 at 10:23 PM.
 
Old 07-19-2005, 10:27 PM   #10
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

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

Last edited by DavidPhillips; 07-19-2005 at 10:28 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
Could I create a FAT partition that both WinXP and Linux could read/write to? EOHooligan Linux - General 4 01-25-2005 11:48 AM
Windows driver to read/write Linux file system bmccurdy General 3 08-23-2004 05:06 PM
Windows partition not read-write under Slackware Linux tyg Linux - Software 5 11-08-2003 03:52 PM
Read/write to linux partition from Win2000/XP? ncage Linux - General 10 03-16-2003 11:30 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration