PDA

View Full Version : [ubuntu] 12.10 freaks out when I reboot with certain folders set as tmpfs



Szor3n
October 20th, 2012, 01:21 AM
I've recently updated (clean installed) from 12.04 to 12.10 on my samsung np900x4c and am having an odd problem with the desktop manager.

On my old install I had these additions to my fstab file so that certain folders mounted as ram drives to limit the wear on my SSD, but in 12.10 if I reboot, I get a black screen. If I actually halt the system, it will boot fine as this clears the ram (I think?). Does anyone have any ideas why this is the case? or what I can do to fix it (aside from simply allowing them to eat up my ssd)?

Heres my fstab:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=3fea3158-71b9-4fc4-8e8e-99e3f535bec6 / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1

#create ramdrives for certain folders
tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/spool tmpfs defaults,noatime,mode=1777 0 0

Any help would be appreciated, you guys have been awesome in the past! :D

safir
October 20th, 2012, 03:03 AM
I am also having problem with Ubuntu 12.1 upgrade from Ubuntu12.04. On booting the computer I get a blank screen. No menu bar or launcher visible. Need help to correct this problem.

Szor3n
October 20th, 2012, 04:10 AM
I am also having problem with Ubuntu 12.1 upgrade from Ubuntu12.04. On booting the computer I get a blank screen. No menu bar or launcher visible. Need help to correct this problem.

Are you also using a ram-disk? If not it's most probably your home directory's permissions are messed up. Try hitting ctrl+alt+f2 or f3 to get a terminal and
sudo chmod $USER:$USER $HOME then rebooting.

funicorn
October 20th, 2012, 11:21 AM
I have seen similar situations.

Szor3n
October 21st, 2012, 05:44 AM
And some fixes maybe?

Szor3n
October 22nd, 2012, 01:30 AM
Uppon further investigation is seems that this directly corrupts .Xauthority somehow...