Debian Configuration :: Boot Hangs With 4.2.6 Static Kernel And Encrypted LVM

Dec 7, 2015

I use a static compiled kernel and a fully encrypted disk apart from a boot partition. I have recompiled and installed kernels many times. When I tried with the latest kernel from Testing, 4.2.6, the system will not boot. Not only that but the previous kernel now does not boot. However, a stock modular kernel does boot. The static kernel hangs at:

Code: Select allVolume group "dk" not found
Cannot process volume group dk
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Reading all physical volumes. This may take a while...
/run/lvm/lvmetad.socket: connect failed: No such file or directory

[Code] ....

And after giving the password the boot continues successfully. How to diagnose it further?

View 1 Replies


ADVERTISEMENT

Debian Configuration :: Keyboard Layout Used At Boot For Encrypted Filesystem?

Jun 28, 2011

how can I set the keyboard layout used by Debian to enter the password of my encrypted filesystem?

After my recent "aptitude upgrade", I have not been able to mount my encrypted filesystem anymore. I have discovered that the keyboard layout used to enter the password has changed. Problem is that with such layout I can't enter some of the characters composing the password. The encrypted filesystem looks intact, since I have been able to mount it and backup my files by means of a live CD. That means that I can edit any system file, if needed.

Every technique I have found to change layout cannot be employed in this case, since they rely on the system being up and running. I've tried editing /etc/default/keyboard, but that does not work.

View 2 Replies View Related

Debian Configuration :: Update My Kernel From 2.6.32 To 2.6.38 - Error - Unable To Boot Into The Kernel

May 13, 2011

I am using DEBIAN 6.0 and I wannna update my kernel from 2.6.32 to 2.6.38. Every time, I do it but after the installation & rebooting into the new kernel it gives me error "UNABLE TO BOOT INTO THE KERNEL".

View 1 Replies View Related

Debian Configuration :: Wheezy32 Boot Hangs - Configuring Network Interfaces

Jan 6, 2016

As above, my wheezy 32bit hangs at boot. the last few lines displayed are

Code: Select allMounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files...
Setting kernel variables ...done.
Setting up resolvconf...done.
Configuring network interfaces...

[Code] ....

I removed the files from /etc/network/interfaces.d/ just in case. i still can't boot up.

Resolved (I think) as on this post: [URL] ....

View 14 Replies View Related

OpenSUSE Install :: Encrypted LVM Boot Hangs After Upgrade

Jul 16, 2010

I just upgraded my OpenSuSE 11.2 system to 11.3 and have experienced the following problem:

My hard drive was encrypted beforehand, and after the upgrade(which went smoothly) will no longer decrypt. I type in my passphrase at the prompt, press enter and the start up process never resumes. I am able to access the filesystem from the Rescue System option in the install disk. What's strange is that this worked smoothly on another laptop of mine.

View 1 Replies View Related

Debian Configuration :: Kernel Failure Almost On Every Boot

Oct 13, 2010

Lately I'm encountering a somewhat annoying malfunction: almost every boot, my desktop is stuck, HD red led is constatnly on, and i get a message from kerneloops that I had a kernel failure. I can move the cursor a little and slowly or not at all. Few violent reboots and I get a clean boot. Running Debian Lenny kernel 2.6.26-2-686 on a Pentium 4 2.0 GHz with 250 MiB ram.

View 4 Replies View Related

Debian :: Booting From A Live USB - Screens Turn To Garbled Static And It Just Hangs There

Aug 2, 2015

I am trying to make a live usb drive with persistents and so far I have used win32DiskImager to write the debian-live-8.1.0-i386-gnome-desktop image to a usb drive. (im using a windows machine to get this set up) and it all went fine. The problem shows itself when i boot from the drive however. it boots fine and i select the live option when prompted. then i get the debian loading screen and once it finishes loading both my screens turn to garbled static and it just hangs there.

View 2 Replies View Related

Debian Configuration :: Kernel Not Recognizing Boot Option ?

Aug 25, 2010

I'm running Squeeze and I've been running into the r8169 hang problem (see [url]for example). A temporary (until the driver foibles in the kernel are resolved) solution that seems to be working for many people is passing the boot option "pcie_aspm=off" to the kernel.

Apparently, either I don't understand grub2 at all or my kernel doesn't like me very much. I put the option in grub.cfg like so:

However, it appears that the kernel, for whatever reason, is either not being given this boot option or it's not interpreting it correctly. When I run lspci -vv I get this for my r8169 ethernet card:

