Fedora :: Kernel Compile With Encrypted File System?

Dec 9, 2009

I am trying to replace just the kernel (no modules) for my default kernel on FC 11. I use the default .config file and just change a few things and then run the make command. After I replace the kernel and reboot the system the password comes up for the encrypted filesystem and it does not take my password for some reason. what I need to do to get this working?

View 1 Replies


ADVERTISEMENT

Fedora :: Find Kernel.spec File For Compile Vanilla Kernel?

Nov 29, 2010

i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file

View 4 Replies View Related

Fedora :: Can't Enter Password For Encrypted File System

Jul 27, 2011

I just upgraded from F14 to F15 and have a problem with entering the password for the encrypted FS: when booting with the latest entry in the bootloader:

Quote:

kernel /vmlinuz-2.6.38.6-26.rc1.fc15.i686.PAE ro root=/dev/mapper/vg_anonymous-lv_root rd_LUKS_UUID=luks-3ef72221-1165-46a6-ab69-3932e22e9d4f rd_LVM_LV=vg_anonymous/lv_root rd_LVM_LV=vg_anonymous/lv_swap rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=de
initrd /initramfs-2.6.38.6-26.rc1.fc15.i686.PAE.img

[Code]....

View 1 Replies View Related

General :: Shortcut To Compile Kernel File?

Nov 5, 2010

I become successful to download kernel, compile it and run it.BUTWhen i modify tcp.c file or any other file in this /usr/src/linux/net/ipv4 location, (just modifying c files) i have to compile the complete kernel every time, which is very time consuming procedure.So Please help, How to compile that net/ipv4 package or etc.

View 5 Replies View Related

SUSE :: Encrypted Root File System On LVM

Jul 12, 2010

I try to encrypt root file system on Opensuse 11.1 and I have found up to two possibilities.

1. [url]

2. [url]

In the first case, i have a Problem with entering password, for each partition on encrypted disk, i must enter my password.(For 3 partition 3 times)

And in the second version to get i nowhere.

Code:

View 5 Replies View Related

Debian Configuration :: Change The Driver File And Compile Custom Kernel

May 3, 2011

When I only change a driver file manually, for example /newkernel/linux-source-.6.32/drivers/gpu/drm/i915_drv.h, do I need to run "make config" or similar like "make menuconfig" or can I just skip? I mean these steps:

1.) apt-get install linux-source-2.6.32
2.) mkdir ~/newkernel/
3.) cp /usr/src/linux-source-2.6.32.tar.bz2 ~/newkernel/
4.) cd /newkernel/
5.) tar xjf linux-source-2.6.32.tar.bz2
6.) cd linux-source-2.6.32
7.) cp /boot/config-$(uname -r) ./.config yes "" | make oldconfig
8.) change the driver file /newkernel/linux-source-2.6.32/drivers/gpu/drm/i915_drv.h manually
8.) make-kpkg clean
9.) make-kpkg --rootcmd fakeroot --initrd --revision=custom.001 kernel_image kernel_headers
10.) dpkg -i *.deb

Is this way OK or do I miss something?

View 14 Replies View Related

General :: Running A Web Server With An Encrypted File System (all Or Part Of It)?

May 5, 2010

I need a webserver (LAMP) running inside a virtual machine (#1) running as a service (#2) in headless mode (#3) with part or the whole file system encrypted (#4).The virtual machine will be started with no user intervention and provide access to a web application for users in the host machine. Points #1,#2 and #3 are checked and proved to be working fine with Sun VirtualBox, so my question is for #4:Can I encrypt all of the file system and still access the webserver (using a browser) or will GRUB ask me for a password?If encrypting all of the file system is not an option, can I encrypt only /home and /var/www? Will Apache/PHP be able to use files in /home or /var/www without asking for a password or mounting these partitions manually?

View 2 Replies View Related

Fedora :: Kernel Error With Encrypted HDD

Oct 12, 2010

i installed Fedora13 a couple of days ago and also activated the encryption of the hdd. But after updating my kernel yesterday, my PC doesn't boot with the new kernel. Choosing the old one still works, so I have still acces to my Files. But how can I use the new kernel? Or how can i completely and forever decrypt my HDD? The whole hdd is encrypted, so the boot and the home stuff isn't accesible without the key. Thats pretty depressing because I felt really intelligent when enabling the encryption

View 2 Replies View Related

Debian Installation :: Encrypted LVM Install - No Root File System Detected

Jun 1, 2013

I'm a long time user of Debian, but I'm having trouble with my partitioning process. Here is where I currently stand:

I am installing the latest Wheezy build. I am trying to install debian with an encrypted LVM that spans two hard disks.

My partitioning layout is as:

1. /home
2. /root
3. swap
4. /boot

I then added partitions 1, 2 and 3 to a physical volume group. I then took that physical volume group and added it to a logical volume. Then I encrypted the logical volume, leaving the /boot partition untouched. I was under the assumption that the only partition the system needed free to reach the loading of the LVM is the /boot partition, as it holds the files necessary for booting. But when I attempt to finalize the disk, it gives an error stating, "No root file system detected". That would be an issue as it is currently sitting inside the encrypted LV. Am I wrong in including the root partition in the encrypted LV?

What is the best way of having as little of my file system non-encrypted as possible while still allowing a proper boot?

View 9 Replies View Related

CentOS 5 Server :: Unattended Reboot With An Encrypted Root File System?

Mar 31, 2009

Centos 5.3 includes Ext4 and improved support for encrypted file systems but it appears to be aimed at laptop/desktop systems, in that a password must be entered at boot time.

Is it possible to have a server with an encrypted root file system boot up without entering a password?

Mandos will do it...
http://wiki.fukt.bsnet.se/wiki/Mandos
...by serving up the password from another server...
http://packages.debian.org/squeeze/mandos
...to a client loaded into the initial RAM disk environment...
http://packages.debian.org/squeeze/mandos-client
...but it's not available on CentOS, and is only in Debian unstable.

Is there a similar (or any) solution for CentOS?

In particular, I'm envisaging encrypted virtual machines being served passwords from their virtual host.

Alternatively, the data that *really* needs to be protected could be encrypted while the system core remains unencrypted. But then the keys to decrypt the file system must be stored in the unencrypted portion, so this is not an effective method.

View 3 Replies View Related

General :: Compile Kernel 2.6.31 On Fedora 12?

Jan 1, 2010

i tried to compile linux kernel 2.6.31 on Fedora 12: the make , make modules and modules install ran successfully but problem with make install while trying to create image it looks for mkinitrd command which is not available i downloaded and installed the mkinitrd pckg and make install was now successful i got kernel img and initrd img in /boot

also grub was updated properly but i m not able to boot up the new kernel the problem the initrd seems to be and uknown type file to fedora core and the current kernel has initramfs img with a .cpio extn instead of initrd

View 3 Replies View Related

General :: Compile Kernel On Fedora 10?

Apr 5, 2010

so my problem is how to recompile my kerenl with TUN/TAP driver,i got how to compile the kernel with TUN/TAP driver every thing is going OK, when i run the commends , just in the last commend when i reboot my laptop i choose grub to enter on new kernel , but when i choose it , i got black screen .so please help me to solve this problem , for more information about my laptop , i have just one partition my root is (hd1,1). my ram is 2G, speed 2GHZ, i use Linux-2.6.27.42, but the new one is the last kernel available in website. i am in rush please inform me as soon as possible,

View 10 Replies View Related

General :: How To Compile A Kernel In Fedora

Jul 6, 2010

i have downloaded .src.rpm file from net.i dont know how to compile that.can u tell me the basics of linux kernel compilation.how to compile a kernel. how to install or modify the existing running kernel with tat. etcI am using fedora 12 it has 2.6.31.5-127.fc12.i686.PAE

View 5 Replies View Related

Ubuntu Security :: Right Click - Automatically Get The Encrypt Process To Delete The Un-encrypted File When It Makes The New Encrypted Copy?

Jan 5, 2010

I've just started using ubuntu one. However, some of the files I store on there are sensitive so I encrypt them using seahorse. Right click, encrypt etc etc. My question is, is there a way to automatically get the encrypt process to delete the un-encrypted file when it makes the new encrypted copy?

View 6 Replies View Related

Fedora :: Modules Not Being Compiled With 14 Kernel Compile?

May 8, 2011

I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:

sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage
System.map "/boot"

[code]...

View 5 Replies View Related

General :: Unable To Compile A Kernel 2.6.29.1 On Fedora 14

Feb 14, 2011

i was trying to install kernel 2.6.29.1 on fedora 14 but it is giving error. First download a package with kernel and i saved in home/user/linux. Afterwards i can extract this package.

1.tar -xvzf linux-2.6.29.1 -C /usr/src
2.cd /usr/src/linux-2.6.29.1/
3.make menuconfig
4.make
5.make modules_install
6.make install

after above steps i got this error.

ERROR: modinfo: could not find module ip6t_REJECT
ERROR: modinfo: could not find module nf_conntrack_ipv6
ERROR: modinfo: could not find module ip6table_filter
ERROR: modinfo: could not find module ip6_tables
ERROR: modinfo: could not find module ipv6
ERROR: modinfo: could not find module fuse

however it gives initramfs,vmlinuz-2.6.29.1 and System.map-2.6.29.1 in /boot folder and menu.lst in /boot/grub is updating according to new kernel. when i reboot my machine and selects the kernel 2.6.29.1 it shows FATAL:kernel too old [1.591633] Kernel panic-not syncing:Attempted to kill init

View 6 Replies View Related

Fedora Hardware :: Compile Moxa (5100) Driver In Fedora 12 , Kernel <= 2.6.30

May 13, 2010

i want to compile Moxa (5100) driver in Fedora 12 , kernel <= 2.6.30 but now when i run command i see this error :

Code:
ln: creating symbolic link `libssl.so': File exists
make -C /lib/modules/2.6.31.5-127.fc12.i686.PAE/build SUBDIRS=/home/AAA/moxa modules
make[1]: Entering directory `/usr/src/kernels/2.6.31.5-127.fc12.i686.PAE'
CC [M] /home/AAA/moxa/npreal2.o
/home/AAA/moxa/npreal2.c: In function �npreal_open�:
/home/AAA/moxa/npreal2.c:1000: error: implicit declaration of function �task_session_nr
make[2]: *** [/home/AAA/moxa/npreal2.o] Error 1

[Code]...

View 9 Replies View Related

Slackware :: Compile 2.6.37 Kernel Patched With The Autogroup Patch On A Slackware 13.1 System?

Jan 13, 2011

it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??

View 1 Replies View Related

OpenSUSE Wireless :: Ndiswrapper 1.55 Won't Compile - "The Program 'kernel-headers' Is Missing On Your System"

Jan 24, 2010

I am using Opensuse 11.2 on an HP Pavilion laptop. The internal wireless (Broadcom device) quit on me - It is no longer detected at boot so I assume it is dead. No problem since I have a D_Link USB adaptor (DWL-G132). To get it working however I need ndiswrapper. I then installed ndiswrapper 1.55 and the user interface supplied with Opensuse. Problem1- The interface says "The program 'kernel-headers' is missing on your system".

I have checked with Yast and the kernel-headers are installed. Problem2- I have downloaded ndiswrapper 1.55 from Sourceforge.net to attempt the traditional installation method. The 'make' command returns the following message: "Cannot find kernel version in /lib/modules/2.6.31.8-0.1-desktop/build, is it configured?."

View 9 Replies View Related

Fedora :: Get A Proper Config To Compile A Vanilla Kernel?

Jun 29, 2011

Im using a Fedora 15 and im trying to compile a 3.0.0rc5 kernel. but im unable to get a config for my machine to boot up. i tried make localmodconfig it says

using config: '.config'
capifs config not found!!
Restart Config

and then i tried cp /boot/config-2.6.38.6-26.rc1.fc15.i686.PAE .config to override the default config but stil that doesnt work. work around to get a proper config so that i can boot the latest kernel here?

View 1 Replies View Related

Fedora :: Compile A Vanilla Kernel On The Easy/lazy Way?

Apr 29, 2010

I thought I would give some instructions on how I compile my kernels. My long-time windows user parts trader recently asked me how to compile a kernel on Fedora. He was confused with all the tutorials requiring you to build an RPM, so I showed him how I do it, the standard/easy/lazy way. Before I start, here are a couple things I assume. I assume you are a Fedora user and that you are NOT in text mode, but in GNOME. I also assume you realize that this can take up to SIX HOURS on an old Pentium 3 1.3Ghz. Remember that some proprietary drivers as well as some free ones are not included in the kernel, so make sure you don't delete your existing one.

First get the dependencies you need.
su -c "yum -y install gcc ncurses-devel"

Next get the kernel source. I use 2.6.33.3 as an example. To download it, click here.Extract it by right-clicking on the file and then choosing extract here. This will take about five minutes. Now open a terminal, become root, and cd to the directory linux-2.6.33.3. It is important to cd here and not to the kernel directory inside of there, even though make has an extra variable that specifies there.

Now we need to configure the kernel before we build it with make O=kernel menuconfig. It will take a couple minutes to set up, then you will be presented with a cheap psuedo-gui in your terminal. Just select exit and yes to save your config. You usually don't need to change anything here.

Ready to compile and install? Remember this can take up to six hours, and your machine may become VERY slow. It is not recommended that you attempt to use your machine with this in progress. OK then. As root, in the same directory, type:

make O=kernel && make O=kernel modules_install install. This will compile the kernel and install the kernel and it's modules. Done? Now change the kernel and initrd in your bootloader to match the new kernel. If you ever want to reuse the same source code folder, use make mrproper to clean things up and build it again.

View 6 Replies View Related

Fedora Installation :: New Install Fedora 10 Need To Compile Kernel?

Apr 13, 2009

I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.

View 12 Replies View Related

Fedora :: Use Rpmbuild To Compile Kernel Without Re-compiling Unchanged Module?

Apr 20, 2011

Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time

View 13 Replies View Related

Fedora :: Kernel Compile Error : No Rule To Make Target `missing-syscalls'?

Dec 13, 2009

I am trying to compile a kernel in the following directory:/usr/src/kernels/2.6.30.9-102.fc11.x86_64

Note I am not trying to build an rpm but just do a simple make. After configuring with make menuconfig I issue the make command and get the following error:

Code:
[root@compaq 2.6.30.9-102.fc11.x86_64]# make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'. Stop.
make: *** [prepare0] Error 2

how to resolve this error? It seems to be fedora-centric.

View 4 Replies View Related

Fedora :: Unable To Compile .cpp File?

Jan 31, 2011

unable to compile a simple C++ programme (.cpp file), on compiling the file with gcc or g++ the following error is displayed, but the above command works in Redhat EL. the error message is:"fatal error: iostream.h: No such file or directorycompilation terminated."an anybody suggest to compile a C++ programme in Fedora 14.

View 10 Replies View Related

Red Hat / Fedora :: Compile A Tar.gz File In Centos5?

Jan 18, 2010

howto compile a tar.gz file in centos5ORhow can i create rpm from tar.gz file

View 1 Replies View Related

Fedora Security :: Image An Entire Luks System Encrypted Volume And The Rest Of The Used HDD, The MBR And /boot Partition?

Jan 21, 2009

I need a FREE solution that can image an entire Luks system encrypted volume and the rest of the used HDD, the MBR and /boot partition. Note: MBR and /boot are not encrypted. Note 2: I want to be able to restore entire drive from image with only a couple of steps. Note 3: Destination HDD space is a factor. Image file must be compressed and the image file must be around 40 to 50 GB or less. The smaller the image the better.

I have used clonezilla live cd before but not for encrypted volumes. I know you can install it in Linux. But, I don't know how to configure it after installation. I would be very happy if someone could tell me how to configure clonezilla in Fedora. How to guides are also welcome. I have one more question. If I image the encrypted volumes and all the stuff I mentioned above while logged in to Fedora, and I restore the drive from the image, will the recovered drive still be encrypted?

View 8 Replies View Related

Fedora :: 0 Byte Initrd File In Kernel Kernel-2.6.27.25-170.2.72.fc10.x86_64

Jul 13, 2009

I'm I seeing this wrong or is the initrd file in kernel-2.6.27.25-170.2.72.fc10.x86_64 a zero byte file and that's why I can't boot with it( get this "kernel panic not syncing VFS unable to mount root fs on known -block (0,0)" message)

View 2 Replies View Related

General :: Relationship Between Kernel And File System

Apr 15, 2011

Recently,I am learnning about the LFS and I can not understand the relationship between the kernel and file system !!It is so annoyed because I want to understand the LFS deeply.who can describe the relationship between them!and who can give me a simple example?

View 1 Replies View Related

Fedora Servers :: NFSD Won't Compile In Kernel - FATAL: Error Running Install Command For Nfsd

May 24, 2010

I'm runing FC11 and have compiled the vanilla kernel 2.6.33.4 to support Dazuko. It has broken my NFSD server in the process, and I can't figure out why. I get these errors on boot. FATAL: Module nfsd not found. FATAL: Error running install command for nfsd

[code]....

View 2 Replies View Related







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