LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Knoppix 3.6 floppy question (https://www.linuxquestions.org/questions/linux-newbie-8/knoppix-3-6-floppy-question-338540/)

0perat0r 06-29-2005 07:06 PM

Knoppix 3.6 floppy question
 
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.

kencaz 06-29-2005 07:42 PM

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.

KC

0perat0r 06-29-2005 08:50 PM

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 :D 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.

kencaz 06-29-2005 09:13 PM

Glad you firgured it out, however, It is still Live and theirfor restricted. You may want to just install it on your HD. This would solve a lot of saving configs and floppy disks...

KC


All times are GMT -5. The time now is 04:13 AM.