PDA

View Full Version : put knoppix stuff on my C: Disk



M@rijn
11-23-2002, 07:30 PM
How can i put stuff on mijn primary C: harddisk??

roberto
12-31-2002, 04:25 AM
Being a new linux user myself I am going to try and answer this as best I can and hopefully someone will correct me wherever I may go wrong. There are a few things to look out for if you are new to linux. This is not an abbreviated document as well it shouldn't be. At least not until M$ and linux play safe (not necessarily nice but safe is good)

1.) :twisted: M$'s Windows XP, 2000, and NT can all "POSSIBLY" be corrupted by writing to the disk when not actually running windows. This is due to some technology M$ claims is a security feature. If you are normally running Windows 95,98, or ME you generally wont need to worry about this. (unless you intend on modifying/deleting existing files.) :twisted:

2.) Knoppix makes all of your Hard Disks In your computer read-only while it is running (changeable). (this is also a safety feature and just a good idea in general to start with, especially because of number 1)

3.) Your drives under linux/Knoppix will NOT be labeled as C:, A:, D: etc. They instead will be labeled in the order in which they are detected in your machine and where they are physically located. In most machines your C: drive is most likely labeled as "hda1" and if your disk is split into 2 partitions your D: drive would normally be called "hda5". Your floppy on Knoppix will generally be labeled as "floppy" your cd-roms as "cdrom" and "cdrom1" if you happen to have 2 cd drives. For more info please read much of the stuff available on the internet as this box is too small to include such info.

To be able to make your "c:" drive writeable and to save your files follow the instructions below.

:twisted: WARNING!!! See the first section of this reply BEFORE doing these steps as you CAN cause damage to your other operating system IF you are normally running Windows NT, 2000, or XP. If you are running these operating systems then please read up on the issues relating to writing to these systems when they are not running. :twisted:

1.) Boot Knoppix. (I assume this is already done.)

2.) Check to make sure your drive has been recognized. On your desktop you should see drive icons with labels corresponding to your computer system. (See above) One should probably say "hda1" underneath it. If it does not, then Knoppix may have not been able to detect your hardware right (which I doubt).

3.) Open the drive icon by clicking on it once with your left mouse button.

4.) Check to make sure that the contents of the drive are the same as you would see on your Windows C: drive. (Keep in mind that when you are in windows you see your files from the desktop in. When you are in Knoppix you are seeing your files from the root directry out and NONE of the shortcut links in windows will work. So it will look a little different in Knoppix then you may be used to.)

5.) If the contents match your old "C:" drive under windows close the window you have just opened and go to the step 6. If the contents do not match or you get folder icons that are written in symbols you may have either mounted the wrong partition (sometimes "hda2" if your disk is partitioned under windows) or your file system is not fully supported. Also be sure to check and make sure that you indeed HAVE opened the right icon by looking at the title on the very top of the window frame. If all looks right and you still have garbled names or other weird things go to step 5a

5a.) Try one of the other drive icons on your desktop. One of those may give you what you are looking for. Still having trouble? Come back here and give me some more info. Finally working for you? Good, continue to step 6.

6.) With the window closed that you previously opened. Right-Click on the drive icon, that produced what you were looking for, then select " Mount as Read - Write" from the menu. It will prompt you again asking if you are sure you want to do that. If you have read the warnings and you understand the possible danger to some operating systems then click on "Yes". If you aren't sure why I am making a big deal out of a yes or no question then please search the internet on the topic of "linux and NTFS". Click on NO if you dont yet understand.

7.)Your filesystem should now be in a writable state. You may have difficulty creating folders/files using the default filemanager window. you may want to open your K menu (the gear icon) and Select "System Tools" -> "File Manager (root)" From the list. This will allow you to make the folders and some file types through this window. Otherwise you may save your files through whichever program you are in.

IMPORTANT NOTE!
:D Your drive letter and the subfolders on your old C: drive are normally located by browsing to "/mnt/XXXX/" where X is the label that you had to find in step 2. This is also where you can find the other Disk drives on your system (floppy, cdrom, zip, LS-120 etc. sometimes though these drives may be in a folder called "auto" so the path MIGHT be "/mnt/auto/XXXX") :D

8.) If you get errors doing this process then something else may be awry. Please feel free to come back to this site and ask me some questions.

NOTE AGAIN!
You may get errors saying something about " permission denied" or "You do not have the proper permissions" These are fairly common as most of the programs are being run in Knoppix as a user and not an Administrator or root as it is called in the world of linux. Please check out the Knoppix FAQ for more information for these types of problems.

Thx for reading all of this. :shock: I hope all of my typing was worth it. :D

P.S. please see this topic in the general support section and vote for how helpful this was!

PwrSrg
03-15-2004, 06:32 PM
"WARNING!!! See the first section of this reply BEFORE doing these steps as you CAN cause damage to your other operating system IF you are normally running Windows NT, 2000, or XP. If you are running these operating systems then please read up on the issues relating to writing to these systems when they are not running."

WHERE CAN I READ UP ON THESE ISSUES?!?!?!
You have the warning here, but NO solutions.

I had NEVER run Linux or Knoppix before, but had burned a Knoppix bootable cd last week to format a new Tivo drive? (I had never even heard of Knoppix) I had to restart my machine this morning and forgot the cd was in the drive. I came back to my machine to see Knoppix loaded on accident. So I logged out, removed the cd and rebooted.

NOW... After Windows XP came back up, my secondary "Data" drive with MY WHOLE LIFE ON IT, including every digital picture I have ever taken over the last 8 years (about 40,000 of them) and ALL of my clilents files worth HUNDREDS OF THOUSANDS OF DOLLARS, is suddenly "Not Accessible"!?!?!?!?! All of the folder and file names, including the drive name are all garbled.

Needless to say, my life is flashing before my eyes...

PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!

OErjan
03-15-2004, 08:46 PM
i doubt it is knoppix that did that. knoppix does not put anything on th hdd unless you practically force it to. if you have a very alert antivirus, it may have some "safety feature" activated on account of changed atime on one of your drives (that is a "timestamp" that tells when a file is last read).
it has hapened to me once, anoying beyond belief. luckily i was able to folow the antivirus walktrough on how to "unlock" the drive. the antivirus in question is long out of production (and name is out of my had), unlikely you have the same but...

CrashedAgain
03-16-2004, 03:32 AM
OK, the scoop on the filesystems is this: most Linux systems (not just Knoppix) are not able to reliably write to Microsoft NTFS file systems. I keep hearing about new developments that will allow fix this but until it's proven be sceptical. It's not because of microsoft 'security' feature, it's because the exact formatting of NTFS systems is an MS secret. Linux systems can write reliably to fat32(vfat) file systems used with Windows 95/98/ME so the best arrangement for a dual boot XP system is have a C drive (hda1 to Linux) NTFS for XP operating system, hda5 formatted Linux ext3 for Linux o/s & a vfat D-drive ((hda6 or 7) for data to be shared by both o/s. Under Linux only the shared data drive is mounted read/write, and of course XP can't even see the Linux drive.
It seems almost impossible that starting Knoppix on CD could damage your data drive, especially if no one tried to use the computer with the Knoppix system. Knoppix would detect but not mount the hard drive unless the user deliberately mounted it, then the default mount is read only
Unfortunately, that isn't much help with your lost files and I don't know enough about file recovery to offer anything except maybe Norton utilities or similar might be able to help. It's possible Knoppix can read the damaged drive in which case you could use it to transfer the files to someplace safe...link to another computer perhaps. but I would try all the Windows recovery options first.

Stephen
03-16-2004, 05:50 AM
NOW... After Windows XP came back up, my secondary "Data" drive with MY WHOLE LIFE ON IT, including every digital picture I have ever taken over the last 8 years (about 40,000 of them) and ALL of my clilents files worth HUNDREDS OF THOUSANDS OF DOLLARS, is suddenly "Not Accessible"!?!?!?!?! All of the folder and file names, including the drive name are all garbled.

Needless to say, my life is flashing before my eyes...

PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!

And you have all that important data on there with not a single backup??? I would suggest a search on a HD recovery specialist if you cannot get access any other way to backup.