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


ADVERTISEMENT

General :: Creation Of Initrd Manually?

Mar 14, 2011

creation of initrd manually(not using mkinitrd).

View 1 Replies View Related

Debian :: Make-kpkg --initrd Won't Create Initrd?

May 18, 2010

When I compile a custom kernel with this command: make-kpkg --initrd kernel_image kernel_headers and then install the .deb, there's no initrd in /boot and I have to create it manually. I've thought that the --initrd option should take care about this, but somehow it doesn't.

It behaves like this for about two years at least (since I've compiled my first kernel). Of course, it's no big deal to create it manually, I was just wondering whether do I do anything wrong or whether should I fill a bug report..

View 1 Replies View Related

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 :: 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 View Related

Debian Configuration :: How To Add A File To Initrd

Dec 13, 2015

I have an encrypted root and encrypted boot drive... To avoid entering a passphrase multiple times I'd like to add a keyfile for my root drive to my initrd... I've done this in Arch and it was relatively simple but I've hit a road block in debian finding the analog processes...

Code: Select all#Part 1) Generate the keyfile, give it suitable permissions and add it as a LUKS key:

dd bs=512 count=4 if=/dev/urandom of=/crypto_keyfile.bin
chmod 000 /crypto_keyfile.bin
chmod 600 /boot/initramfs-linux*
cryptsetup luksAddKey /dev/sdX# /crypto_keyfile.bin

[Code] ....

Code: Select allupdate-initramfs -v -k -u all

What is the analog to Part 2 (and Part 3 if I'm wrong about how to regenerate the initramfs...)??

View 10 Replies View Related

Debian :: Procedure Behind Initrd Image?

Feb 14, 2011

i am using linux for couple of years. suddenly i a question arises in my mind. Before loading kernel during booting linux box initrd image loads necessary real mount point, file system, modules etc. but how initrd loads them ?? is there predefined modules list stored in initrd image or something else....what is the background procedure of it

View 1 Replies View Related

Debian :: Booting - Initrd Image Works?

May 11, 2011

When we boot the kernel before loding the main file system it loads the temp file system through initrd how that initrd image works.

View 1 Replies View Related

Software :: How To Cancel Swap Mounting At Boot In Debian Initrd

Oct 9, 2010

When I installed Debian stable on a headless machine of mine, I configured a partition with LUKS encryption (intended for swap), but told the installer not to use it. After installation, I configured that encrypted partition as swap and mounted it. I wanted my headless machine to boot all the way without manual intervention, so I can log in via ssh and mount my encrypted partitions.However, since the kernel was updated (and the initrd regenerated), the machine now waits during boot for me to enter the swap encryption password, but no others, only the swap.I have been unable to find in my searchings how the initrd is generated with that setting or how I can change it, preferably permanently so future regenerated initrd's don't try activating my encrypted swap on boot. Does anyone know how to configure a Debian style initrd generator to generate an initrd that will not try to activate swap?

View 9 Replies View Related

Debian :: Building Kernel - Initrd Fail And Nvidia Can't Find Source

Feb 25, 2010

So I'm building a custom kernel cuz I want the fbcondecor patch in my kernel. I use the same .config that 2.6.32 debian kernel package comes with. This kernel runs perfectly. I pass --initrd to make-kpkg when building the package but no initrd is built when I install it so I have to make it using "mkinitramfs -o /boot/initrd.img-2.6.33 2.6.33" to get it to boot. Now when I try to build the nvidia drivers it complains it can't find the source. I did build kernel_headers and installed them also the source is in /usr/src/linux. I also tried to specify the path by passing --kernel-source-path= to the nvidia script but no change. What is going on? I've done this fifty times before and never had any problems. Has there been some changes to how debian kernel packages are built? EDIT: Just thought I'd add some info about the steps I took.

Code:
tar xjvf linux-2.6.33.tar.bz2
ln -s linux-2.6.33 linux
cd linux
patch -p1 < ../fbcondecor-0.9.6-2.6.33-rc7.patch
cp /boot/config-2.6.32-trunk-686 ./.config

make menuconfig Loaded .config then I removed support for maxtorfb, tile blitting and some sirrusfb thing, nothing thats relevant to my system. Changed cpu from Pentium 4 to Core 2 and added framebuffer decor
support from my patch, exited and saved. Then:

[Code]....

EDIT2: I have now tried to build 2.6.32.8 in the same way with the same strange results, anyone have any thoughts as to what I'm doing wrong just throw it at me, I'm getting desperate and running out of ideas. I've checked all the kernel source symlinks and everything looks good.

View 7 Replies View Related

Debian :: Unable To Boot From Grub 'error Unknown Command Initrd'

Feb 24, 2009

I'm running Debian testing and after a recent software update, suddenly I can no longer boot into my single Linux kernel image anymore. I did look at the software update before I did it and I don't believe that it removed any software packages. When I try to boot into my linux 2.6.26-1-amd64 image, I get the following message from grub:"error: unknown command `initrd'"..The same error appears if I try to boot into single-user mode. I have a Windows XP partition on the same hard disk and I am still able to boot into that from grub. I've searched the net and haven't really found my same problem replicated anywhere. I would imagine that the problem is just that somehow the initrd package got removed in my last software update, but again I don't recall seeing any software that the update planned to remove.

Any thoughts on how I would go about fixing this problem? Since I'm unable to get into Linux at all, I imagine I'll have to use a LiveCD to get in and fix the problem, but I don't know where to begin looking.

View 8 Replies View Related

Debian Installation :: Installed Vmlinuz And Initrd.gz (squeeze) In /boot/newinstallation And Added To Grub The Lines?

Sep 17, 2010

I have installed vmlinuz and initrd.gz (squeeze) in /boot/newinstallation and added to Grub the lines:titleNova Instalaçãoroot(hd0,0)kernel/boot/newinstall/vmlinuzinitrd/newinstall/initrd.gzNevertheless, when I choose this option at the grub, it begins to start the kernel vmlinuz and thus restart the system. The installed Debian Lenny boots in a normal way.

View 10 Replies View Related

Debian :: Enabling Autologin In LXDE Not Working

Nov 30, 2015

I'm running Debian + LXDE in a VirtualBox. Here are the details:

Code: Select all➜  ~  hostnamectl
   Static hostname: debian64
         Icon name: computer-vm
           Chassis: vm
        Machine ID: #############################
           Boot ID: ###########################
    Virtualization: kvm
  Operating System: Debian GNU/Linux stretch/sid
            Kernel: Linux 4.2.0-1-amd64
      Architecture: x86-64

I really would like to jump into my desktop environment when I start my machine without the need to enter my user name and password. Apparently this is very easy to do. I added the following lines to my /etc/lightdm/lightdm.conf

Code: Select allpam-service=lightdm
pam-autologin-service=lightdm-autologin
autologin-user=username
autologin-user-timeout=0
session-wrapper=/etc/lightdm/Xsession

And also added my user to the autologin group

Code: Select allgroupadd -r autologin
gpasswd -a username autologin

As you can imagine, it didn't work. Otherwise I wouldn't be here... I also tried to install Slim and enable autologin adding the following line to the /etc/slim.conf

Code: Select allauto_login = yes

That didn't work either!

Am I missing anything? Enabling autologin in LXDE?

View 6 Replies View Related

Debian :: Enabling HTAccess In Apache2 For Lenny

Aug 25, 2011

My distro is Lenny. I am struggling with trying to enable .htaccess files. I followed a ubuntu tutorial that did not work at all. How do I enable .htaccess files in all apache2 directories for Debian 5.0 Lenny?

View 1 Replies View Related

Hardware :: Enabling Second PCI Network Card On Debian

Oct 13, 2010

I have a dell optiplex configured with an extra PCI network card, because I plan to set it up as a gateway / LTSP server, but I have troubles getting the second network card to work. It is recognized during installation (where I can choose the primary network interface) and doing a

Code:
lshw -class network

After installation shows both network cards, with network 0 being labeled Disabled. I have tried configuring the other network interface in the /etc/network/interfaces file, but it has failed to work. I have also briefly looked at udev rules, but it seems that it renames the interfaces fine during bootup, as

Code:
dmesg | grep "udev"
Shows the following
Code:
[1.138307] udev: starting version 160
[6.003002] udev: starting version 160
[7.237092] udev: renamed network interface eth1 to ethlokal
[7.253775] udev: renamed network interface eth0 to eth1

I also noticed a briefly shown "address collision" error of some sort during boot, but it never shown for long enough for me to read it through. The network card that is enabled is an Intel 825662EZ 10/100 ethernet controller, and the one that is disabled is a Realtek RTL-8139/8139C+.

View 7 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

Debian Configuration :: Enabling Persistent Logs With Systemd

Dec 1, 2015

How to enable persistent logging with systemd? I find it really weird that all this machinery that is systemd doesn't store persistent logs, what if I'm trying to retrieve some information regarding previous boots?

For instance: I have random suspend issues, after rebooting the computer there's no trace left in the logs of what happened, and furthermore (at least in Jessie) I can no longer see a pm-suspend log.

So, at first it sounds like all you have to do is edit journald.conf setting #Storage=auto to "persistent" and create the /var/log/journal directory, but then reading here /usr/share/doc/systemd/README.Debian

Code: Select allEnabling persistent logging in journald
=======================================

To enable persistent logging, create /var/log/journal and set up proper permissions:

install -d -g systemd-journal /var/log/journal
setfacl -R -nm g:adm:rx,d:g:adm:rx /var/log/journal

and here [URL] ....

There are two main reasons why I decided to not enable persistent logging just yet ....

We did get corrupt journal files in the past where the journal then no longer worked at all [1]. With volatile you can just reboot and have a clean state again. Admittedly, the journal has seen a lot of improvements in the mean time and hopefully is more robust, so this point is no longer true.

We still install rsyslog by default. That means we get store them twice. This is something we don't want to do atm.

View 3 Replies View Related

Debian Hardware :: Enabling A Pointing Stick On Laptop

Jun 3, 2015

I have a Dell Latitude D400 laptop running Wheezy (I can't upgrade to Jesse at the moment) and I want to try out the Pointing Stick on my keyboard. If you Google "Pointing Stick" you can find images of it. It's located in the middle of the "G", "H", and "B" keys. Now it doesn't do squat so I'd like to enable the Pointing Stick. How exactly would I do that?

I'm not looking to use it full time, I just want to play around with it.

View 2 Replies View Related

General :: Enabling GUFW / UFW In Debian - Wrong Identification

May 24, 2011

I have a problem with the unix firewall (gufw). I'm using Linux Mint Debian Edition. The problem appears when I double click on the icon to bring it up for configuring. Everything is grayed out so I click on the "unlock" button. Normally, this is when gufw comes alive with color. But all I get now is a note on the bottom of the gray screen that says "Wrong Identification". Uninstalling and reinstalling UFW and GUFW didn't fix the problem. I would like to have my firewall working for me.

View 3 Replies View Related

General :: Manually Install A Debian File For Debian?

Sep 17, 2009

I cant install programs that end with .deb automatically... how to install them manually on konsole?

View 5 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

Debian :: Installing/enabling The Newest Flash 10 Testing/Squeeze?

Jan 29, 2011

Could someone give me the steps to installing/enabling the newest Flash 10 in Debian Testing/Squeeze?I want to install via the steps one would do from Adobe's website.IT DOES NOT WORK.IT DIDN'T WORK FOR ME.I just want to install the routine way that is usually done in Linux but when I downloaded it, I was asked to extract it and I have no idea where it got extracted to.Can anyone help?I don't mind starting from scratch.I don't remember how to do this method.I'm used to the 'non-free' package in the repo but Flash 10 is no longer working so I want to use the 'sure' method.

View 5 Replies View Related

Debian Installation :: Squeeze In Virtualbox 4 - Enabling Main Repo?

Feb 8, 2011

I installed Squeeze in Virtualbox 4 and I need to enable the main repos for debian after several google searches I gave up. I am sure this isn't the first time this has been asked and I am sure that it is a common question.

View 6 Replies View Related

Debian Hardware :: Enabling Wireless Card Via Command Line?

Sep 14, 2010

I have a netbook and the wireless card on it works fine. Whenever I wake it up after suspending for couple of hours, it seems like the wireless card is not awaking or the drivers are not working properly because I do not see any wireless networks after waking it up(for example in Wicd). If I do fresh restart, the wireless and wireless networks come back at the same place. So I am wondering if it is possible to restart the wireless card or the driver without restarting my netbook

View 13 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

General :: Coredumps Don't Work After Enabling Them In /etc/security/limits.conf On Debian

Aug 25, 2011

I have some init scripts that launch some daemons that I wrote. I want Linux to generate a coredump anytime something crashes. I activated coredumps in /etc/security/limits.conf by adding the next line:

* hard core 100000 After rebooting, I run ulimit -a and I can see that coredumps are not activated: > root@computer:~# ulimit -a > core file size (blocks, -c) 0 First, I checked if there is any file script on my system that deactivates coredumps (greping ulimit -c 0 ), but I didn't find anything so far.

Then, I created a bogus c program..to double check if it's working, and I can confirm that it's not. The program is this

[Code]...

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







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