The relevant section is LnkCtl: ASPM L0s L1 Enabled; indicating that ASPM is still on.

View 8 Replies View Related

Debian Configuration :: Boot With Custom Kernel Automatically?

May 19, 2011

I have squeeze and I've created my own custum kernel. Howto configure grub 2 to boot with this custom kernel automaticaly?

View 5 Replies View Related

Debian Configuration :: No Boot Without Attached Monitor Kernel 2.6.32-5-686

Jul 10, 2011

since upgrading the squeeze kernel from 2.6.26-2-686 to 2.6.32-5-686 I´ve been unable to boot my HP D510S/845G without attached monitor. As this computer serves as router and print/faxserver, there is/was neither a monitor nor a keyboard/mouse attached. With monitor everything works fine, without monitor the computer hangs somewhere. Unfortunately it hangs without logging anything in /var/log.

Reinstalling xorg and xserver-xorg didn´t change anything, neither was the new xorg.conf from dpkg-reconfigure -phigh xserver-xorg of any use. (After booting with attached monitor I disconnected the monitor and ran dpkg-reconfigure) Maybe disabling Xorg would solve the problem, but I want to be able to log in via vnc and use a GUI - for example to configure mythtv. Up to the kernel-update everything was working fine, so I think some changes to the new kernel are responsible. how to fix it or how to start logging earlier in the boot process?

View 7 Replies View Related

Debian Configuration :: Can't Boot Xen/dom0 In Squeeze With 2.6.32 Pvops Kernel?

Aug 10, 2010

I've got a fresh install of Squeeze on a 32bit host and I have been unable to boot into XEN/dom0.The Xen Kernel is "linux-image-2.6.32-5-xen-686" (pvops) and Hypervisor is xen-hypervisor-4.0-i386.The system default installed with grub2.It boots quite happily in normal mode, using the above Kernel, but just reboots itself if I try run it as Xen/dom0. (reboots within a second of pressing <enter> ... there is no messages displayed on the screen that I have noticed)The relevant menu (generated by /etc/grub.d/20_linux_xen) entry for running Xen is as below;

menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-686 and XEN 4.0-i386' --class debian --class gnu-linux --class gnu --class os --class xen {
insmod part_msdos

[code]....

View 1 Replies View Related

Debian Configuration :: Installing Specific Kernel As Boot Option?

Jul 29, 2011

I need to install any version of Debian with the Debian Kernel version 2.6.22-3-686. I don't mind what version of Debian it is, I just need it to have this specific kernel! Debian Etch comes with 2.6.18-4-686 and Lenny comes with 2.6.26-2-686 so the kernel I need is obviously somewhere in between.

I have tried using the following commands to see if kernel 2.6.22-3-686 is available for download via the apt-get method in both Debian Etch and Lenny but it is not...

apt-cache search linux-kernel
apt-cache search linux-source

So does anyone know where/how I can download specific kernels and install them for use? I have a computer sitting next to me that has multiple kernels as an option on boot, and they all boot into the same system, however I do not know the person who set up the computer so cannot ask them how they did it

View 2 Replies View Related

Debian Configuration :: Boot Kernel Panic After Upgrade To Backport 2.6.39

Aug 21, 2011

I am running Debian squeeze. A while ago I upgraded my kernel to 2.6.38 from backports. Just now I thought it would be good to upgrade to 2.6.39 from backports. Upgrade went fine, but after rebooting I get a kernel panics rightaway.

"No filesystem could mount root, tried:"
"Kernel panics = not syncing: VFA: Unable to mount root fs on unkown-block(0,0)."

This is the first time one of Linux installations halts/panics on booting, so I don't know what to do now. I tried booting the recovery entry from the grub boot menu, but same result.

View 6 Replies View Related

Debian Configuration :: Cannot Get Static Ip's With Live

Nov 15, 2010

Our network uses static ip's and I cannot get them to work with Debian live. In fact, when I reboot, it always goes back to "roaming". What am I doing wrong here?

View 7 Replies View Related

Debian Configuration :: Getting Lots Of Errors When Trying To Set Static IP

Aug 14, 2015

I am trying to set a static IP for my wireless adapter (wlan0). I've been getting the error

Code: Select all[....] Reconfiguring network interfaces.... Error for wireless request "Set Encode
" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.
RTNETLINK answers: File exists
Failed to bring up wlan0.
Done.

After using the command

Code: Select allsudo /etc/init.d/networking restart

Here is what etc/network/interfaces looks like

Code: Select allauto lo
Iface lo inet loopback

auto eth0
Allow-hotplug eth0
Iface eth0 inet manual

Auto wlan0
Iface wlan0 inet static
Wireless-essid xxxx
Wireless-key xxxx
Address 192.168.3.116
Netmask 255.255.255.255
Gateway 192.168.3.0

View 7 Replies View Related

Debian Configuration :: Static IP - Says Manual / No DCHP

Apr 25, 2016

I am trying to set up a static IP for the pi.

Code: Select allcat /etc/network/interfaces

this should bring up something like iface eth0 inet dhcp

View 3 Replies View Related

Debian Configuration :: Static IP And Network Mounts

Jul 19, 2010

I moved to static Ip method for my laptop. I edited the interfaces file and it seems to work since I am writing this message from that laptop, but I have a new problem with my Debian. The mounts are not mounted during the startup anymore. Before I was using the network manager method and the nerwork mounts were all fine. Now with this method, they are not mounted and I need to mount them by firing "sudo mount -a" manually.

View 2 Replies View Related

Debian Configuration :: Encrypted LVM Disappears In UEFI

Sep 6, 2015

Debian encrypted LVM disappears every time on sda when I install any other also encrypted Linux distro on sdb.

How can I set up Debian that way that it wouldn't disappear or how can I recover it form UEFI?

View 1 Replies View Related

Debian Configuration :: DNS And Resizing Encrypted Partition

Feb 27, 2016

I have Debian and Virtual Box with another Debian. I have resized max size of vdi file with VBoxManage modifyhd but now I need to resize partition on virtual machine's system. I've downloaded GParted and I can run machine from this ISO as CD. Partition is encrypted on machine.Unfortunately GParted doesn't start with X so I have to use it in terminal. I can see partitions:

Code: Select allroot@debian:/# fdisk -l
Disk /dev/sda: 80 GiB, 85899345920 bytes, 167772610 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3914....

[code]....

So I though maybe I need to use this (URL...). I couldn't find similar tutorial about Debian or GParted but OK, it's just executing these commands, not modifying its source.list.But I cannot even do the update:

Code: Select allroot@debian:/# sudo apt-get update
Err: http://free.nchc.org.tw/debian sid InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Err2: http://free.nchc.org.tw/drbl-core drbl InRelease
  Temporary failure resolving 'free.nchc.org.tw'
Reading package lists... Done
W: Failed to fetch http://free.nchc.org.tw/debian/dists/sid/InRelease  Teporary failure resolving 'free.nchc.org.tw'
W: Failed to fetch http://free.nchc.org.tw/drbl-core/dists/drbl/InRelease  Temporary failure resolving 'free.nchc.org.tw'
W: Some index files failed to download. They have been ignored, or old ones used instead.

So I check my internet connection. VirtualBox has 'attached to NAT' and before I run out of space on virtual machine, Debian could access internet. So it's only something about this GParted. I have modified /etc/resolv.conf with vi (even vim is not available). And it has two valid nameservers. I haven't restarted anything, as I'm not sure if I need to, after modifying resolv.conf file.But even in that case I cannot ping anything from GParted:

Code: Select allroot@debian:/# ping www.google.com
ping: unknown host www.google.com

How can I access internet from GParted and resize encrypted partition?

View 8 Replies View Related

Debian Configuration :: Online Resizing Of Encrypted Lvm?

Apr 4, 2011

When I installed Debian on this machine, I went with guided partitioning, encrypted lvm, and Debian defaulted to a 10GB / partition. I figured, hey, defaults are there for a reason, so left it alone.

Now that I need to shrink my /home and extend /, I'd like to do so as easily as possible. I installed system-config-lvm, read its man page ( which is really just a long description of the program, not much instruction ) and fired it up. Won't let me resize ( shrink ) /home, said files are in use.

Is there a way to use the nice pretty graphical tool, or do I need to boot to a non-X-using runlevel and log in as root, then muck about with CLI tools like lvresize and resize2fs?

View 2 Replies View Related

Debian Configuration :: Dhclient3 Eventually Kills Static IP?

Jun 18, 2010

I installed Lenny for my new server and set a static IP the usual way:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface

[code]....

View 5 Replies View Related

Debian Configuration :: Static IP Switching Back To DHCP

Jul 15, 2010

I'm new to the forum and actually to Debian as well. Have been running Ubuntu for the past few years. Just setup a small Dell laptop to use as a Squeezebox and Print server. It's been up 6 days without a hitch as far as serving music to the squeezebox and printing. The problem is that it loses it's static IP, so as long as I look it up and change the radio Squeezebox and printer definitions around on the clients everything keeps working.

Does anyone have any ideas?If the connection drops for some reason and the system has to re-initialize the connection, shouldn't it use the /etc/network/interfaces file and get back to the static IP that it is configured for?If anyone has any ideas of why this could be happening or have a solution, I would really appreciate the help.

View 6 Replies View Related

Debian Configuration :: Static IP - Network Device Not Found

Oct 11, 2010

My os is debian 5.0, netcard is RTL8168D/8111D. I can't use the Static ip, if I setup static ip, output "not found network device", but the network driver have loaded and if I use DHCP mode everything is ok. do you understand my english? What my next steps should be?

View 7 Replies View Related

Debian Configuration :: Reconfigured /etc/network/interfaces For A Static IP?

Jun 27, 2011

I have a Dell PowerEdge SC430, Squeeze 6.0.2 box, Broadcom NetXtreme NIC which works fine DHCP. The network-manager package is not installed. I have now reconfigured /etc/network/interfaces for a static IP:

auto eth0
iface eth0 inet static
address 192.168.1.2

[code]....

View 7 Replies View Related

Debian Configuration :: Moving Encrypted System To New Drive

Dec 30, 2015

I want to move my old system to a new drive. Currently I have Debian installed with following configuration:

I have an encrypted system where everything is encrypted except /boot. Currently I've /boot and / installed on a 16 GB mSata SSD and /home on a regulard HDD. I've got a 500GB SSD for Christmas and want to move the whole system to the new SSD.

I just wanted to ask if I've got the process required to to this down:

1. backup root-directory (/) without and /boot /home using tar keeping file-permissions and owners to ext. hard drive
2. backup /boot and /home separately using the same method
2. replace HDD with SSD remove mSATA SDD.
3. boot via live-usb
4. create appropriate volume groups, partitions, setup encryption etc.
5. extract backups to appropriate partitions
6. chroot to old /.
7. edit fstab
8. reinstall grub
9. create new init ram img.

I'm pretty sure I've got steps 1.-6. down but I'm very shaky on what to do next.

View 0 Replies View Related

Debian Configuration :: Creating LUKS Encrypted USB Disk

Jan 15, 2016

Is it better to install LUKS to raw disk (/dev/sdb) or disk partition (/dev/sdb1)? What are best LUKS options?

"cryptsetup benchmark" output
Code: Select allPBKDF2-sha1      1310720 iterations per second
PBKDF2-sha256     862315 iterations per second
PBKDF2-sha512     590414 iterations per second

[Code] ....

Is slow hash better or how to choose it? It is clear that aes-xts is best choise. Is 265 bit key good?

View 3 Replies View Related

Debian Configuration :: Encrypted Home With Truecrypt On Usb Stick

May 31, 2011

is it possible to mount a truecrypt file container as a home directory before login, if so how to do that?

View 3 Replies View Related

Debian Configuration :: Create An Encrypted File And Later Mount It As A Filesystem?

Aug 24, 2010

I am trying to create an encrypted file and later mount it as a filesystem.

KEY=`tr -cd [:graph:] < /dev/urandom | head -c 79`
echo $KEY | openssl aes-256-cbc > container.key
dd if=/dev/urandom of=~/container.img bs=1G count=10
losetup /dev/loop0 ~/container.img

[code]....

The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.

View 2 Replies View Related

Debian Configuration :: Give Grub Access To Encrypted Partition

Apr 30, 2011

My partitions are set up as follows:

[code]...

I installed Ubuntu successfully using rescue mode on the alternate cd, and let Ubuntu use an internal boot and home. At the final stage grub refused to install to the MBR, and then refused to install to my /boot partition on /dev/sda2. It said: No boot loader has been installed, either because you chose not to or because your specific architecture doesn't support a boot loader yet. You will need to boot manually with the /vmlinuz kernel on partition /dev/mapper/volumegroup-natty and root=/dev/mapper/volumegroup-natty passed as a kernel argument. Returning to debian, I did a update-grub, which detects Windows and Ubuntu:

[code]...

How do I make grub decrypt the LUKS partition before attempting to load the Ubuntu kernel?

View 3 Replies View Related

Debian Configuration :: Udev Static Device Change From Wheezy To Jessie

Sep 9, 2015

I am using a 3rd party kernel driver that does not support udev properly. When I was using wheezy I placed the required device files in /lib/udev/devices.

The udev in jessie does not appear to support this. Is there any way to have udev create these device files or will I have to create then using a script at boot-up?

View 1 Replies View Related







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