LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2007, 03:12 AM   #1
barrage
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Rep: Reputation: 0
New to linux


Hi all

I am a new member here. Just trying to shift from windows to linux. Windows keeps giving some or the other new problem everyday. I have downloaded open suse, ubuntu and have made a a bootable knoppix cd. Now I wanted to know, while using knoppix, it gave me access to all the files on my hard drive but did not let me save any changes to them. Is this normal or am I going wrong somewhere?

Thanks
barrage
 
Old 07-31-2007, 03:55 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
I have a Knoppix CD, but rarely ever put it in the drive, I also have a Helix Live CD which is a customized forensics version of Knoppix. It is set by default to only mount the host computer's drives in read only mode. When I first boot into the Knoppix environment, none of the drives will be mounted, but there are icons on the desktop representing them. If the drive is an ATA drive, the name of the first partition icon will be "/media/hda1". If this partition is an NTFS file system, and I want to mount it in read/write mode, I open a root terminal and issue this command:
Code:
#ntfs-3g /dev/hda1 /media/hda1 -o rw
Then I wait till it shows that it's mounted before doing anything. If it is mounted, you have to first un-mount it with this command before mounting it in read/write mode:
Code:
umount /media/hda1
Changes to files in this partition may not be saved when you shut down the computer unless you un-mount it properly before a power down with this command for an NTFS file system:
Code:
#fusermount -u /media/hda1
If the drive is a Fat32 formatted partition, I mount it like this:
Code:
#mount -o rw -t vfat /dev/hda1 /media/hda1
To un-mount it prior to mounting it in read/write or to save all changes before power down I issue this command:
Code:
#umount /dev/hda1

Last edited by Junior Hacker; 07-31-2007 at 03:56 AM.
 
Old 07-31-2007, 06:55 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
The last time I used knoppix, you could change a drive to writeable by R-clicking the icon on the desktop and choosing appropriately from the menu that appears. Much faster than dropping to the command line, although that is guaranteed to work!
 
Old 08-06-2007, 12:08 PM   #4
barrage
LQ Newbie
 
Registered: Jul 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks a lot. Sounds like it will definitely work. Will surely try it.
 
  


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




All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration