PDA

View Full Version : Knoppix 3.8 (CeBit) Live CD - Help!



Becu
03-29-2005, 02:35 PM
Hi,

I'm a newbie and someone as recommended to me the knoppix 3.8 live cd version of Linux for a simple reason: I need to install a program of linguistic analysis based in this OS but I have Win XP SP1 on my laptop. I want to give Linux a try, but I need to keep using windows...at least for now.

So,

The problem I had with other Live CDs was that I couldn't write or save anything on my (hard) disk (since it is NTFS, as far as I know). This problem is supposed to be solved with Knoppix 3.8, right? But...

First of all, when I tried to install a rpm file (a "part" of the program whose function is unknown to me...) it would't let me because I need a "root" password. I couldn't decompress the program files either. I have read in a thread I can set the root password by typing "sudo su" in any console. OK, I will try that. But still I have a question: in case I'm able to decompress and/or install the program...where would it be written and stored? I don't want it to overwrite any windows file! Does Linux create any directory of folder where it keeps and install programs permanently (which I can check even if i log out, from my windows system?)

I hope I'm not forced to partition my disk (yet) for running the program I need.


Thank you very much for your help and forgive my ignorance ;)

Best regards,

Becu

UnderScore
03-29-2005, 05:10 PM
The problem I had with other Live CDs was that I couldn't write or save anything on my (hard) disk (since it is NTFS, as far as I know). This problem is supposed to be solved with Knoppix 3.8, right? But... NTFS writting has not been solved with 3.8 but I will explain how you can accomplish your tasks.

First of all, when I tried to install a rpm file (a "part" of the program whose function is unknown to me...) it would't let me because I need a "root" password. I couldn't decompress the program files either. I have read in a thread I can set the root password by typing "sudo su" in any console. OK, I will try that. Try this post for the root password http://www.knoppix.net/forum/viewtopic.php?t=11500


But still I have a question: in case I'm able to decompress and/or install the program...where would it be written and stored? I don't want it to overwrite any windows file! Does Linux create any directory of folder where it keeps and install programs permanently (which I can check even if i log out, from my windows system?) Knoppix 3.8 uses a new feature called UnionFS which takes a portion of your PC's RAM and maps it on top of the running Knoppix CDR (& read-only) filesystem. This map allows you to write changes to the running filesystem, but the actual written files are stored in the mapped RAM space and not on the CDR or the hard drive. This is how you can install programs in Knoppix 3.8 without having to use a hard drive or a USB memory device.


I hope I'm not forced to partition my disk (yet) for running the program I need.You should not have to repartition the HD. You should be able use root authority to convert the RPM file into a DEB file, install the DEB file, and then run the program.
To become root or to use root authority to perform a administrative task use sudo then the command you want to run. You will also use a program called alien to convert the RPM to a DEB:

sudo alien --to-deb your-program.rpm
It will take some time but will create a new file with the extension .DEB. You will now need to install it using the dpkg command.

sudo dpkg -i your-program.deb

Now that it has been installed you can run the program itself by either typing it's name or by running it via the GUI.

This method is not persistant, meaning that once you reboot ALL the changes (installed programs, created documents, etc) are gone & never to be recovered. If you intend to save your created documents you have the option of saving them to another PC via a LAN, emailing them to yourself, saving them to a USB memory stick, if you have a CDR drive you can burn a CDR. You can not save them to the HD because writing to a hard drive NTFS partition could destroy the NTFS partition.

I hope this helps.
James

Becu
03-31-2005, 01:04 AM
Thanks Underscore. That was exactly the kind of clear and intelligible explanation I needed.

javascript:emoticon(':D')
Very Happy

I will do as you suggest and I'll tell you the news.

samlutley
04-07-2005, 04:01 PM
I'm running knoppix from the cd and want to install Skype. It would be great if I could carry that prog with me all the time, so when I booted into knoppix it was there again, but reinstalling each time is okay with me if that's not possible.
I was reading your posts and trying to follow them, but something doesn't seem to be right. I can't get Skype to install.

When I run:

sudo dpkg -i skype_1.0.0.20-1_i386.deb

I get:

dpkg: unable to access dpkg status area: Read-only file system

Any thoughts on what i'm doing wrong?

sam

tdjokic
04-07-2005, 11:23 PM
Maybe you don't have enough RAM? I understand this Live instalation goes to RAM.

bcm
04-08-2005, 04:12 AM
I am new to Knoppix so I hope that you will excuse my dumb question:

I thought that the whole idea was to use knoppix isntead of windows to avoid all the security problems. So why would any one want to use Knoppix under windows ? What are the advantages (and disadvantages)? :roll: