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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why can I see my Windows files in Knoppix under 'hda1'? That's very scary to me, because I thought the safety of Knoppix came from the fact that it treated the Knoppix drive as a separate partition, so no matter how badly I screw up Knoppix can never see, harm or manipulate anything I have under my Windows drive.
I thought the point of a partition is COMPLETE 100% independence between drives. Is this not the case, or is it the case but Knoppix is not really meant to be simulating a partition?
Can somebody please explain what exactly a partition is, what its implications are, and whether Knoppix is actually simulating a partitioned drive while the LiveCD is in your drive?
Apparently it only has read-only access to the Windows files, but still, the answers to all my questions above totally escape me.
Originally posted by veeruk101 Thanks for reading this post.
Why can I see my Windows files in Knoppix under 'hda1'? That's very scary to me, because I thought the safety of Knoppix came from the fact that it treated the Knoppix drive as a separate partition, so no matter how badly I screw up Knoppix can never see, harm or manipulate anything I have under my Windows drive.
I thought the point of a partition is COMPLETE 100% independence between drives. Is this not the case, or is it the case but Knoppix is not really meant to be simulating a partition?
Can somebody please explain what exactly a partition is, what its implications are, and whether Knoppix is actually simulating a partitioned drive while the LiveCD is in your drive?
Apparently it only has read-only access to the Windows files, but still, the answers to all my questions above totally escape me.
Thanks a lot!
Knoppix can see the Windows drive because it's mounted.
Unmount it and it wont be able to
Code:
umount /dev/hda1
The actual "drive" that Knoppix is running in/on is stored in RAM.
Plus your windoze drive is mounted in read-only mode in Knoppix by default, so you can't write to the windoze drive unless you change the write permissions.
A partition is a logical piece of a drive. It is also physically contiguous, that is, it is not dispersed across the drive in bits and pieces, rather, it is one "chunk" of the drive.
The point of a partition is that if you screw up *one* partition, you can wipe it out without affecting data on any *other* partition. However, they do not provide complete, 100% independence. For instance, it is a common practice to put "/home" on a separate partition on a Linux install. This way, if you have to reinstall your OS, for whatever reason, you don't lose any of your *personal* data.
Any OS can "see" files on any partition formatted with a filesystem that it can understand, as long as that partition is mounted on that OS's filesystem. Thus, Windows can have multiple "drives" (really partitions) like C:, D:., E:, etc. on a hard disk, that it "maps" (mounts) to the filesystem, but it can't by default see Linux-filesystem partitions. Linux, OTOH, understands Windows filesystems, so it can mount virtually any partition you will have on your home PC.
Thus, it is up to the computer operator to not mount, or unmount, any partitions they do not want to have available for access, and mount as read-only any partitions which contain data to be read, but not written to.
Your other question has already been answered: Knoppix's "partition" is actually just in RAM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.