General Info



Dual Booting Windows 7 On Already Installed Linux Mint 17.1

Hi,

Before installing Linux Mint 17 to the entire HDD of my HP p2 1317cb desktop, it was running a preinstalled windows 8 OEM UEFI. After several failed attempts of dual booting(no grub menu and boots directly to the windows 8) i then decided to do a erase all and install Linux option. Now i have Linux Mint 17.1 working flawlessly, so far. What i want to now do is, dual boot a windows 7 installation alongside my Linux. Please advise on the best way to do this.
Thank You.

Note: Before doing a clean install of Linux i disabled secure boot,enabled legacy, and disabled fast boot.

Linux Process Call Examles

hi all
i am new to linux system programming.
request u to give idea with examples for linux process creation fork() and exec setsig() setalarm(). how to catch these process id's

Regards
Bala

Running JMRI/Decoder Pro - Run In Terminal - Terminal Flashes And Dissappears.

I have downloaded the JMRI/Decoder Pro package. When I go to open Decoder Pro I get the screen which asks, Run in Terminal, Display, ,?, and Run. If I select Run I get no response, If I select Run in Terminal The Terminal screen flashes for only a second and dissapears.

I have not been able to get an Icon to launch the program from my desktop.

I am usung Linux Mint 16 (Petra)3.11.0-12 generic (MATE) 1.6.1

JMRI is the standard download for Linux from Source . org.

I am new to both Linux (3 yrs) JMRI had worked with it some in Windows, Totally new in Linux.

I don't know what else to include, I'll be happy to answer questions.

Install 3 Versions Of Linux On Same Hard Disk

Hi,

I am new to the installation of Linux, and wish to install 3 different distro's on the same hard disk.

I have installed Centos 7 successfully as follows :

The /boot is /dev/sda2

/dev/sda1 is listed as unknown so i assume it is the Master Boot Record with Grub installed. I do obtain the option to boot to the various kernels after updating the OS.

/dev/sda3 is a Linux LVM with the various partitions i required.

When i installed the CentOS 7 the installer stated an error about the bootable partition - which was effectively /boot, so i moved this to /dev/sda2.

What i am not sure about is that if i want to install 2 other Linux OS's will i run out of /dev/sdaX assignments ?.

I read somewhere that there are 4 maximum that can be used a /boot (SDA1, SDA2, SDA3, SDA4), so does this mean i can only install one other OS ?.

Any guidance gratefully received. Thanks.

Regards,

Richard.

Best Practices To Get One Linux Command To Do Something Else Afterwards?

Hello all,

As title says.... whats the best way of getting linux to do another command after the first one?

e.g. Say I type "find . -iname "*.dll" this displays a list of all the dlls in a folder/subdirectory. ... then i wanted to copy these files, or du them, or other commands.

The three things i am aware of is:

Pipe |
awk
xargs

Which one is the most useful/standard/best practice to use?

Thanks

Separate Linux Parts After Installing.

Hello.
Can I separate linux parts after installing? For example, I installed Linux in one partition but want to move "home" or "usr" to other partition.

Tnx.

Simple Linux Command

I am somewhat of a noob and I am trying to locate a simple linux command that will allow me to take partitions and see what hard drives they are on. I can see the partitions and logical volumes but, don't know who to see which hard drives they are attached to. OS is Cent OS 6.

Please READ This Before Posting!

If you're here for the very first time, and have a very
urgent problem I appreciate that you're quite likely to
have other things on your mind than reading on.

However, if you do take the time to read all that's
said here (and follow the links) you're more likely
to get helpful responses! :)


The following two posts from Linux-General are just as
valid here in Linux-Newbie as they are there.

http://www.linuxquestions.org/questi...hreadid=103564
http://www.linuxquestions.org/questi...threadid=45094



Thanks for reading!

Cheers,
Tink

Cross Compiling Apache-2.4.12 For Arm

Dear all,

I am trying to cross compile Apache httpd-2.4.12 for ARM, but after solving some errors I arrived to a point where I get an error in the make process that I do not know how to solve it.

I am using apr-1.5.2, apr-util-1.5.4 and PCRE-8.37 which I copied to httpd-2.4.12/srclib/ with the names apr, apr-util and pcre.

For compile htttp I use:
Code:
./configure --prefix='/usr/local/apache' CC=arm-xilinx-linux-gnueabi-gcc --host=arm-xilinx-linux-gnueabi --with-included-apr ac_cv_file__dev_zero="yes" ac_cv_func_setpgrp_void="yes"C ap_cv_void_ptr_lt_long="no" ac_cv_struct_rlimit="yes"

The output is:

make[1]: Entering directory `/home/usr/Xilinx/Software_arm/httpd-2.4.12'
arm-xilinx-linux-gnueabi-gcc -std=gnu99 -g -O2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/os/unix -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/include -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr/include -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr-util/include -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr-util/xml/expat/lib -I/home/usr/Xilinx/Software_arm/pcre/include -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/aaa -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/cache -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/core -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/database -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/filters -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/ldap -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/loggers -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/lua -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/proxy -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/session -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/ssl -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/test -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/server -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/arch/unix -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/dav/main -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/generators -I/home/usr/Xilinx/Software_arm/httpd-2.4.12/modules/mappers -c /home/usr/Xilinx/Software_arm/httpd-2.4.12/server/buildmark.c
/home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr/libtool --silent --mode=link arm-xilinx-linux-gnueabi-gcc -std=gnu99 -g -O2 -L/home/usr/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/arm-xilinx-linux-gnueabi/libc/lib -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la -L/home/usr/Xilinx/Software_arm/pcre/lib -lpcre /home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr-util/libaprutil-1.la /home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr-util/xml/expat/libexpat.la /home/usr/Xilinx/Software_arm/httpd-2.4.12/srclib/apr/libapr-1.la -lrt -lcrypt -ldl
/home/usr/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/../lib/gcc/arm-xilinx-linux-gnueabi/4.6.1/../../../../arm-xilinx-linux-gnueabi/bin/ld: server/mpm/event/.libs/libevent.a(event.o): undefined reference to symbol 'pthread_sigmask@@GLIBC_2.4'
/home/usr/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/../lib/gcc/arm-xilinx-linux-gnueabi/4.6.1/../../../../arm-xilinx-linux-gnueabi/bin/ld: note: 'pthread_sigmask@@GLIBC_2.4' is defined in DSO /home/usr/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/../arm-xilinx-linux-gnueabi/libc/lib/libpthread.so.0 so try adding it to the linker command line
/home/usr/CodeSourcery/Sourcery_CodeBench_Lite_for_Xilinx_GNU_Linux/bin/../arm-xilinx-linux-gnueabi/libc/lib/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/home/usr/Xilinx/Software_arm/httpd-2.4.12'
make: *** [all-recursive] Error 1

Could anyone please help me? Any suggestion suggestions?
Thanks in advance and best regards.

Linux Bare Metal Installer?

....