Chapter 11 . Running KNOPPIX 345 The following (Web design service)

Chapter 11 . Running KNOPPIX 345 The following sections give you some ideas about how to save what you do in your KNOPPIX session to use in future sessions. Writing to Hard Disk Although hard disk partitions are mounted read-only by default, you can make them read/write if you like. Then you can store any data you want to save on those partitions. (You can simply drag and drop files to those partitions.) If your hard disk partitions are Linux partitions, it s pretty easy to do this. With older Windows systems that use VFAT partitions, it s not too hard either. With NTFS partitions, things get a bit trickier: Up to this point, there s not much risk of damaging any data on your hard disk. Once you make your disks writable, you have the potential for deleting or changing that data. Keep that in mind if the computer doesn t belong to you of if you are not used to using Linux. Regardless of which user you are logged in as, KNOPPIX does not prevent you from changing any file in a writable hard disk partition. Mounting Linux Partitions for Writing KNOPPIX usually identifies all hard disk partitions and adds entries for each one in your /etc/fstab file. If you click the icon representing that partition, the partition is automatically mounted and a folder opens to the root of that directory. The name of each partition (hda1, hda2, and so forth for IDE partitions; sda1, sda2, and so on for SCSI disk partitions) is shown on the desktop icon. With that information, here is how you can make any of those partitions writable: 1. Click the hard disk partition you want to write to on the KNOPPIX desktop. A folder opens, displaying the top directory in that partition. 2. When you know which partition you want to write to, close all folders or shells that have that partition open. (With the partition open, you can t remount it.) 3. Open a Terminal from the panel and become root user by typing $ cd $ su - # 4. Make sure that the partition you want to mount as writable is unmounted. For example, to unmount the second IDE hard disk partition (hda2), type # umount /dev/hda2 If the command completes quietly or if it says not mounted, you are fine. If it says device is busy, there is still a shell or folder window that is holding that partition open. Before you can continue, you must close whatever is holding the partition open and make sure the umount completes. 5. Next, you need to mount the partition so it is writable. Here s how: # mount -orw /dev/hda2 Caution
In case you need quality webspace to host and run your web applications, try our personal web hosting services.

Leave a Reply