SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed dmraid using ./configure / make / make install I cannot remove it. I ran it for other reasons then I should have, long story skipping it.
Now that I just moved my home partition to another HDD, got everything set up with that.
When I tried to remove my old /home using gParted I get an error "could not stat device /dev/mapper/NO RAID disks no such file or directory" it too is preventing me from mounting it and changing that partition into what I want it to be which is just a data storage area.
You could try using src2pkg to mimic your dmraid installation. If you can do that, you can use src2pkg to make a package that you can install (overwriting the old installation) and then uninstall (removing it from the system).
You could try using src2pkg to mimic your dmraid installation. If you can do that, you can use src2pkg to make a package that you can install (overwriting the old installation) and then uninstall (removing it from the system).
Code:
root@SlackDaddy & dmraid >> $FAIL_ON_BAD_DIRS=NO src2pkg dmraid-1.0.0.rc14.tar.bz2
Found source archive: dmraid-1.0.0.rc14.tar.bz2
Deleting old build files - Done
Creating working directories:
PKG_DIR=/tmp/dmraid-1.0.0.rc14-x86_64-1
SRC_DIR=/tmp/dmraid-1.0.0.rc14-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Notice - The configuration files are in a subdirectory: 1.0.0.rc14
Found configure script - Done
Configuring sources using:
LDFLAGS="-Wl,-O1,-L/lib64,-L/usr/lib64" CFLAGS="-O2 -fPIC -m64" ./configure --prefix=/usr --libdir=/usr/lib64
Configuration has been - Successful!
Compiling sources - Using: 'make'
Compiling has been - Successful!
Checking for Makefile rule: 'install' Okay
Checking support for DESTDIR (or similar) - Found DESTDIR
Creating package content using:
make DESTDIR=/tmp/dmraid-1.0.0.rc14-x86_64-1 install
Warning! These sources have broken DESTDIR support!
Warning! Makefile installs these files outside of DESTDIR:
/usr/lib64/libdmraid.a
Notice - The above-listed files will be added to the package content.
But, the originals will not be removed as they may have already existed.
Correcting DESTDIR errors - Processing package content:
/usr/libexec/src2pkg/09-fix_pkg_perms: line 380: warning: command substitution: ignored null byte in input
/usr/libexec/src2pkg/09-fix_pkg_perms: line 380: warning: command substitution: ignored null byte in input
Correcting package permissions - Done
Stripping ELF binaries - Using: strip -p --strip-unneeded Done
Stripping static archives - Using: strip -p --strip-debug Done
Checking for standard documents - Done
Compressing man pages - Done
Verified slack-desc found - Inserting in package as PKG_DIR/install/slack-desc
Rechecking package correctness:
Rechecking package permissions - Done
Checking for dead links in PKG_DIR - Done
Searching for links in: dmraid-1.0.0.rc14-x86_64-1 - None found
Creating package: dmraid-1.0.0.rc14-x86_64-1.txz - Done
Package Creation - Successful! Package Location:
/tmp/dmraid-1.0.0.rc14-x86_64-1.txz
Code:
root@SlackDaddy & dmraid >> $installpkg /tmp/dmraid-1.0.0.rc14-x86_64-1.txz
Verifying package dmraid-1.0.0.rc14-x86_64-1.txz.
Installing package dmraid-1.0.0.rc14-x86_64-1.txz:
PACKAGE DESCRIPTION:
# dmraid Device-Mapper Software RAID support tool
#
# This software discovers, activates, deactivates and displays
# properties of software RAID sets (eg, ATARAID) and contained
# DOS partitions. dmraid uses libdevmapper and the device-mapper
# kernel runtime to create devices with respective mappings
# for the ATARAID sets discovered.
#
# Packaged by root <root@SlackDaddy>
Package dmraid-1.0.0.rc14-x86_64-1.txz installed.
If you originally ran ./configure and didn't provide any options, you are almost certainly to have installed everything somewhere in /usr/local.
src2pkg will attempt to put stuff into /usr by default. So you'd have to tell src2pkg to not do that. That's why I wrote instead of "Just run src2pkg to make a package out of dmraid."
I concede that I should have been more explicit in what I meant by "You could try using src2pkg to mimic your dmraid installation." Sorry about that.
that's right not a big deal though ..re- installed, reconfigured and back up and running again. thanks cheers!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.