PDA

View Full Version : Problems with USB drives and writing to /mnt



Ewen
07-06-2004, 11:54 AM
I have COPIED (not installed) an earlier version of Knoppix to my hard drive and I run it with a 98 bootdisk which changes directories to the Knoppix folder and then runs .bat file: loadlin.exe vmlinuz root=/dev/hda5 initrd=miniboot.gz lang=en knoppix myconfig=/mnt/hdb5

Now this works very well and at the end of the session I can save my Knoppix config back to /hdb5. BUT I have had some difficulties in that I have two USB devices, a USB memory stick and an external USB hard drive. On boot up Knoppix "sees" them but when I navigate to them in /mnt they come up empty. If I make a shortcut on the desktop I can see and open the contents of the USB drives. However at the end of the session Knopppix will not save a configuration.

I can make alterations to the fstab, and they are retained (I thought that this would help at boot up) but even though I write the corresponding directories to /mnt they are deleted on boot up AND Knoppix will not allow me to save my configuration.

Are these problems occurring because I have copied rather than installed Knoppix to my drive?

aay
07-06-2004, 02:52 PM
Are these problems occurring because I have copied rather than installed Knoppix to my drive?

Yes. If you boot from an image of Knoppix on your hard drive any changes you have made will revert back to what is on the cd when you reboot. Nothing will be saved. This is why you are needing to mount your drives each time by clicking the icons on your desktop. If you use the "df" command before clicking on the icons, you will see that your usb drives are not mounted (even though they will be listed in /etc/fstab). I you want things to stick you'll have to do an install on your hard drive.

Ewen
07-07-2004, 05:44 AM
Thank you aay... I thought that may be my problem... I guess I'll have to install instead but i'll buy the update first. I must say I like Knoppix.

Regards... :D