Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to create a knoppix.sh or similar config file so that Knoppix will scan the file for my parameters on boot-up. I followed the procedure in the myconfig=scan section of this page: http://www.knoppix.net/wiki/Cheat_Codes. First of all, Knoppix cannot access a floppy that I just formatted. I get an error saying it does not see the mounted floppy. However, it can mount and access the cd-rom, no problem. I tried this on two totally different systems, and had the same problem with the floppy. I have tried formatting floppies using the GUI options in KDE and fdformat /dev/fd0. Is there a known problem with Knoppix and floppies? I also tried the saveconfig command, which would be really cool if it worked. Once again, it could not see/access the floppy. I just started working with Knoppix, and I'd like to continue. I also need to save off my boot configs onto a floppy somehow, so that I dont have to keep typing in the cheat code parameters on every boot. Thanks in advance.
boot: knoppix myconfig=scan should work as you had attempted, however, knoppix.sh must exist or it can't load anything. You stated that "saveconfig" would not work. This is how the knoppix.sh is generated, and unless you can get saveconfig to save the file properly then 'myconfig=scan" is useless.
Try running "saveconfig" again from the menu using a pre-formatted (vfat) floppy. it should give you an option of HD or FD drives, however, the file may be larger then can fit on a floppy, therfore you may get an error. Clear your browser cache file before saving knoppix.sh.
Also if your running windows on /dev/hda knoppix can store that file on your C: drive even though it is read only. then you may use, for example, the option:
boot: knoppix myconfig=/mnt/hda1
I did notice also when I used to use knoppix is that the cheat codes tell you to use the /dev point fo find the config file, however, I found that you have to use the /mnt point instead such as:
boot: knoppix myconfig=/dev/hda <--- will not work
boot: knoppix myconfig=/mnt/hda1 <--will work
If you can get a floppy mounted check the /mnt point, try to save the knoppix.sh file there and then use that point such as:
boot: knoppix myconfig=/mnt/floppy
It may take some playing around with, and I hope i made a little sense, but it will work.
Thanks a lot for your advice, I just tried most of what you suggested before reading this thread again. Probably could have checked back sooner, and saved myself the trouble Oh, well, here's how I solved this:
You have to use this command: mkfs -t ext3 /dev/fd0 1440, to formay the floppy. Nothing else seemed to work, not even formatting through the GUI. Then, do saveconfig, and it will work. Ignore the pop-up about replacing the floppy in the drive with one having a ext2 or DOS file system. Reboot, and use the floppyconf parameter: knoppix floppyconf, and it will work.
Thanks for your help. I may try the hard-disk option.