Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Linux n00b question

Featured Replies

Where is /usr/src/linux ? im trying to install virtual box but i cant seem to find that directory. I'm running 5.0 rc4.

 

Hmm 6 views and no reply's maybe this is int as simple as i thought or maybe im even dumber with Linux than i thought lol  :-\

  • Author

Yea i printed that out and have been following it, i got all the packages installed but this"mv /usr/src/linux /usr/src/linux_original" refuses to run "no such file or directory" so im confused as to what im doing wrong ???

Yea i printed that out and have been following it, i got all the packages installed but this"mv /usr/src/linux /usr/src/linux_original" refuses to run "no such file or directory" so im confused as to what im doing wrong ???

In the 5.0rc series the "linux" directory is named after the specific linux kernel.

 

Tower2 login: root

Linux 3.0.35-unRAID.

root@Tower2:~# ls /usr/src

linux-3.0.35-unRAID/  slackbuilds/

root@Tower2:~#

 

You would need to simply use the alternate name

mv /usr/src/linux-3.0.35-unRAID /usr/src/linux_original

  • Author

booting up my server to give that a try. hopefully it works.... ;)

  • Author

EDIT: if i try and browse the flash drive with Fedora Linux or windows the directory /usr/ is no where to be found (even tryed typing in the path)

 

im sorry if im a pain but now im stuck here  (ln -sf /usr/src/linux/include/asm-generic /usr/include/asm-generic) no such file or directory. i replaced the ver numbers in the guide with my kernal ver. so that for example this

tar -C /usr/src -zxvf linux-2.6.32.9.tar.gz

would be this.

tar -C /usr/src -zxvf linux-3.0.33.tar.gz

(Did that for anything that had the old ver. numbers)

 

last bit where i ran into the problem

linux-3.0.33/tools/perf/scripts/python/failed-syscalls-by-pid.py
linux-3.0.33/tools/perf/scripts/python/futex-contention.py
linux-3.0.33/tools/perf/scripts/python/netdev-times.py
linux-3.0.33/tools/perf/scripts/python/sched-migration.py
linux-3.0.33/tools/perf/scripts/python/sctop.py
linux-3.0.33/tools/perf/scripts/python/syscall-counts-by-pid.py
linux-3.0.33/tools/perf/scripts/python/syscall-counts.py
linux-3.0.33/tools/perf/util/
linux-3.0.33/tools/perf/util/PERF-VERSION-GEN
linux-3.0.33/tools/perf/util/abspath.c
linux-3.0.33/tools/perf/util/alias.c
linux-3.0.33/tools/perf/util/annotate.c
linux-3.0.33/tools/perf/util/annotate.h
linux-3.0.33/tools/perf/util/bitmap.c
linux-3.0.33/tools/perf/util/build-id.c
linux-3.0.33/tools/perf/util/build-id.h
linux-3.0.33/tools/perf/util/cache.h
linux-3.0.33/tools/perf/util/callchain.c
linux-3.0.33/tools/perf/util/callchain.h
linux-3.0.33/tools/perf/util/cgroup.c
linux-3.0.33/tools/perf/util/cgroup.h
linux-3.0.33/tools/perf/util/color.c
linux-3.0.33/tools/perf/util/color.h
linux-3.0.33/tools/perf/util/config.c
linux-3.0.33/tools/perf/util/cpumap.c
linux-3.0.33/tools/perf/util/cpumap.h
linux-3.0.33/tools/perf/util/ctype.c
linux-3.0.33/tools/perf/util/debug.c
linux-3.0.33/tools/perf/util/debug.h
linux-3.0.33/tools/perf/util/debugfs.c
linux-3.0.33/tools/perf/util/debugfs.h
linux-3.0.33/tools/perf/util/environment.c
linux-3.0.33/tools/perf/util/event.c
linux-3.0.33/tools/perf/util/event.h
linux-3.0.33/tools/perf/util/evlist.c
linux-3.0.33/tools/perf/util/evlist.h
linux-3.0.33/tools/perf/util/evsel.c
linux-3.0.33/tools/perf/util/evsel.h
linux-3.0.33/tools/perf/util/exec_cmd.c
linux-3.0.33/tools/perf/util/exec_cmd.h
linux-3.0.33/tools/perf/util/generate-cmdlist.sh
linux-3.0.33/tools/perf/util/header.c
linux-3.0.33/tools/perf/util/header.h
linux-3.0.33/tools/perf/util/help.c
linux-3.0.33/tools/perf/util/help.h
linux-3.0.33/tools/perf/util/hist.c
linux-3.0.33/tools/perf/util/hist.h
linux-3.0.33/tools/perf/util/hweight.c
linux-3.0.33/tools/perf/util/include/
linux-3.0.33/tools/perf/util/include/asm/
linux-3.0.33/tools/perf/util/include/asm/alternative-asm.h
linux-3.0.33/tools/perf/util/include/asm/asm-offsets.h
linux-3.0.33/tools/perf/util/include/asm/bug.h
linux-3.0.33/tools/perf/util/include/asm/byteorder.h
linux-3.0.33/tools/perf/util/include/asm/cpufeature.h
linux-3.0.33/tools/perf/util/include/asm/dwarf2.h
linux-3.0.33/tools/perf/util/include/asm/hweight.h
linux-3.0.33/tools/perf/util/include/asm/swab.h
linux-3.0.33/tools/perf/util/include/asm/system.h
linux-3.0.33/tools/perf/util/include/asm/uaccess.h
linux-3.0.33/tools/perf/util/include/dwarf-regs.h
linux-3.0.33/tools/perf/util/include/linux/
linux-3.0.33/tools/perf/util/include/linux/bitmap.h
linux-3.0.33/tools/perf/util/include/linux/bitops.h
linux-3.0.33/tools/perf/util/include/linux/compiler.h
linux-3.0.33/tools/perf/util/include/linux/const.h
linux-3.0.33/tools/perf/util/include/linux/ctype.h
linux-3.0.33/tools/perf/util/include/linux/hash.h
linux-3.0.33/tools/perf/util/include/linux/kernel.h
linux-3.0.33/tools/perf/util/include/linux/linkage.h
linux-3.0.33/tools/perf/util/include/linux/list.h
linux-3.0.33/tools/perf/util/include/linux/module.h
linux-3.0.33/tools/perf/util/include/linux/poison.h
linux-3.0.33/tools/perf/util/include/linux/prefetch.h
linux-3.0.33/tools/perf/util/include/linux/rbtree.h
linux-3.0.33/tools/perf/util/include/linux/string.h
linux-3.0.33/tools/perf/util/include/linux/types.h
linux-3.0.33/tools/perf/util/levenshtein.c
linux-3.0.33/tools/perf/util/levenshtein.h
linux-3.0.33/tools/perf/util/map.c
linux-3.0.33/tools/perf/util/map.h
linux-3.0.33/tools/perf/util/pager.c
linux-3.0.33/tools/perf/util/parse-events.c
linux-3.0.33/tools/perf/util/parse-events.h
linux-3.0.33/tools/perf/util/parse-options.c
linux-3.0.33/tools/perf/util/parse-options.h
linux-3.0.33/tools/perf/util/path.c
linux-3.0.33/tools/perf/util/probe-event.c
linux-3.0.33/tools/perf/util/probe-event.h
linux-3.0.33/tools/perf/util/probe-finder.c
linux-3.0.33/tools/perf/util/probe-finder.h
linux-3.0.33/tools/perf/util/pstack.c
linux-3.0.33/tools/perf/util/pstack.h
linux-3.0.33/tools/perf/util/python.c
linux-3.0.33/tools/perf/util/quote.c
linux-3.0.33/tools/perf/util/quote.h
linux-3.0.33/tools/perf/util/run-command.c
linux-3.0.33/tools/perf/util/run-command.h
linux-3.0.33/tools/perf/util/scripting-engines/
linux-3.0.33/tools/perf/util/scripting-engines/trace-event-perl.c
linux-3.0.33/tools/perf/util/scripting-engines/trace-event-python.c
linux-3.0.33/tools/perf/util/session.c
linux-3.0.33/tools/perf/util/session.h
linux-3.0.33/tools/perf/util/setup.py
linux-3.0.33/tools/perf/util/sigchain.c
linux-3.0.33/tools/perf/util/sigchain.h
linux-3.0.33/tools/perf/util/sort.c
linux-3.0.33/tools/perf/util/sort.h
linux-3.0.33/tools/perf/util/strbuf.c
linux-3.0.33/tools/perf/util/strbuf.h
linux-3.0.33/tools/perf/util/strfilter.c
linux-3.0.33/tools/perf/util/strfilter.h
linux-3.0.33/tools/perf/util/string.c
linux-3.0.33/tools/perf/util/strlist.c
linux-3.0.33/tools/perf/util/strlist.h
linux-3.0.33/tools/perf/util/svghelper.c
linux-3.0.33/tools/perf/util/svghelper.h
linux-3.0.33/tools/perf/util/symbol.c
linux-3.0.33/tools/perf/util/symbol.h
linux-3.0.33/tools/perf/util/thread.c
linux-3.0.33/tools/perf/util/thread.h
linux-3.0.33/tools/perf/util/thread_map.c
linux-3.0.33/tools/perf/util/thread_map.h
linux-3.0.33/tools/perf/util/top.c
linux-3.0.33/tools/perf/util/top.h
linux-3.0.33/tools/perf/util/trace-event-info.c
linux-3.0.33/tools/perf/util/trace-event-parse.c
linux-3.0.33/tools/perf/util/trace-event-read.c
linux-3.0.33/tools/perf/util/trace-event-scripting.c
linux-3.0.33/tools/perf/util/trace-event.h
linux-3.0.33/tools/perf/util/types.h
linux-3.0.33/tools/perf/util/ui/
linux-3.0.33/tools/perf/util/ui/browser.c
linux-3.0.33/tools/perf/util/ui/browser.h
linux-3.0.33/tools/perf/util/ui/browsers/
linux-3.0.33/tools/perf/util/ui/browsers/annotate.c
linux-3.0.33/tools/perf/util/ui/browsers/hists.c
linux-3.0.33/tools/perf/util/ui/browsers/map.c
linux-3.0.33/tools/perf/util/ui/browsers/map.h
linux-3.0.33/tools/perf/util/ui/browsers/top.c
linux-3.0.33/tools/perf/util/ui/helpline.c
linux-3.0.33/tools/perf/util/ui/helpline.h
linux-3.0.33/tools/perf/util/ui/libslang.h
linux-3.0.33/tools/perf/util/ui/progress.c
linux-3.0.33/tools/perf/util/ui/progress.h
linux-3.0.33/tools/perf/util/ui/setup.c
linux-3.0.33/tools/perf/util/ui/ui.h
linux-3.0.33/tools/perf/util/ui/util.c
linux-3.0.33/tools/perf/util/ui/util.h
linux-3.0.33/tools/perf/util/usage.c
linux-3.0.33/tools/perf/util/util.c
linux-3.0.33/tools/perf/util/util.h
linux-3.0.33/tools/perf/util/values.c
linux-3.0.33/tools/perf/util/values.h
linux-3.0.33/tools/perf/util/wrapper.c
linux-3.0.33/tools/perf/util/xyarray.c
linux-3.0.33/tools/perf/util/xyarray.h
linux-3.0.33/tools/power/
linux-3.0.33/tools/power/x86/
linux-3.0.33/tools/power/x86/turbostat/
linux-3.0.33/tools/power/x86/turbostat/Makefile
linux-3.0.33/tools/power/x86/turbostat/turbostat.8
linux-3.0.33/tools/power/x86/turbostat/turbostat.c
linux-3.0.33/tools/power/x86/x86_energy_perf_policy/
linux-3.0.33/tools/power/x86/x86_energy_perf_policy/Makefile
linux-3.0.33/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.8
linux-3.0.33/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
linux-3.0.33/tools/slub/
linux-3.0.33/tools/slub/slabinfo.c
linux-3.0.33/tools/testing/
linux-3.0.33/tools/testing/ktest/
linux-3.0.33/tools/testing/ktest/compare-ktest-sample.pl
linux-3.0.33/tools/testing/ktest/ktest.pl
linux-3.0.33/tools/testing/ktest/sample.conf
linux-3.0.33/tools/usb/
linux-3.0.33/tools/usb/Makefile
linux-3.0.33/tools/usb/ffs-test.c
linux-3.0.33/tools/usb/hcd-tests.sh
linux-3.0.33/tools/usb/testusb.c
linux-3.0.33/tools/virtio/
linux-3.0.33/tools/virtio/Makefile
linux-3.0.33/tools/virtio/linux/
linux-3.0.33/tools/virtio/linux/device.h
linux-3.0.33/tools/virtio/linux/slab.h
linux-3.0.33/tools/virtio/linux/virtio.h
linux-3.0.33/tools/virtio/vhost_test/
linux-3.0.33/tools/virtio/vhost_test/Makefile
linux-3.0.33/tools/virtio/vhost_test/vhost_test.c
linux-3.0.33/tools/virtio/virtio_test.c
linux-3.0.33/usr/
linux-3.0.33/usr/.gitignore
linux-3.0.33/usr/Kconfig
linux-3.0.33/usr/Makefile
linux-3.0.33/usr/gen_init_cpio.c
linux-3.0.33/usr/initramfs_data.S
linux-3.0.33/virt/
linux-3.0.33/virt/kvm/
linux-3.0.33/virt/kvm/Kconfig
linux-3.0.33/virt/kvm/assigned-dev.c
linux-3.0.33/virt/kvm/async_pf.c
linux-3.0.33/virt/kvm/async_pf.h
linux-3.0.33/virt/kvm/coalesced_mmio.c
linux-3.0.33/virt/kvm/coalesced_mmio.h
linux-3.0.33/virt/kvm/eventfd.c
linux-3.0.33/virt/kvm/ioapic.c
linux-3.0.33/virt/kvm/ioapic.h
linux-3.0.33/virt/kvm/iodev.h
linux-3.0.33/virt/kvm/iommu.c
linux-3.0.33/virt/kvm/irq_comm.c
linux-3.0.33/virt/kvm/kvm_main.c
root@Storage:/mnt/disk3/VB# ln -sf /usr/src/linux-3.0.33 /usr/src/linux
root@Storage:/mnt/disk3/VB# cp -rf /usr/src/linux_original/* /usr/src/linux/
root@Storage:/mnt/disk3/VB# cp -f /usr/src/linux_original/.config /usr/src/linux                                                                                                                                                             /
root@Storage:/mnt/disk3/VB# [ -e "/usr/include/linux" ] && mv /usr/include/linux                                                                                                                                                              /usr/include/linux_original
root@Storage:/mnt/disk3/VB# [ -e "/usr/include/asm-generic" ] && mv /usr/include                                                                                                                                                             /asm-generic /usr/include/asm-generic_original
root@Storage:/mnt/disk3/VB# [ -e "/usr/include/asm" ] && mv /usr/include/asm /us                                                                                                                                                             r/include/asm_original
root@Storage:/mnt/disk3/VB# ln -sf /usr/src/linux/include/asm-generic /usr/inclu                                                                                                                                                             de/asm-generic
ln: creating symbolic link `/usr/include/asm-generic': No such file or directory
root@Storage:/mnt/disk3/VB#

 

Thanks a million if somebody can help me here.

 

EDIT: if i try and browse the flash drive with Fedora Linux or windows the directory /usr/ is no where to be found (even tryed typing in the path)

 

The sourcefiles are not on your flashdrive directly unless you copied it there. It exists on a running unraid server.

See the post from Joe L.

You'll probably want to copy them if you are building it on another computer.

  • Author

so those dir. only exist in ram when booted up. right?

so those dir. only exist in ram when booted up. right?

correct.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.