PDA

View Full Version : Why is the partition mounted via "fromhd=..." rw?



Albretch
12-19-2016, 06:53 PM
First I boot knoppix as:



knoppix64 init 2 no3d fromhd="/dev/sdc5"


then I see



$ mount | grep mnt-system
/dev/sdc5 on /mnt-system type ext4 (rw,relatime,block_validity,delalloc,barrier,user_ xattr,acl)

$ blkid | grep sdc5
/dev/sdc5: LABEL="KNPX771" UUID="54e317fe-73cf-4b1c-8b1f-dfc9b708b68a" TYPE="ext2" PARTUUID="591ef660-03"

Werner P. Schulz
12-19-2016, 07:45 PM
Why not read- and writable? I suppose you are using a "poor man's install.

Albretch
12-19-2016, 08:01 PM
OK, I (most probably wrongly) thought that partition used for a "poor man's install" would be read-only anyway

Say, you would like to define the regular user directory on the starting command prompt and you don't want anything to be ever written there

In fact, you would run knoppix without a hard drive at all and set up a user account after it started in case you would like to save anything. I would say a few files (access control + security) would be altered, just a few ... but the rest should be read-only



How do you do that?

Werner P. Schulz
12-19-2016, 11:30 PM
In this case I wouldn't use a Live Linux as Knoppix with all his limitations. I would prefer for example Debian.