LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-02-2004, 02:32 AM   #1
deweirdt
Member
 
Registered: Sep 2003
Location: Belgium
Distribution: SUSE10.1
Posts: 40

Rep: Reputation: 15
Adding second HD and act as one HD


Hi,

I want to add a second HD to my linux machine (RH7.3). But I want that my OS is seeing both HD's as one.
How do I need to configure the OS to do this.

Thx
 
Old 02-02-2004, 03:56 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,816

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
http://tldp.org/HOWTO/LVM-HOWTO/index.html
 
Old 02-02-2004, 09:43 AM   #3
deweirdt
Member
 
Registered: Sep 2003
Location: Belgium
Distribution: SUSE10.1
Posts: 40

Original Poster
Rep: Reputation: 15
I have the kernel 2.4 so that means that LVM should be installed. But I want to upgrade it. When I try to he asks me for the kernel version. This should be normaly in the /usr/src/linux.

But I use RH7.3 and I cannot find the place where the kernel is installed. How can I know where that is.

Regards
 
Old 02-02-2004, 09:46 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,816

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Did you install the development package?
 
Old 02-02-2004, 10:10 AM   #5
deweirdt
Member
 
Registered: Sep 2003
Location: Belgium
Distribution: SUSE10.1
Posts: 40

Original Poster
Rep: Reputation: 15
Well yes I followed the steps from the link you gave me. So after the downloading of the lvm_1.0.8.tar.gz file. I unpacket it and run the ./configure. And this was the result of it

[root@LinuxServer 1.0.8]# ./configure
loading cache ./config.cache
checking for mawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for malloc.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
linuxver - /usr/src/linux/Makefile does not exist
*** Unable to determine version of linux to build patches for ***
*** Consider using the --with-kernel_dir flag ***
checking whether gcc needs -traditional... (cached) no
checking return type of signal handlers... (cached) void
checking for vprintf... (cached) yes
checking for mkdir... (cached) yes
checking for rmdir... (cached) yes
checking for uname... (cached) yes
creating ./config.status
creating Makefile
creating make.tmpl
creating PATCHES/Makefile
creating tools/Makefile
creating tools/tools_and_lib.make.tmpl
creating tools/lib/Makefile
creating tools/man8/Makefile

Here you can see that he did not found the linux kernel directory and the I tried it with the compiler option then it was
./configure --with-kernel_dir=/usr/src/linux

Thx
 
Old 02-02-2004, 06:03 PM   #6
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
When you installed Redhat, did you install the kernel development packages? Those are the packages that would put the kernel source in that directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PC to act as a server, possible? EvilAngel Linux - Networking 9 02-01-2005 03:45 PM
using ACT! with Linux Randy C Linux - Newbie 2 09-30-2004 10:44 AM
script problem - act different fraxx Linux - Newbie 1 05-27-2004 10:41 AM
Interact ACT! thanko Linux - Software 3 03-14-2004 07:30 PM
ACT! migration scott_R General 0 01-14-2004 03:40 AM


All times are GMT -5. The time now is 08:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration