Debian :: Uninstall Cryptsetup Dmcrypt?

Oct 2, 2010

I have a 1 TB usb external disk. I was crypted it with cryptsetup. now I dont' want crypt. without losing data how can I clear dmcrypt from my external disk

View 1 Replies


ADVERTISEMENT

Debian :: Cryptsetup Automount USB Key

Aug 27, 2015

I setup a luks encrypted /home partition on my Debian jessie, with an automount when my usb key containing the luks secret is plugged in at startup.

I did configure /etc/fstab so that my usb key be mounted at startup to /media/usb1, and /etc/crypttab to open my encrypted partition with the key at /media/usb1/homekey. It works.

However, when my usb key is not plugged in, boot fails and never shows welcome screen. I would change this behaviour so that when my usb is missing, boot resumes and do not mount /home partition. How could I manage this?

View 0 Replies View Related

Debian :: Enabling Cryptsetup In Initrd Img Manually

Dec 1, 2015

I have encountered a bug in the live-build in Debian Live. The persistence does not work it is because of the bug #767195. I cannot recreate another live img file because of bandwidth problem, is there any way to repack the initrd and enable the cryptsetup?

as per suggested:
#767195 – cryptsetup needs to be enabled for initramfs inclusion – Debian Bug report logs
On Wed, Oct 29, 2014 @ 18:09, Evgeni Golov <evgeni@grml.org> wrote:
....
Edit: Line 77 -79 @
# nano /usr/lib/live/build/chroot_hacks

[Code] ....

View 0 Replies View Related

Security :: Backing Up Dmcrypt Information?

Dec 6, 2010

As a matter of routine, I use dd to collect my hard drive master boot records, and I save the resulting file someplace where I can always get to it if I have to. It has occasionally saved me when some kind of disaster has struck and damaged a partition table or rendered a drive unbootable.Since I have switched to a fully encrypted system, I have been wondering exactly how to save the dmcrypt information. Dmcrypt works with a standard filesystem, and the filesystem itself isn't encrypted, only the contents.Thus dmcrypt must write a header someplace that includes all the information needed to decrypt the contents of the partition, including the key and the type of encryption employed.

Should something happen that causes that header to become corrupted, the entire partition is inaccessible and no recovery tool will work. So, it would seem like a really good idea to use dd to copy that header someplace safe.Now, I haven't taken the time to sit down, read the dmcrypt code, and try to figure out how to do it from that. The command cryptsetup luksDump doesn't do what I want because it dumps that information, but not in a format that would be immediately useful in copying the information back to a damaged partition. And every howto I've found tells me how to set up dmcrypt, and encrypt partitions and so forth. None tell me how to recover this information, other than mentioning that it is stored in the first few sectors of the partition.

Looking at some of this through a hex editor, I *think* that saving the first 512 bytes of the partition gives me what I want, but I'm not positive of that and I hesitate to depend on any putative backup scheme of this sort that I haven't vetted. I want to save no more than I need, and I certainly don't want to save any less than what I need.Edit: As I think about it, the first 512 bytes can't be enough because Luks/dmcrypt permits multiple keys. So how much information do I need to save?

View 5 Replies View Related

Ubuntu :: Cryptsetup - Cannot Access Device

Feb 23, 2010

I have 10 hotswappable SATA drives I use for a rotating backup system. On each drive I have created an encrypted LUKS partition. I normally mount the drive by first unlocking it via:

Code:

cryptsetup luksOpen /dev/sdc1: BD-4-B

However some time last week this command refused to work...for any of the drive. Before I even get prompted for a password I get the terse error message: "Command failed: Can not access device"I can't recall if it was a system update that broke it, but now I can't get to any of the data on these devices nor can I run any backups.

View 1 Replies View Related

Fedora Security :: Cryptsetup: How To List Used Slots

Jan 13, 2011

The simple question 'How do I list all the used/unused LUKS slots' wasn't found in either cryptsetup Wiki or its man page.Is this possible - to list all the available/used LUKS slots for a given device?

