Find the answer to your Linux question:
Results 1 to 4 of 4
Hi i am using User-Mode Linux i followed the steps that are spesified in user-mode-linux site # Download this kernel and this filesystem (80M, uncompressing to 1.6G) # Uncompress them: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    36

    unable to see source in /usr/src


    Hi
    i am using User-Mode Linux
    i followed the steps that are spesified in user-mode-linux site

    # Download this kernel and this filesystem (80M, uncompressing to 1.6G)
    # Uncompress them:

    host% bunzip2 linux-2.6.19-rc5.bz2 FedoraCore5-x86-root_fs.bz2

    # Run UML as follows:

    host% ./linux-2.6.19-rc5 ubda=FedoraCore5-x86-root_fs mem=128M

    Boot log
    # Log in as root, no password needed:

    Fedora Core release 5 (Bordeaux)
    Kernel 2.6.19-rc5 on an i686

    localhost login: root
    [root@localhost ~]#

    then i changed the directory to /usr/src
    here i am unable to find source for this virtual linux

    how can i see source for this virtual linux in this directory
    what are the thing i have to do to see the source

    help me
    thanks in advance

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    If I'm not mistaken, Fedora installs it to /usr/src/kernels.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    36
    /usr/src is empty

    [root@localhost src]# cd /usr/src/
    [root@localhost src]# ls -a
    . ..
    [root@localhost src]#

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Is this Fedora 5 running as it should? If so, try doing from the command line as su:
    Code:
    yum update
    Then:
    Code:
    yum install kernel-devel
    See if it then installs sources in /usr/src
    Linux Mint + IceWM Registered: #371367 New Members: click here

Posting Permissions

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