Thread: Ramdisk in ubuntu
i want make ubuntu reset user working after reboot. idea : backup directories as: home, var, tmp... in different location , create folder same name , mount them ram , when booting, machine perform copy data in backup folder mounted on ram.
specifically, following home directory:
1. create folder homebackup
2. boot livecd copy data on /home /homebackup
3.create home directory on ram adding /etc/fstab: tmpfs / home tmpfs defaults, size = 100 0 0
4. create script file "abc" in init.d command "cp rf /homebackup/* /home. then: update-rc.d/etc/init.d/abc defaults
5.reset
result: data /homebackup copied /home when reboot appear following error message:
- could not update file iceauthority / home/n2m/.iceauthority
- there problem configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited status 256)
same /var directory: os not runing on gui, command-line operations
can explain problem?![]()
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Ramdisk in ubuntu
Ubuntu
Comments
Post a Comment