View 2 Replies View Related

Ubuntu :: Cryptsetup Container Ain't Mountable Anymore?

Jan 22, 2011

i have a cryptsetup container, which after freshly setting up the computer isn't mountable anymore. Google didnt help me much soSince i use a keyfile, it cant be the passphrase.This is what i do:Quote:

losetup /dev/loop0 /home/data.img
cryptsetup -d super-secret-key.file data /dev/loop0
mount /dev/mapper/data /data

[code]....

View 4 Replies View Related

Slackware :: LVM/CRYPTSETUP Duplicate Devices In /dev/mapper Again?

Jan 23, 2011

We had this problem a while back but it went away with whatever updates lvm/cryptsetup have been through, but it's back again as of the latest update. Instead of symlinks to the /dev/dm-* devices, lvm and cryptsetup are both creating duplicate device nodes under /dev/mapper for already existing devices.

e.g.
Code:
gazl@slack:~$ ls -l /dev/mapper
total 0
crw------- 1 root root 10, 61 Jan 23 16:48 control
brw-rw-r-- 1 root disk 253, 0 Jan 23 16:48 lukssda5
brw-rw-r-- 1 root disk 253, 9 Jan 23 16:48 rootvg-lvhome

[Code]...

View 11 Replies View Related

Ubuntu :: How To Get High Resolution Bootsplash When Cryptsetup Installed

Sep 12, 2010

I'm using an nvidia graphic card, as i read before on this forum, to get high resolution in bootsplash i need v86d package - and i installled it and i get back 1680x1050 resolution in bootslash. But the problem with resolution come back after installing cryptsetup package, now i've got 640x480 and i can change it, I trying to reconfigure v86d , plymount, trying update-initramfs -u but with no result.

View 4 Replies View Related

