Debian Installation :: From The Live Cd - Cannot Decrypt The Partition
Jul 19, 2010
I'm trying to install debian on a encrypted partition with LUKS and LVM. I've found a good tutorial for ubuntu (here but it's in french). The idea is to create a sda1 partition for /boot and create a sda2 partition which is encrypted with luks ("cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sda2") and on this encrypted partition, I use LVM to divide it in several different partitions (root, swap, home,...).
I can do it all with the debian live cd but once it's done I need to install debian. The problem is that with the basic install cd (I use netinstall), I cannot decrypt the partition for the installation (or if I can how ?)And with the live cd, I didn't find any option to do that.
I want to customise an amnesic Debian environment (like Kali Live CD) with everything (Users, background, icons, etc.) set up to work the way I need. This OS should be inside a memory stick, and, most important, it has to have an encrypted partition I can mount and unmount whenever I want to save persistent data.
I have Lenny installed. How to create, using live-helper customized Live USB with a persistent /home partition on this USB stick, to save changes between boots?
I'dont get prompt for passphrase for decrypt luks during boot.Instead it says 'error: device name required, press any key to continue"
Grub.cfg: http://pastebin.com/GZsuXp1y kernel: linux-image-4.3.0-1-amd64 video with issue: https://www.youtube.com/watch?v=13ruhtUcwRo&feature=youtu.be VM disk has 2 partitions: sda1 with /boot sda2 - luks encrypted
All whas encrypted thrue the setup. When i log back in i check places/removeable media/25.1 GB Encrypted data. and when i press i type my password and hit enter, but it wont decrypt?
I have disk on desktop, bt i cant do anything whit it?
Other than my encrypted home directory, I am all set to switch from ubuntu to Debian.Is it sufficient to install ecryptfs-utils or do I need to setup a script or something similar for it to automatically decrypt my home directory on login?
I have install a debian jessie in my laptop, i create a lvm volume with /, /home, etc and a /boot partition outside. the i move this partition to the lvm volume and boot from it, everything it´s okay and it works.
The problem is that wen boot it ask me the passphrase to load grub, and then, when grub loads the kernel, it ask me again the passphrase.
I read that i can pass a key file to the initramfs to solve this, but where i see it, he uses mkinitcpio, and i can´´t find this package in the debian repos, it an arch package, also i tried this option [URL] ...
But it asking me the passphrase 3 times, and the third fails, the sistem starts, but i read the fail in the log.
I was wondering if it's somehow possible to install the Live USB to an ext4 partition, this because I have a 4gb filesize limit on fat32 and that means I cannot make the casper-rw any larger. And next to that I can decently manage permissions on that.
I'm trying to set-up a dual-boot (Windows XP and Ubuntu 10.04), but whenever I start the installation from a Live CD and get to the partition section it is showing that my hard-drive is has no operating system, when it in fact does. Has anyone else encountered this issue, when trying to set-up dual-booting on their system? And, if you have had this issue, what did you do to resolve it? I find it very strange, since I've never had a problem like this with any of the older releases.
This is my first time using Fedora. My previous experience is from Ubuntu. However I want to give a try for Fedora so I went ahead to install it on my new computer. Problem is that Fedora Installer (Live CD) wiped out my NTFS Partition. Causing my computer unable to recover Vista from factory DVD because it lost system partition as well. I want to know if this is my error or a bug in installer.
Original partition setup: 220 GB - Vista System Partition (NTFS) 14 GB - Recovery Partition (NTFS)
First I resized system partition under Windows Management in Vista: 170 GB - System 50 GB - Unallocated 14 GB - Recovery
Using GParted from Ubuntu 9.04 Live CD, moved recovery to the left: 170 GB - System 14 GB - Recovery 50 GB - Unallocated
Rebooted into Vista, make sure everything is fine. Then put in FC 11 Live CD, using custom layout setup in partition, intended partition layout is: 170 GB - System (NTFS) - Primary sda1 14 GB - Recovery (NTFS) - Primary sda2 200 MB - /boot (ext3) - Primary sda3 sda4 - Extended Partition 45.8 GB - / (ext4) - sda5 4 GB - swap - sda6
After I check my setup and pressed enter, it returned with unable to format /boot error: -1. Restart FC installer, it tells me that my hard drive needs to be re-initialized. I clicked no and reboot. BIOS tells me that no OS is found. Attempting to recover from factory DVD failed, telling me that system partition is gone. I want to know did I do something wrong or is this a bug in FC installer.
Well Fedora 14 sees my Emu soundcard right out of the gate with the live cd! I have windows 7 installed right now. I would like to install Fedora 14 from the live cd to have a duel boot setup. What I am trying to do is just give Fedora 60GB of the drive and keep the rest for Winows. How can I go about this with the live cd. I am sure it's been covered to death but I couldn't really find it.
I am trying to put GRUB2 on the Ubuntu partition, but it will only let me pick the first two. If I pick the Ubuntu partition in the last dialog bix, it is listed as /dev/sda-1 I also have no idea why is says "-1", because the first two are fine at 1 and 2 respectively.
I recently got new hard drives for more space and copied all my old drives onto this one (everything mirrored, no problems)The thing is, when I first setup my Ubuntu, I only allotted like 20GB because of space.Now that I have new hard drives, I wanted to give it more space, roughly double it to 50gb.The problem is, I am unable to resize it.I have booted into the Ubuntu Live CD, and started Gparted. I see all my stuff there, including the unallocated space next to my ubuntu partition (I left it so i could fill it when I expanded the partition)
The problem is, I am unable to make it larger. I right click, click on resize/move, but when I do, it just shows that I'm at my maximum size for that partition, I can only shrink it.so my question is, how in the world can I extend that partition into the unallocated space?I've tried formatting the unallocated space to ext3 to try and merge it, no success.I tried moving my ubuntu partition all the way to the right (end of the disk) so maybe I could extend it to the left, nothing
I have a PC that has 10.04 installed and no other operating system. The 1 TB hard disk has two partitions:
* 940 GB NTFS for data storage * 50GB ext4 (which has 10 GB extended and 10 GB sawp)
The system has become sluggish and slow and browsers and so on often "hang" for a few seconds prior to executing. There is an epiphany dependency problem that I cannot solve. My questions are:
1. Is it possible to do a clean install on the 50GB partition from a live CD?
2. Is it better to do this than upgrade to 10.10 and thence to 11.04? [When I ungraded like this in the past, I had problems, so I would prefer a clean install].
3. If it is possible to do a clean install on the 50GB partition, should I reformat the partition and if so, can I do that from the live CD?
Want to repartition/resize existing 1/2 full 60MB sda2 currently containing NTFS. The "Allocate drive space" does not seem to have a resize option (the 10.04 docs claim there was a resize option here). When I run 10.10 gparted in live mode gparted crashes for unknown reason before it even finishes scanning the disk. Am I missing something here? (Never tried to resize an ntfs part. with Ubuntu.) The laptop I am installing this on currently has XP that crashes a lot for unknown reasons.
I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:
/dev/sda (Samsung Evo 840)
Number Start End Size File system Name Flags 1 1049kB 3146kB 2097kB primary bios_grub 2 3146kB 944MB 941MB ext4 boot 3 944MB 94.4GB 93.4GB host lvm 4 94.4GB 1000GB 906GB guests lvm
[code]....
The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:
mount /dev/sda2 /boot aptitude purge grub-pc aptitude -y install grub-efi
After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.
When I then enter in the grub rescue shell: set boot=(hd0,gpt2) set prefix=(hd0,gpt2)/grub insmod normal normal
Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.
I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.
I'm running debian live off the cd to see if it fits my requirements. One of my pet peeves about ubuntu is the use of ctrl ctrl is hosed. the os does not seem to use it for anything, but no application can use it. This is the default for google desktop search, which is highly convenient. Seriously considering the move.I ran debian live and went to install the app. Message comes up archive type not recognised.
I copy the debian-live-7.6.0-i386-standard.iso to the usb. Now i can live boot into the usb.
I also follow the guide "10.3.1 The persistence.conf file" to make /dev/sda2 my persistence partition. When it boot up and i add the parameter "persistence" it will works. But i want to know how to make it automatically boot with the parameter?
My guess is that i have to make my own live cd then copy to the usb again. If that is it, any tutorial how to make live cd from the live cd i already downloaded?
Ok so I wanted to try out Debian, so I got the wheezy live image (gnome) via torrent. The problem is after I write the image to the USB, the computer cannot boot from it. It doesn't even display the USB in the boot menu. I've tried many ways of writing the image like dd, powerISO, UUI, imagewrite (not sure if that was the correct name) etc. Strangely enough, it works on a virtual machine via Plop Boot Manager, but not my actual PC.
My hardware isn't yet well supported on linux, so I'm looking for a live CD with 3.18 (3.19 came with a bad regression that still isn't fixed; and I need it to be a live CD so I can test before installing).
I noticed that the latest weekly build of stretch comes with 4.2. Can I find one with 3.18 somewhere?
I have a 300GB RAID0 setup that already has Windows 7 on it. I shrunk the RAID0 disk within Windows disk management to make room for a Debian install. The thing is that I don't want to screw up the MBR and screw up windows. What is the command to install once I'm in the live cd and once I get a boot loader option what should I do as I already have windows 7?
I've just tried to install Squeeze on my guest partition, using a magazine disk that offered a live CD version with installer, which I ran in text-based expert mode. The process was not a success.
1. The routine for installing grub claimed (hd0,2) was the same as /dev/hda2 2. Starting Debian's grub from the Fedora bootloader with chainloader failed 3. A conventional start revealed all sorts of problems, ending with "/bin/sh can't access tty"
I can't believe Debian could produce something like that! Has anyone here used their live CD as an installer? Tell me this mess is down to Linux Format magazine!
My laptop can't boot from cdrom becouse it is broken and it can't boot from USB becouse it has never been able. Ubuntu 8.10 now run in my laptop withgrub 1.I've just try the following trick.1) I put grub4dos in /boot2) I put iso image in /boot3) I add the follwing entrt in source.list
Code: # =========== GRUB4GOS =================================== title == Use grub4dos for the following entries: ==
Installed Debian Live 8.3.0 on my laptop .... To my surprise It did not find my Intel Pro Wifi adapter.......IWLWIFI
I needed to download the IWLWIFI package, however to my second surprise synaptic did not have it! So manually went into a repo, found it , and installed it with DPKG.
According to WIKI [URL] ....
"As the iwlwifi module is automatically loaded for supported devices, reinsert this module to access installed firmware: # modprobe -r iwlwifi ; modprobe iwlwifi"
To my third surprise , modprobe command not found. After doing some investigation, I discovered that all these commands:
lsmod(8), rmmod(8), insmod(8), modinfo(8), modprobe(8), depmod(8) have been removed and replaced by KMOD
KMOD is not a very friendly, it's kmod -- support is useless, so looked for it's manpage : [URL] ....
To my fourth surprise, there was not much support either:
KMOD(8) kmod KMOD(8)
NAME top
kmod - Program to manage Linux Kernel modules
SYNOPSIS top
kmod [OPTIONS...] [COMMAND] [COMMAND_OPTIONS...]
DESCRIPTION top
[Code] ....
HTML rendering created 2016-03-15 by Michael Kerrisk, author of The Linux Programming Interface,
So far I am very disappointed with this latest DEBIAN 8.3.0 edition
--no driver included for a very common IWLWIFI (used by 13 adapters) --utilities to add drivers removed ( lsmod(8), rmmod(8), insmod(8), modinfo(8), modprobe(8), depmod(8)) --the so called "replacement" KMOD is poorly documented and totally useless
I downloaded this squeeze live rescue iso and burned to CD.[URL].. When it boots, I get a text login screen prompting for username... Problem is, I cannot find anything on google that gives me a working u/p combo... I have tried a variety of these for username/passwords: live, rescue, user, linux, password.
A Linux user for about 10 years, distro hopping for half of them. Finally found peace with PCLinuxOS (great distro), and MintLinux. When Mint went over to Debian, I thought why not try the original, so here I am.Booted the dvd, checked everything was working well (excellently, actually), and started the install over an existing PCLinuxOS system (dual booting with XP). First time installed while inside the gnome system, from the desktop icon, second and subsequent times from the welcome screen after boot (only text modes were available).In all cases, everything goes fine until I partition and install the packages. Partitioning is no secret to me, unless there is a "Debian way" of doing it: went through "guided partitioning," and chose the existing PCLinuxOS partitions, 37 Gb for /, ext3 (tried ext4 later with same results), and 2 Gb for swap, both on sda (sda1 and sda5). This is a full hard-disk, just for Linux. The other disk is for XP (sdb).
Tried formatting existing partitions, erasing contents of disk, and keeping as is. In all cases, when partitioning is done, the system installation fires up and I see all packages being transferred (up to 100%). Then I have a pop-up window telling me to continue to package manager, which I do, but then I get a message saying that I am trying to install on an "unclean target," over an existing installation (even after fully erasing the disks). It asks whether to continue or not and, whatever I do, I'm taken back to system install again, and see the progress go up to 100% and the same question again.
If I go back to the install menu and ignore the message, jumping to installing grub, I get an error message saying that grub install has failed, and that's it. I can't progress further because of these error messages.If I ignore all and boot without the live dvd, I get a prompt and nothing else, and I can't even use XP. Basically, I'm stuck unless I install another distro again to have a working system.First searched this forum and Google to get answers to this problem, but couldn't find anything applicable to my case.
I burned an .iso of a recent Squeeze Live DVD - KDE edition. I was checking it out but I'm not sure it's reliable for installing.I was wondering if anyone has tried it or could comment.I noticed a few things that was a bit disconcerting.One, there were a lot of 'question marks' in the kickback menu.Is that normal?Two, when you (I) try to reboot the system or otherwise 'leave' the live state, it doesn't reboot properly.Some distributions will 'shut down' and then give you a prompt for taking out your CD or DVD and then there is some script or program that reboots the machine for you. But, the Debian Live DVD I used didn't do that. It's a recent one, dated Dec. 20.What happened is that it just looped back and re-started.There was no prompt or even much of a delay. I couldn't open the optical drive tray at any time.I had to cold restart the machine so I could take the DVD out.
I was disappointed since I thought it is a good project and a worthwhile venture to try and have a live media option for installing the later editions of Debian such as Squeeze or if they can keep up progress, whatever edition it's at.I am a bit hesitant to try this version for a true install so I am wondering what others say.I thought I should go for the 'desktop Squeeze/Testing AMD-64-KDE' CD ISO instead?There's no live media but I have tried the live DVD so it looked okay other than the two issues mentioned.