Search This Blog

Thursday, March 3, 2011

Some more ubuntu tricks

  • remove users from group; edit the file:
    /etc/group
  • can’t start VNC with XServer; add pemissions to:
    /etc/X11/xinit/xinitrc
  • mount ntfs that had unclean shutdown:
    ntfsmount /dev/sdb1 /bbb –o force
  • remount root filesystem readonly:
    mount –o ro,remount –f /
  • change ubuntu server start resolution:
    add vga=786 parameter in:
    /etc/default/grub
    $>update-grub
  • exclude certain directories while tarring:
    tar -cvzpP --file=/distr/backup.tar.gz --exclude={/dev/*,/proc/*,/sys/*,/srv/*,/distr/*,/tmp/*} /

No comments:

Post a Comment

If you like this post, please leave a comment :)