Slackware :: 13 2.6.29.6 Cryptsetup Luks Wrong Device Name In /dev/mapper/*?

Mar 3, 2010

Slackware 13 Kernel 2.6.29.6 have three hard drives. Root is on own drive sda1. sdb and sdc are raid via mdadm with two partitions. one for /home raid0 md0 one for swap raid1 md1. md0 is encrypted vi cryptsetup. md1 is encrypted vi fstab. everything boots fine and is accessible. However, /dev/mapper/* shows sda1 as block device connected to the raid md0. swap crypted device is correct in /dev/mapper/*. fstab is set correctly. problem seems to be with initrd. I would like the correct device in /dev/mapper so that I can access drive info; size, available space, etc. now info shows only sda1 info

View 1 Replies View Related

Ubuntu Security :: Cryptsetup Won't Accept Password After Normal Reboot?

Feb 2, 2010

Strange thing happend two days ago. I just wanted to reboot my computer and now I'm no longer able to boot o0. My system is runnig with a full encryption with luks/cryptsetup. I'm using a passphrase to unlock my first partition and it will unlock the others by itself. So far so good. But now it doesnt work anymore... I'm not sure what I did before, but what I know, I didn't change anything! about cryptsetup. I did only a little "update" with the recommended packages from the repositories (guess only 4-5 updated)

I already checked with live cd and same thing there. Not able to unlock any device (what seems strange to me, cause there are 4 of them and all corrupted at the same time...?)

I always get the error message: unlock failed, bad password or options? (on boot) Command failed: No key available with this passphrase (live cd)

First thing I did was checking wheter all modules are loaded:

Code:
ubuntu@ubuntu:~$ lsmod
Module Size Used by
sha256_generic 11580 0

[Code].....

View 5 Replies View Related

Slackware :: Cryptsetup - No Such File Or Directory While Trying To Open /dev/mapper/crypthome?

Jan 24, 2011

I've encrypted the /home partition. I've been successful in doing this by following the instructions here:slackware64-current/README_CRYPT.TXTBut after upgrade to cryptsetup-1.2.0-x86_64, when I boot up I get 'no such file or directory while trying to open /dev/mapper/crypthome'I have to manually type 'cryptsetup luksOpen /dev/sda9 crypthome' and mount each time to get into the encrypted partition.I expect to be prompted for the password on boot but I just get that error, what is wrong?my config files:

/etc/crypttab:
crypthome /dev/sda9
/etc/fstab:

[code]....

View 5 Replies View Related

Debian :: How To Uninstall Module

Feb 5, 2010

I have installed gspca module in this way:

apt-get install build-essential linux-headers-$(uname -r)
apt-get install gspca-source
cd /usr/src

[code]...

View 1 Replies View Related

Debian :: How To Uninstall BBC I Player

Oct 18, 2010

I am running a fully updated version of Lenny , configured as a single user machine. the computer downloaded and installed bbci player no problem. i player doesnt work very well and I now regret having downloaded it. I can find no uninstall application and when I try and delele the files I am told I dont have permission and need to log on as root user or admin ?I thought I was the only user with full admin permissions? in simple terms how do I get rid of iplayer

View 7 Replies View Related

Debian :: Can't Uninstall / Purge Mongodb

Jun 7, 2015

I'm having trouble with mongodb on debian. I'll start from the scratch: removing it.

Code: Select allapt-get autoremove --purge mongodb
Or:
Code: Select allapt-get purge mongodb
Or:
Code: Select allapt-get remove --purge mongodb

All end in the same way:

Code: Select all dpkg: error processing package mongodb-org-server (--configure):
  subprocess installed post-installation script returned error exit status 102
 Errors were encountered while processing:
  mongodb-org-server
 E: Sub-process /usr/bin/dpkg returned an error code (1)

[Code] ....

View 1 Replies View Related

Debian :: How To Delete / Uninstall 8.2 From Computer

Jan 3, 2016

I want to remove debian from my computer even though I don't have dual boot with windows or anything else,only debian. I accidentally removed windows when I was installing debian so I would really love to get rid of it because its not supportive with a lot programs and games I was using on windows. I heard there are ways to remove it like that but I dont know what I left with if I success and delete debian, what I have without any operative system and could I use my copy of windows 7 from my disk?

View 6 Replies View Related

Debian :: How To Uninstall Skype Completely

Jan 27, 2016

I'm learning the apt-get package system, and I'm a little unsure of myself. Before I start removing packages/software, I want to make sure that I'm initially taking the proper approach.

Below is a script that I've used to successfully install Skype into Debian 8.2 "Jessie" 64-bit. (This script is a slightly modified version taken from: wiki.debian.org/skype). I want to know the right way to uninstall it.

Code: Select allsu
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxss1:i386 libxv1:i386 libssl1.0.0:i386 libpulse0:i386 libasound2-plugins:i386
wget -O skype-install.deb [URL]
dpkg -i skype-install.deb
apt-get -f install

Now that I've installed Skype, how do I *UNINSTALL* Skype?

Will the following code completely remove the software added above, or will some "software-residue" be left behind, or will it remove other software that should have been left untouched?

Code: Select allsu
apt-get purge skype libc6:i386 libqt4-dbus:i386 libqt4-network:i386 libqt4-xml:i386 libqtcore4:i386 libqtgui4:i386 libqtwebkit4:i386 libstdc++6:i386 libx11-6:i386 libxext6:i386 libxss1:i386 libxv1:i386 libssl1.0.0:i386 libpulse0:i386 libasound2-plugins:i386
apt-get clean

View 9 Replies View Related

Ubuntu :: Cannot Uninstall Firefox Nor Can Uninstall Chromium

Jun 19, 2011

I cannot uninstall Firefox, nor can I uninstall Chromium; one always stays if the other is uninstalled. For example, if I remove Firefox, Chromium will appear in its place and vice versa. This has got to be one of the weirdest bugs I've ever seen on Ubuntu! So, how can I uninstall both web browsers?

View 6 Replies View Related

Debian Installation :: Uninstall Some Applications - To Install Others?

Oct 3, 2010

Installed Debian Lenny on a Pentium 3 with 256 MB of ram and a 10GB hard drive. Used the "Expert Graphical" from the install menu. I did not choose any software packages when prompted from the list (the list with the checkboxes next to server, desktop ECT) because I wanted to choose individual packages to install afterwards. Had no issues, computer rebooted and I got to a login prompt.

Logged in as root, I ran "apt-get install" and installed gedit, blackbox from my main window manager, gdm, iceweasel and synaptic (some of these I installed after editing the sources.list file with more repositories.)

All of this is great, even though this computer is old.. I have a nice box to do internet browsing and IRC.

Here is what I do not understand, and I have never seen before in Linux. When I try to install Open Office, synaptic package manager says it "needs to uninstall iceweasel" browser and a few other files and programs. Also this happens if I try to install VLC player. Looks like the reasoning is because some applications are not compatible with others. Is this new? Again, I have never seen this before in Linux.

View 12 Replies View Related

Debian :: How To Uninstall Java Related Packages

Jan 26, 2011

I just blindly install 'java' in GNU/Linux Debian SID -- so I could use it as a plugin for iceweasel -- Unfortunately, things didn't work as expected. I was used to Debian's APT to take care of things for me as it had done for more years than I could remember. (Being a desktop user/programmer and a beginner system network admin). I want a clean install of java plugin for iceweasel. So I want to remove completely all java related packages --

How do I know which is which and if they are safe to remove without affecting any other part of the system? Now, to install -- what do I need to install in order for iceweasel to have the Java plugin and let java work as it should? I prefer from the Debian package. But if it doesn't work, I'll accept JRE from the java site and install them myself.

View 8 Replies View Related

Ubuntu Installation :: Uninstall Software Via Ssh On Debian 5?

Mar 5, 2011

I joined about 2 weeks ago because I was going to get an ubuntu 10.04 64 bit vps, but I had troubles installing a hosting panel so I changed to debian lenny and installed ehcp ehcp.net and it's working fine,but I have a problem which you could help me with because ubuntu is based on debian and it's not a big problem to solve. I bought a vps from micohosting and everything is working fine, the vps is still clean, no bandwidth is being used, no cpu and no disk space....However I 472mb of ram which is 90% of what I'm allowed to use...It's my bad because I have installed every feature of ehcp....I didn't though that it's gonna use that much lol.

Now I wanna uninstall some feature, like ffmpeg...So how to do so via ssh or via cpanel? and what feature use the most ram? what do you advise me to uninstall? my site will be some kind of video hosting site...kind of so I need to install flash player guys...but first I wanna uninstall some stuff...

This vps is gonna be used for the demo so later on I'm gonna buy servers....so nobody will be using disk space coz it's a demo and I can control what is being uploaded one more thing guys...as an admin, I created reseller accounts, does that use ram? I don'r think so coz nothing is being uploaded to the site yet....just wanna know what you think

View 1 Replies View Related

Debian :: Uninstall Gnome And Keep Mate And System Clean

Mar 30, 2016

I've been testing Mate since couple of weeks on my Jessie and now I'm convinced that is the perfect DE for me. So I would like to uninstall Gnome 3 without disturbing Mate and my system as well because both DE share many dependencies. If this is very risky I would like at least get rid of all gnome packages which are not shared with Mate.

View 3 Replies View Related

Debian Installation :: Uninstall From 40GB HD Or Share HD With Ubuntu?

Jul 28, 2010

I installed Debian on a 40GB HD all by itself. I like Debian's stability & security but looks like it'll be a long time before I can use it with flash, so I want to uninstall it for now, or possibly install Ubuntu alongside it. First, how do I uninstall Debian when it's the only OS on the disk; second, is a 40GB HD large enough to run Debian & Ubuntu side-by-side?

View 14 Replies View Related

Debian Installation :: Can I Uninstall GRUB-2 And Install Legacy

Apr 5, 2011

I am new to Debian. I have installed Debian on sda1, grub installed in /dev/sda . /dev/sda6 is SalixOs.

My fdisk -l report is this code...

I boot from sda, Debian recognised windows Xp installed on sdb1, but when I choose to boot from it, it simply reboots.

What could be the reason ? I am a newbie, please be patient with me.

I have solve the problem by installing EasyBCD in WinXp and added the Linux entries to it and booting from sdb.(changed in BIOS)

So, is it possible to uninstall GRUB-2 and install GRUB-Legacy ? Would it work on Debian-Squeeze ?

View 3 Replies View Related

Debian Configuration :: Removing Libcups2 Tries To Uninstall Every Other Package?

Apr 26, 2011

In an attempt to minimize my system when I mark for removal libcups2 using synaptic it asks to install 7 not authenticated packages, however if I choose mark for complete removal it asks to install the same 7 packages and remove every single installed package from epiphany to gimp to zenmap. Any ideas as to whats going on with that?

Squeeze 6.0.1
kernel 2.6.32-5-amd64
intel core i5

[code]...

View 3 Replies View Related

Debian :: Browser - Uninstall Epiphany And _not_ Gnome

Jun 19, 2009

Hi all, i used synaptic to uninstall epiphany and it also removed gnome-destop along with it, resulting in me having to reinstall(AGAIN!) Ofcourse my intention was to uninstall epiphany and _not_ gnome, so is there a way to take epiphany off of my system with out affecting gnome?

View 9 Replies View Related

Debian Configuration :: Unable To Uninstall Xserver-xorg-video-nvidia

Apr 1, 2014

I am running Debian 7.0 Wheezy amd64...I installed Debian's nvidia driver earlier but I was having a few issues with OpenGL. So I removed those drivers using "apt-get remove nvidia*" and installed proprietry NVIDIA's driver from their website.Now the issue is, my apt-get/synaptic does not work anymore because it is trying to remove xserver-xorg-video-nvidia and failing to do so.

Code: Select allThe following packages will be REMOVED:
xserver-xorg-video-nvidia

0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.1 not fully installed or removed.After this operation, 17.8 MB disk space will be freed.Do you want to continue [Y/n]? Y

(Reading database ... 194280 files and directories currently installed.)Removing xserver-xorg-video-nvidia dpkg: error processing xserver-xorg-video-nvidia (--remove): subprocess installed post-removal script returned error exit status 128.Errors were encountered while processing:  xserver-xorg-video-nvidia.E: Sub-process /usr/bin/dpkg returned an error code (1)I have tried apt-get install -f to no avail.

View 6 Replies View Related

Debian Configuration :: Wheezy I386 - No Internet Access After Uninstall Gnome

Jun 20, 2015

I'm using Debian Wheezy i386.

I've tried to uninstall gnome as below :

Code: Select all# aptitude purge `dpkg --get-selections | grep gnome | cut -f 1`
# aptitude -f install
# aptitude purge `dpkg --get-selections | grep deinstall | cut -f 1`
# aptitude -f install

And gnome successfully removed.

After reboot, system started in tty and I plugged Wired Network cable to access Internet but I have no Internet!

Content of "/etc/apt/sources.list" :
Code: Select alldeb http://ftp.au.debian.org/debian wheezy main
deb-src http://ftp.au.debian.org/debian wheezy main

Output of `ifconfig` :

View 2 Replies View Related

Fedora :: How To Uninstall Lkl

Jan 6, 2011

So I installed lkl and want to uninstall it now, but can't figure out how to.

View 5 Replies View Related

Ubuntu :: Uninstall A 2nd HD With 9.04?

Jan 20, 2010

I have been searching through the web trying to find a way to install (mount?) and format a used 80G HD.I have installed GParted and it makes no sense to me. None of the tutorials on ..... have been helpful either (except to get me frustrated) I want to learn Linux and use it for my main os but, having these troubles makes it difficult.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved