Fedora Installation :: Encrypted Partition Configuration On Kickstart?
Feb 16, 2011
couldn't find anything similar on the forum.I am writing a kickstart for fedora 14 with a partition table similar to:
part / --asprimary --fstype="ext4" --size=10000 --encrypted --passphrase=pass1
part /boot --asprimary --fstype="ext4" --size=130
part /var --fstype="ext4" --size=5000 --encrypted --passphrase=pass1
[code]...
View 9 Replies
ADVERTISEMENT
Jan 31, 2011
I encrypted my /home partition in my last installation F13. For some reason, I have to reinstall F13. After I login, I can not access /home. I followed some instructions like
modprobe dm-crypt
modprobe dm-mod
cryptsetup luksOpen /dev/vg_vit/lv_home vg_vit-lv_home
[code]...
View 3 Replies
View Related
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
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
Feb 16, 2010
I need a way to get Kickstart to start on a on a specific sector. For example you can do this using parted
parted /dev/sda
(parted) mklabel gpt
(parted) unit s
(parted) mkpart primary ext2 40 -1
This will start a partition on sector 40. How can I do this with a kickstart file?
View 1 Replies
View Related
May 16, 2011
I installed an old version on accident, I used an encrypted LVM. When I removed the old debian and started the installation of the new version, the encrypted partition could not be used to install, and the drive itself was creating an error message when I tried to mount the installation there. This is probably a vague explanation of what is happening, but does anyone know how to remove these encrypted LVM partitions?
View 2 Replies
View Related
Apr 8, 2010
I have been using fedora 12 for last 6 months, recently I bought an external USB hard drive of 320 GB capacity. I made 2 partitions using the Disk Utility in Fedora. I encrypted the first partition as it was supposed to hold a lot of sensitive data, and yes it did have. Now I had to change my OS to AV linux for some audio-video editing work which wasnt being done properly on fedora due to some issue beyond my knowledge. now the problem is my encrypted partition is not accessible in my new installation. I see an empty space on my /dev/sda1. although no change to partition data has been done and the data on the second partition /dev/sda2 is easily accessible. when putting the drive on automount, is does not ask me for the password and neither does it show me the data. I have tried fdisk and sme other utilities but have failed to get my drive unencrypted.
View 7 Replies
View Related
Apr 11, 2011
I used Ubuntu for years now, but since the latest decisions got public I deceided to try something new: Fedora. I installed the system as a dualboot,Ubuntu and my old data. Because Fedora got installed inbetween of two partitions,ad to do the partitioning manually. I just made one partition /dev/sda4. During the installation process I got asked about the password for my /dev/sda1 partition. Of course, I entered it. So far so good.Now, everytime when I boot, the boot process stops and asks me for the password of the /dev/sda1 partition. However, the boot process does not go on, unless i press STRG+C.After the log in, I can also not access my data, by entering the password (GUI).The only way I can acces the data on that partition is:
Code:
su -
cryptsetup luksOpen /dev/DEVICENAME luks-fedora
[code]...
View 4 Replies
View Related
Feb 19, 2011
Somehow my file encryption password changed so when I went to re-install Fedora it said SDA-2 will not be available during installation.Is there a way to erase the whole disk including the ecrypted portion?
View 2 Replies
View Related
Dec 17, 2010
I'm wiping out / on an Ubuntu box but want to keep everything in /home/, which is mounted on a different partition. Using Code: ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase I have unwrapped the passphrase, resulting in a ~25 character alphanumeric string. Is it possible for me to install from a disk and give the installer the (current) passphrase so that it will automatically mount my home directory?
View 3 Replies
View Related
May 13, 2011
I used Windows XP's encryption to encrypt some folders on an NTFS Hard Drive.Upon mounting this drive in ubuntu, I can see all folders, and all file names, but I cannot open the contents of the encrypted files, getting "Permission Denied" despite all permissions being -rwxrwxrwx.Is there a way to open these from linux? I know the Windows XP login / encryption password.
View 3 Replies
View Related
Jul 30, 2010
Installing Debian on a new laptop and read that Debian-Installer (DI) can create an encrypted partition (/home) during installation.However, when I went through installation and started the manual partitioning (standard, non-lvm) , I am unable to locate the encryption option.
View 8 Replies
View Related
Mar 14, 2010
Can I resize an encrypted partition with gparted?
View 2 Replies
View Related
Jul 13, 2010
I keep my /boot partition on a usb stick, where i keep the keyfile as well. I already generated the keyfile and added it to the LUKS LVM partition.Right now, on bootup I get a nice GUI to enter my 40 character password which is nice but a little tedious What do i need to modify for the system to automatically unlock the partition with the keyfile that is stored on the /boot partition
View 4 Replies
View Related
Nov 8, 2009
I need to access /etc/modprobe.d on an encrypted LVM LUKS partition. I m not sure how to go about it though. Mount usually handles my mounting needs, do I need to decrypt the physical volume first? LIst of commands need would make my day.
View 1 Replies
View Related
Aug 30, 2010
I have encrypted a partition while installing Fedora 13, and I need to disable its automount - I will mount those manually.
But even though I commented out the corresponding line in /etc/fstab, I am still asked for the passphrase for the partition at startup.
How to completely disable this behaviour - and how to mount the partition manually afterwards?
View 5 Replies
View Related
Dec 11, 2010
I just picked up a 1.5TB external drive. I want to wipe the NTFS partition (I assume that's what it is) that is there and replace it with an encrypted ext4 partition.
Is there a HOW-TO somewhere for this?
View 3 Replies
View Related
May 20, 2010
Anyone had any experience with unlocking a LUKS encrypted root partition via ssh? It is ok to leave /boot unencrypted.
There are a few pages from google with the debians variants, archived by putting dropbear into initrd.
I like to do that with my fedora/centos remote servers, but struggle to find any resources specific to it. Anyone has any suggestions and thoughts as to what might be a suitable way forward?
View 2 Replies
View Related
Nov 18, 2009
I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.
View 1 Replies
View Related
Jun 1, 2010
I have not used Fedora in a long while (since version 5 I think).I am moving back to it for my new home server but there is something that is driving me completely crazy. Can you no longer do HDD installs from a ISO?I whipped out my old kickstart files and worked off of them and all seams to be OK but every time it says it is unable to find the install source.Here are the first two lines of my KS file:
Code:
install
harddrive --partition=sdb1 --dir=/linux_install/fedora/iso
[code]....
View 1 Replies
View Related
Apr 11, 2010
I am trying to kickstart the F13 alpha from a usb drive.The usb drive is labeled "disk" and is setup with extlinux and can boot fine.My laptop has one hard drive (sda) and the only other drive is the usb (sdbThe ISO is copied on the root of the usb diskI extract the boot files from the F13 Alpha ISO and copy them on the disk also
Code:
cp /mnt/ISO/images/install.img /media/disk/images/install.img
cp /mnt/ISO/isolinux/vmlinuz /media/disk/boot/Fedora/.
[code]....
View 1 Replies
View Related
May 2, 2011
Which directly is accessible during the %pre section? I try to use wget to retrieve a file from FTP to /root but after the machine is build, I don't see that file in /root directory.
View 3 Replies
View Related
Jan 25, 2010
I want to install Red hat based custom OS in a complete automated mode.I ll have my kick start file inside the CD rom and when I boot with that ISO or CD.The OS should start installing by taking parameters from the kick start file without having to specify the path of the kick start file inside the CD.like "linux ks=<path>".Is it possible to achieve this by writing any script or something so that when the CD boots the kick start path is passed automatically to the anaconda installer.
View 5 Replies
View Related
Oct 13, 2010
I have successfully setup a kickstart environment for installing the original Fedora 13 using PXE/DHCP/TFTP. Now I want to build a customized kernel and install it using the same Kickstart setup. After building the new kernel.rpm file, what are right steps to do to replace the original kernel rpm in Kickstart RPM directory, like fixing modules dependency, creating new bzImage and intrid etc?
View 2 Replies
View Related
Apr 5, 2011
I'd like to write a kickstart file that installs available Fedora 14 updates as part of the installation process, much as if I was doing a standard Fedora 14 installation and had enabled the 'updates' repo.
So my question is, is there an easy way to do this? I don't want to have to go down the route of downloading all updated packages and maintaining my own update repo (or indeed, creating a repo with the dependencies listed above).
View 1 Replies
View Related
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
Sep 7, 2009
I'm trying to set a kickstart DVD for automatically installing Fedora 10 without touching the existing data partitions on our systems. I've got a kickstart file that works great from a kickstart server however I'm having issues with creating an unattended kickstart DVD. I've attached a copy of the kickstart file from the DVD. For some reason even though all the packages we are installing are on the DVD, anaconda always attempts to connected to the internet to get repository information after completing the partitioning. I have changed the install type to 'cdrom' before anyone asks! I have removed my %pre and %post sections as these just copy in some config files and do not touch anything other than local paths.
View 3 Replies
View Related
Feb 18, 2011
I am trying to automate installs of Red Hat 5.5 x86. I have a FAT32 partition on my disk at /dev/sda1 that I want to mount to /cdrv folder of the installed OS and I use this line in the %post section for this:"mount -t vfat -o iocharset=utf8,umask=000 /dev/sda1 /cdrv"
For some reason, this does not mount the partition.onfirm using "fdisk -l>>/post.log" that /dev/sda1 is FAT32 and is the Boot partition. I can create any folders or files using the %post section but just this mounting doesnt seem to work.
View 1 Replies
View Related
Jul 7, 2010
I have using 10 system . one system RHEl5.5 server.all others are xp. I want to install linux to all systems. so I don't have configure kickstart file for dual booting . how to configure kickstart file for dual booting . but I wont lose existing xp os
View 1 Replies
View Related
Apr 2, 2010
I am successfully able to kickstart FC12 onto my system, however once anaconda runs it changes the resolution of the console when running a text mode install. Are there any kickstart options that can control this behavior?
I tried to set resolution and nofb in the kickstart configuration. I am using the text option for text install. My problem is that my remote KVM doesn't support the console resolution.
View 3 Replies
View Related