Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 101

Thread: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

  1. #11
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Here is a fix that was scrounged up by ronacc for a very touchy nvidia-graphics-installer problem and the new 3.4.n.-n kernel.

    http://ubuntuforums.org/showpost.php...8&postcount=33
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  2. #12
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    I had some problems zsyncing the quantal alternate iso. I left a message for guitara but I think I got the wrong link. Anyways .. anyone trying to zsync the quantal-alternate-i386.iso can use this code and URL.

    zsync -i ./quantal-alternate-i386.iso http://cdimage.ubuntu.com/daily/curr...i386.iso.zsync

    Thanks..
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  3. #13
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    If you want to update the quantal alternate iso it is better to paste this code to terminal:

    Code:
     zsync -i ./quantal-alternate-i386.iso http://cdimage.ubuntu.com/daily/current/quantal-alternate-i386.iso.zsync
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  4. #14
    Join Date
    Jul 2005
    Location
    Berlin, Germany
    Beans
    414
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by ventrical View Post
    If you want to update the quantal alternate iso it is better to paste this code to terminal:

    Code:
     zsync -i ./quantal-alternate-i386.iso http://cdimage.ubuntu.com/daily/current/quantal-alternate-i386.iso.zsync
    The "-i <input file>" is not necessary if the URL you are fetching is for an existing copy of the file. Zsync will automatically assume you are updating an existing download, use that as the seed, and backup the original file to *.old when finished updating.
    Linux user since Slackware 3.4

  5. #15
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    @pressureman

    Thanks

    *note*

    If any are having problems with startup video graphics try hitting <ctrl+F1> at the very start of booting your .ISo and then choose F6 and <nomodeset> . I was just able to resolve a problem with an older nVidia adapter card using this process.

    *other note*

    My apologies for not adding any extra content to U+1 or here in the forums. Iv'e been just so busy .

    regards, ventrical
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  6. #16
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by ventrical View Post
    @pressureman

    Thanks

    *note*

    If any are having problems with startup video graphics try hitting <ctrl+F1> at the very start of booting your .ISo and then choose F6 and <nomodeset> . I was just able to resolve a problem with an older nVidia adapter card using this process.

    *other note*

    My apologies for not adding any extra content to U+1 or here in the forums. Iv'e been just so busy .

    regards, ventrical
    Just to add a bit of a correction to the above post. Pressing any key will bring up the menu when booting from the iso.

  7. #17
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    I stand corrected !
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  8. #18
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Code to remove ppas:

    remove-

    sudo add-apt-repository --remove ppa:someppa/ppa

    purge-
    sudo apt-get install ppa-purge
    sudo ppa
    -purge ppa:someppa/ppa
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  9. #19
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Code to blacklist 'nouveau'

    6) Blacklist nouveau
    Code:
    $ sudo nano /etc/modprobe.d/blacklist.conf
    Add these lines to the end of blacklist.conf:
    Quote:
    # Manually added to avoid conflict with nvidia proprietary module
    blacklist nouveau
    alias nouveau off

    -------------------------7) Check for nvidia in blacklists
    Make sure you do not have nvidia blacklisted in other files at /etc/modprobe.d/*
    Code:
    $ cd /etc/modprobe.d $ grep -iHnr "nvidia" *
    The commands above should return only this:
    Quote:
    blacklist-framebuffer.conf:18:blacklist nvidiafb
    8) Create a directory for the driver:
    It's useful to keep the installer at a known place (for eventuall reinstalls). Create a directory within your user $HOME for the Nvidia installer:
    Code:
    $ mkdir -p $HOME/Downloads/nvidia-drivers && cd $HOME/Downloads/nvidia-drivers
    9) Get the installer:
    Download Nvidia installer for your architecture (32-bit or 64-bit).
    Run "uname -a" if you need to check whether you are using 32-bit or 64-bit.

    For 32-bit:
    Code:
    wget ftp://download.nvidia.com/XFree86/Li...x86-304.43.run
    For 64-bit:
    Code:
    wget ftp://download.nvidia.com/XFree86/Li..._64-304.43.run
    OBS: If the direct links above fail, go to http://www.nvidia.com/Download/index.aspx?lang=en-us nd get your drivers there.

    10) Check the download:
    Check whether the file was downloaded/saved to the directory we created:
    Code:
    $ ls -lha NVIDIA*
    Quote:
    -rw-rw-r-- 1 ahsl ahsl 62M Aug 28 05:04 NVIDIA-Linux-x86_64-304.43.run
    OBS: The result above is for the 64-bit installer. You might have downloaded the 32-bit version depending on your system specs/arch.

    11) Make the installer executable:
    Code:
    $ sudo chmod +x NVIDIA*
    12) Switch to a Virtual Terminal and stop lightdm/X:
    - Press Ctrl+Alt+F6 and login with your user/pass
    Code:
    $ sudo service lightdm stop $ sudo killall -s KILL /usr/bin/X
    13) Install:
    Run the Nvidia installer:
    Code:
    $ sudo ./NVIDIA*
    OBS: You should answer YES to ALL questions. The only question I answer NO is the one about DKMS. I have had some problems with it. YMMV.

    14) Restart:
    Back to the console prompt, restart the PC:
    Code:
    $ sudo reboot now
    15) (Optional) Sing a happy song during boot:
    I suggest this one: http://www.youtube.com/watch?v=EcPxszGTCa8

    Problems:
    1) If you can't see lightdm (stuck in console mode on boot)
    • Is nouveau really blacklisted? Is nvidia *not* blacklisted? See steps 6 and 7. Which modules are loaded? Check with:
      Code:
      $ lsmod | grep -i nv $ lsmod | grep -i nouveau
    • Is anything non-standard being passed to the kernel cmdline at boot via Grub? See step 3. You only need special parameters if you know what they do.
    • Did the install procedure went through with no errors? You can re-run it just to be sure. Repeat steps 12, 13 and 14 only.

    2) If you can't enter the Ubuntu session (loop back to lightdm):
    • Are you using an outdated version of xorg packages? Were they pinned / Hold? Check steps 1 and 5.

    3) If you have no Dash / Launcher, nothing in Unity:
    • Maybe this is a failed install with no GLX support. Try this:
    • Press Ctrl+Alt+T. If you don't get a terminal, switch to a VT with Ctrl+Alt+F6.
    • Run these commands to check for glx support:
      Code:
      $ sudo apt-get install nux-utils mesa-utils $ /usr/lib/nux/unity_support_test $ glxgears -info
    • If you have no support for GLX, you have failed to follow the steps above and should re-do the procedure.
    • If you have glx support, the Unity plugin is not loaded. At the terminal / VT run:
      Code:
      $ sudo apt-get install compizconfig-settings-manager $ DISPLAY=:0.0 ccsm
      And activate the Unity plugin.

    4) If you have a low performance, tearing, artifacts:
    • You might have to disable / enable "Sync to VBlank" in compizconfig-settings-manager (ccsm) / OpenGL Plugin to increase performance / avoid tearing depending on how things work for this card.
    • You might have to disable / enable "Sync to VBlank" in nvidia-settings / "OpenGL Settings" to increase performance / avoid tearing, depending on how things work for this card.
    • You might have to enable "Force fullscreen redraws (buffer swap) on repaint" on ccsm / Workarounds Plugin to fix tearing / repaint problems.

    5) Monitors not configured:
    • Maybe the secondary monitor will be automatically activated, maybe it will not. I don't know why this is apparently not consistent.
    • Go to Dash / Nvidia-settings and activate / configure the primary/secondary monitor if needed.


    OBS:
    - Yes, there are typos above.
    - I started typing before you posted the second msg to this thread, so 90% of it does not apply to your problem. Yey
    - You probably can benefit from steps 4 and 5 in the "Problems" section. Unless the procedure in Problems/Step 1 shows you not on nvidia but nouveau or, worse, llvmpipe or something (commands in step 3 can test that). In which case everything above applies

    Regards,
    Effenberg



    ---------------------------------------

    (thanks effenberg)
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  10. #20
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    6,034
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    v3.7-rc2-raring


    Here is the best and simple way to install kernek RCs,

    Quote:
    Originally Posted by cecilpierce
    I would like to try it, what order do I install the 4 .deb files ?
    When I tried it I got a couple errors about vbox and something else, cant remember, dah!


    what i do with new kernel :
    - download the required debs (2 headers + 2 images) into an empty folder
    - then from that folder: sudo dpkg -i *

    Thanks to dino99
    Last edited by ventrical; October 23rd, 2012 at 05:28 AM.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

Page 2 of 11 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •