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 |
|
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 |
Did you install the development package?
|
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 |
When you installed Redhat, did you install the kernel development packages? Those are the packages that would put the kernel source in that directory.
|
All times are GMT -5. The time now is 12:04 PM. |