XUbuntu readonly filesystem.

This commit is contained in:
Miguel Scapolla 2016-05-16 14:31:33 -03:00
parent 3dbfeeb05d
commit 02644efac8

View File

@ -1,14 +1,14 @@
XUbuntu with read only filesystem for use with SSD disk XUbuntu 16.04 with read only filesystem for use with SSD disk
--------------------------------------------------------- ---------------------------------------------------------------
* Example: * Example:
/dev/sda: HDD disk /dev/sda: HDD disk
/dev/sdc: SDD disk /dev/sdc: SDD disk
/dev/sdc1: / /dev/sdc1: /
/dev/sda2: /home /tmp /dev/sda2: /home /tmp /var/tmp
/dev/sda3: swap /dev/sda3: swap
* Install XUbuntu in /dev/sdc1. * Install XUbuntu 16.04 in /dev/sdc1.
* mkdir /media/sda2 * mkdir /media/sda2
@ -26,7 +26,7 @@ XUbuntu with read only filesystem for use with SSD disk
* chown -R username.username /media/sda2/username * chown -R username.username /media/sda2/username
* blkid * blkid
/dev/sda1: UUID="D4EA43ACEA438A26" TYPE="ntfs" /dev/sda1: UUID="D4EA43ACEA438A26" TYPE="ntfs"
/dev/sda2: UUID="c1a48592-1d54-4b61-822b-e02ce0c8094d" TYPE="ext4" /dev/sda2: UUID="c1a48592-1d54-4b61-822b-e02ce0c8094d" TYPE="ext4"
/dev/sda3: UUID="7af9d5db-eac4-49f1-aafd-3cb82f08c9df" TYPE="swap" /dev/sda3: UUID="7af9d5db-eac4-49f1-aafd-3cb82f08c9df" TYPE="swap"
@ -42,7 +42,7 @@ XUbuntu with read only filesystem for use with SSD disk
tmpfs /var/log tmpfs nosuid,nodev,mode=0755,rw,size=32M 0 0 tmpfs /var/log tmpfs nosuid,nodev,mode=0755,rw,size=32M 0 0
/media/sda2/home /home none bind 0 0 /media/sda2/home /home none bind 0 0
/media/sda2/tmp /tmp none bind 0 0 /media/sda2/tmp /tmp none bind 0 0
/tmp /var/tmp none bind 0 0 /media/sda2/tmp /var/tmp none bind 0 0
/var/log /var/spool none bind 0 0 /var/log /var/spool none bind 0 0
/var/log /var/lib/blueman none bind 0 0 /var/log /var/lib/blueman none bind 0 0
@ -53,3 +53,7 @@ XUbuntu with read only filesystem for use with SSD disk
sync sync
sleep 1 sleep 1
mount -o remount,ro / mount -o remount,ro /
* Issues:
* The guest session not work: /etc/password and /etc/shadow are read only.