Announcement

Collapse
No announcement yet.

root password

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    root password

    I installed Kubuntu and now I'm at the terminal and want to run apt-get.

    I try su root and enter what I thought is the password...no luck.

    I can use Adept and set up users by entering the password I entered during the install.

    Is there a default root password?

    this is the error I am getting,
    pr@AMD:~$ apt-get install qemu kvm
    E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


    pr

    #2
    Re: root password

    *ubuntu doesn't have a separate active root user account. When you need root permissions to run a non-GUI command, preface the command with sudo. So, for what you want to do, type:
    Code:
    sudo apt-get install qemu kvm
    But, why aren't you using Adept Manager to install these packages? K Menu | System | Adept Manager This is the preferred way to install packages - unless you are familiar with using the command line.
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: root password

      I was going to follow a howto, installing KVM on Kubuntu 7.10 and that's how it started..(minus the sudo)

      I would like to use Adept, but don't want to go through too much pain.

      pr

      Comment


        #4
        Re: root password

        this was the howto,

        http://www.michaeldolan.com/1030

        pr

        Comment


          #5
          Re: root password

          Originally posted by pr144
          I would like to use Adept, but don't want to go through too much pain.
          Installing packages using Adept Manager means you don't have to "go through too much pain."
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            Re: root password

            I am not familiar enough with Kubuntu to understand why he did not use Adept in this howto...why did he do it the hard way?

            http://www.michaeldolan.com/1030




            pr

            Comment


              #7
              Re: root password

              Many experienced Linux users prefer using the CLI (command line).

              What exactly is your goal here? What are you wanting to be able to do with Gutsy?
              Windows no longer obstructs my view.
              Using Kubuntu Linux since March 23, 2007.
              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

              Comment


                #8
                Re: root password

                Set up KVM

                Have Gutsy with LinxMCE(eventually when it's ready for Gusty)

                Reinstall Windows. It's a HP AMD Media Center PC.

                pr

                Comment


                  #9
                  Re: root password

                  I'll assume that your processor supports hardware virtualization, as that is required to take full advantage of KVM:

                  Full virtualization on x86 hardware

                  Using KVM, one can run multiple virtual PC:s, each running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc.

                  KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux hosts on x86 hardware with x86 guests. KVM is intended for systems where the processor has hardware support for virtualization, see below for details. All combinations of 32-bit and 64-bit host and guest systems are supported, except 64-bit guests on 32-bit hosts.

                  For the best performance the processor must support hardware virtualization, provided by AMD's SVM capability and Intel's VT. To find out if your processor has the necessary support, do as follows:

                  * Make sure you run Linux 2.6.16 or newer for AMD processors, or Linux 2.6.15 for Intel processors. Older Linux versions do not report the virtualization capabilities.

                  * Run this command in a shell: egrep '^flags.*(vmx|svm)' /proc/cpuinfo

                  If it prints anything, the processor provides hardware virtualization support and is suitable for use with KVM.

                  Without hardware support, KVM falls back to the considerably slower QEMU-based software virtualization. In this case, it makes more sense to use the qemu package, possibly with the kqemu package for better performance.

                  The recommended qemu package contains the the qemu-img program needed to create virtual disk images as well as the script /usr/sbin/qemu-make-debian-root, which uses debootstrap to build a debian disk image. See the man page for qemu-make-debian-root. The suggested hal package is only used for automatically reporting the system bios version and computer model when reporting bugs. The suggested etherboot package contains Etherboot ROM images for, among others, the NE2000, PCNET and RTL8139 ethernet cards emulated (see appendix A. List of supported NICs in the package etherboot-doc).

                  KVM consists of two loadable kernel modules (kvm.ko and kvm-amd.ko or kvm-intel.ko) and a userspace component. This package contains the userspace component, while kvm-source provides the module source.
                  So if this is the case with your processor, then install KVM via Adept Manager.
                  Windows no longer obstructs my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: root password

                    Do you know of any GUI tools to maintain VM's once installed?


                    pr

                    Comment


                      #11
                      Re: root password

                      Each software package will have it's own set of controls. Whether or not such controls consist of GUI or CLI (command line) is dependent on the developer of the package.
                      Windows no longer obstructs my view.
                      Using Kubuntu Linux since March 23, 2007.
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment

                      Working...
                      X