Using FAQ


From Knoppix Documentation Wiki
Revision as of 20:39, 23 June 2005 by Jiilik (Talk | contribs)

Jump to: navigation, search

-German Version: Deutsch Using Faq

-Versión española: Usando Faq

-Versi Bahasa Indonesia: Indonesian Using FAQ


Contents

Q: Knoppix 3.2: Errormessage during booting, when HOME-Directory is saved on HD?

I've saved the date on a FAT-32Partition, as an image and without password. I can't format the partition in a LINUX-Format, since it's used by other data. When I boot KNOPPIX with "knoppix myconfig=... home=....", a short time later the message appears, that s.th. is not found and I'm asked for a password with at least 20 signs length (but such a password does not exist). It's no difference whether I type "home=scan" or s.th. like "home=/dev/hda5". Never the less it seems to work fine, when I ignore the password request and negate the further enquiry with "n" for "no". When I leave out "home=..." Knoppix has forgotton -as expected- the Home-Directory. The behavior is some how unbeautiful. Does anyone know how to avoid the request of that password?

A: I encountered this problem when I placed both the config files and the persistent home on the same partition.If you do not have separate partitons then the config can be located on a floppy( I have not tried this.)

Q: What is the root password?

A: There is none; all passwords are locked by default. You can set it by going Knoppix Menu->Root Shell and typing "passwd", then enterting a root password, also there are several sections you can read dealing with this subject in KNOPPIX/README_Security.txt. You can also type "sudo su" or "sudo -s" in any console window, or use <ctr>-<alt>-F2 to get at the text console with already opened root shell.

Apparently, however, in some versions of Knoppix, if you type 'sudo -s', it will ask for a password. If you simply press return without entering anything, it will tell you 'Authentication Failed."

Q: How can I write data on NTFS partitions?

A: Don't even think of it unless you have version 3.4 or later. Even then, make sure that you run the 2.6 or later kernel, and install the NTFS drivers using the Captive NTFS script of the Knoppix submenu. With earlier versions, you can read NTFS, but writing will cause data loss.

Q: I want to copy files to a windows box over the network

A: both directions are possible. Either start SAMBA or mount the remote share.

  • "sudo /etc/init.d/samba start", add users with "smbpasswd -a knoppix". After this, the home directory of user knoppix will be shared as readonly. If you need other shares, edit /etc/samba/smb.conf and restart samba (replace "start" with "restart").
  • "mkdir tmp/share; sudo mount -t smbfs -o username=Administrator //otherbox/share /tmp/share" (maybe start samba too to get rid of the warnings, especialy when using "nmblookup")

Or you can obtain a lissetup.sh ("wget http://users.volja.net/zejnovi/lissetup.sh" in console). After doing that, in console, type: "chmod +x lissetup.sh", and then "./lissetup.sh". After doing this, you can use the LAN browser in Konqueror.

Q: How can I watch a DVD?

A: First of all, you have to have Knoppix installed on your hard drive. You won't be able to execute the following proceedure if you are running it from the CD.

  • Add the following lines to your /etc/apt/sources.list:
deb http://www.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://www.videolan.org/pub/videolan/debian sources/
  • Then do:
apt-get update
apt-get install libdvdcss2
  • Play the DVD (e.g. with Xine, Ogle, Videolan, Mplayer etc).
  • If your DVD plays but skips and jumps while playing the dvd, then you probably need to enable dma for the drive.
  • To see if dma is enabled, log in as root and type: "/sbin/hdparm -d <device name>" For example: "/sbin/hdparm -d /dev/hdc"
  • To enable dma type: "/sbin/hdparm -d 1 /dev/hdc"
  • If you want dma to be enabled automatically then simply add the line "/sbin/hdparm -d 1 /dev/hdc" to any startup script (/etc/init.d/bootmisc.sh for example).
  • Enjoy watching DVD's in Linux :-)

-- The links for /etc/apt/soruces.list appear to be incorrect.

The right links are:

deb http://download.videolan.org/pub/videolan/debian $(ARCH)/
deb-src http://download.videolan.org/pub/videolan/debian sources/

Q: I've installed Knoppix 3.1 EN 1/20/03 to my hdd and default language and keyboard setting is German. How do I change to US EN? I've changed kde by fumbling through what I remembered of KDE Control Center; but keyboard is still in German with some of the keys in different places.

A: Right click on the German flag in the system tray of the taskbar and choose configure from the menu and set the keyboard to the layout you want to use.

You can use too KMenu > Settings > Control Panel > Regional & Accessibility > Country/ Region & Language > Locale > Country: "C - Default", Keyboard: English: US

That does it for KDE, for the rest of the system type dpkg-reconfigure locales

and choose one of the en_US options. ISO-8859-15 is nice (it includes the euro), although there is nothing wrong with ISO-8859-1.

Q: I've set the default language and keyboard in KDE, but some pages in Mozilla still come up in German instead of English? How do I fix this?

A: In Mozilla, under Edit >> Preferences... and check on Language. On the right-hand side of the page you'll see that German is preferred over English in multi-lingual pages. Move English up and it will be the preferred language.

Q: I think about using Knoppix to make Partition-Images with partimage - Did anybody try this out? Thanks in advance! -- http://linuxwiki.de/Brüßler

A: Yes, it works. -- LinuxWiki PartImage (in German)

Q: How do I save my preferences (language, UI...) at the end of my session, when booting from CD? How do I restore them?

Go to the K-menu > KNOPPIX > Configuration and choose "save config", you can save to floppy or to an already existing partition on the harddrive. (on a windows partition is fine)

To restore it, at the "boot:" prompt type in "knoppix myconfig=scan", and it should find and restore your saved settings at boot time.

Q: After Installed knoopix in HD with lang=es, if I remove all the user configuration files in the /home/knoppix directory, the keys "< >" of my spanish keyboard are no longer recognized in the new kde session. What is the configuration file resposible of this behaviour?

A: Check the small flag in the bottom right corner of the screen, and you have to boot up with lang=es as a kernel parameter for it to work. (check /etc/lilo.conf)

Q:From where does KNOPPIX start all the scripts at the bootprocess?

A:The init scripts are located in /etc/init.d and are symlinked to in the /etc/rcX.d directorys in a sysV like fashion.

Q: Where can I find where all the boot-time parameters are interpreted???

A:You can see them in /etc/init.d/knoppix-autoconfig script

Q: How do I use an USB memory stick to save myconfiguration?

A: First boot KNOPPIX with the memory stick inserted. Got to the KNOPPIX menu, Configuration, Save Configuration. When asked, choose /dev/sda1. When booting type knoppix myconf=scan home=scan at the boot prompt.

Q: After using KNOPPIX, my Dell computer does not start!

A: This is an issue with the Dell BIOS. Simply pull out the power cord from your computer for a few seconds, and your computer should start again. You can also try passing "apm=off" or "apm=real-mode-poweroff" to the kernel during startup. apm=real-mode-poweroff is better because it keeps other apm-features (advanced power managment) turned on.

Q: How can I see a film with subtitles that of course I have, I think Xine is useful but I can't do it?

A: in a console "xine name_movie.ext#subtitle:name_subtitle.ext" you have to replace .ext with the real extension

Q: Which program do I use for word processing, spreadcheat calculations, image processing, burning, scanning, surfing, chatting...

A: Take a look at the Knoppix Tutorial.

See also : * Using and Customizing Knoppix