Debian Installation :: Live System Working With Encrypted Persistence

Oct 28, 2014

I tried a while getting a live system working with encrypted persistence. The command

Code: Select alllive-persistence activate /dev/sdx2

works perfect, but boot time persistence works only for unencrypted storage. 'Cause I can not append the boot-log as file the most important part here:

Code: Select all+ tailpid=123
+ tail -f boot.log
+ cat /proc/cmdline
+ LIVE_BOOT_CMDLINE=BOOT_IMAGE=/live/vmlinuz boot=live noeject keyboard-layouts=de components persistence persistence-encryption=luks,none initrd=/live/initrd.img debug=true
+ Cmdline_old
+ PERSISTENCE=true
+ export PERSISTENCE

[Code] ....

The most confusing line is "Warning: cryptsetup is unavailable" - I took a look into the scripts, it checks if cryptsetup and askpass is executable if not this message. But:

I mounted the hdd-img file local and took a look: all binaries there.

So I tried a lot getting it working on boot time. I tried it with live-tools from testing, from wheezy and last but not least installed and pinned live-tools to unstable. Always the same. askpass isn't executable on boot time before mounting the persistence.

Config is
Code: Select alllb config noauto
    --apt apt
    --bootstrap debootstrap
    --binary-images iso-hybrid
    --distribution testing
    --mirror-bootstrap http://ftp.debian.de/debian/

[Code] .....

(tried with binary-images=hdd, too)

and yes, cryptsetup is inside package-list (otherwise live-persistence from within running machine with crypted partitions would not work). Live tools I used for last run is 4.0.3-1 from unstable, before tried with 4.0.2-1 from testing.

Whats going wrong in boot system?

View 12 Replies


ADVERTISEMENT

Debian Installation :: Live USB With Persistence

Oct 19, 2014

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?

View 6 Replies View Related

Debian Installation :: 8.1 Live USB Drive With Persistence

Jun 18, 2015

I have searched but have not found a successful way of generating a USB drive with persistence using Debian 8 Live USB.

I have an 8 gig USB drive that I would use 4 gigs for the persistent drive.

View 12 Replies View Related

Fedora Installation :: F15 - Live USB And Persistence File

Jul 9, 2011

I have created a Fedora 15 live usb using LiLi-Usb with a persistence file of 2048mb, on a 4gb flash drive. What I would like to know is two things, will this allow me to update Fedora 15 on the flash drive?, and later, if I chose to install to the hard drive, will the updates cross over?

View 4 Replies View Related

Fedora Installation :: F14 Live With 1024 Persistence File

Aug 7, 2011

Just wondering, I am using Fedora 14 live from a 4gb usb with 1024 persistence file. With this file will I be able to do updates in yum or packagekit.

View 4 Replies View Related

Ubuntu Installation :: Create A Live Disc On The SD Card With Persistence Options?

Jun 18, 2010

I have an Eee PC with a dead Hdd. I brought it back to life by installing Ubuntu 10.10 on a 16GB SD card. It works 100% but is sluggish.Now I am wondering, from the standpoint of reducing SD card access and writes, would it have been better to create a Live Disc on the SD card with persistence options? What I am thinking is that a Live Disc is designed to run out of RAM, and would thus reduce the activity on the SD card. The only thing this netbook will get used for is the internet. It is a netbook, so the performance is limited, but as far as netbooks go, it is top of the line with dual core and discrete nvidia graphics.

View 1 Replies View Related

Ubuntu Installation :: Load Up Multiple System Flavors On To USB Drive With Persistence?

Sep 22, 2010

Is there any way to load up multiple linux flavors (such as ubuntu and its variations, backtrack, dsl, desbian,ect..) on to a USB drive with persistence?

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

Ubuntu :: 9.10 Live USB - Login Persistence

Jan 8, 2010

I've completed the creation of a Live USB 9.10 install/configuration. I'm booting from a 16GB Flash USB now, with just about everything working, audio, video, wireless, etc. I'd like to remove some of the "live" features of the OS now, to make it more a bootable 9.10 full install. The first step, is to remove the auto-login feature of the live setup. I tried setting a password on the ubuntu user, but it still auto-logins.

View 6 Replies View Related

OpenSUSE Install :: How To Make Live Usb With Persistence

Mar 13, 2010

I am trying to make Liveusb with persistence i downloaded live gnome version which is in .iso format i also downloaded win32diskimager mentioned on this page Live USB stick - openSUSE but it only .img files i also tried unetbootin ,there is no option for 11.2 version my laptop doesn't have cd/dvd drive so to install on hardisk i have to do it by usb,so i thouht of going for live usb. are there any alternatives

View 9 Replies View Related

Ubuntu / Apple :: Create A Live USB With Or Without Persistence For Mac And Pc?

Jun 7, 2010

First things first, you will need:1GB or larger flash drive rEFIt (Link at the bottom) A linux installation, virtual machine, or live cdA Mac OS X installation/installation disk Administrator permissions gparted (comes on most linux live cd's) hfsplus/hfsprogs for hfs+ support in linux Alright Step one (in linux):Format your USB key with an MBR partiton table. Add an 8MB ext3 partition named "GRUB" for simplicity. Add a 16MB hfs+ partiton. Use the rest of your disk as FAT32. Step two (also in linux):Mount your ext3 GRUB partiton Open terminal and do "sudo grub-install --root-directory=<mountpoint> /dev/myusb", of couse replacing <mountpoint> with the mount point and myusb with the correct sdX. If you get an error saying that there is no bios boot partition (which you shouldn't), open gparted and select the grub partition and select the flag "bios_grub". Close GParted if it is open and reopen it.

Set the boot flag on the GRUB partition. Copy all of the contents of your live cd iso or cd (including the hidden folder ".disk") to your fat partiton. Skip the following steps in the step two if you don't want persistence In terminal create a zero'd out file called casper-rw in the fat partiton with "dd if=/dev/zero of=/media/LIVE/casper-rw". Replace the /media/LIVE with the mountpoint again.

Now type "mkfs.ext4 /path/to/casper-rw" and follow the instructions if there are any Step three (in mac):Open the rEFIt dmg and copy the "efi" folder to the hfs+ partiton. Locate the file called "enable.sh" in the efi folder Open a terminal and type "sudo " and then the path to the enable.sh. (You can find it by dragging the file into the terminal) Step four:Reboot your computer holding the option key Select rEFIt on your USB drive (If it doesn't appear take it out and plug it back in or boot all the way up and then reboot again) Select "Linux on HD" that has a picture of a flash drive on it. You will now be at the GRUB prompt, so type the following:

Code:

root (hd0,3)
linux /casper/vmlinuz boot=casper persistent
initrd /casper/initrd.lz
boot

Of course take out the persistent part if you didn't use the persistence file. [URL]

View 9 Replies View Related

Ubuntu :: Create Live USB With Persistence Without Usb-creator?

Jun 16, 2011

I've tried using usb-creator to create a persistent live USB of Ubuntu 10.04 32-bit, but the program is useless. There's a bug in the program that greys out the options to enable persistence (see here for bug info). I tried workaround #4 listed in that link, but that didn't work either. When I selected another .iso which I moved to the /tmp directory as stated, the "Make Startup Disk" option then became greyed out as well. It'll make a bootable live USB but I need persistence. Is there a good way to do this without using that program And I tried Unetbootin twice, and it wouldn't boot the live system at all. After seeing the Ubuntu splash screen it just stalled at a black screen forever.

View 1 Replies View Related

Slackware :: ClutchOS V12.2 A Pure 12.2 Live CD / USB With Persistence

Feb 27, 2010

why another slackish distro? Mine (will be) better than most Please try it before you criticize it It is quite unique in many ways I really did it to show how easily one can make their own 12.2 install into a live distro So, it is a proof-of-concept thing Desktop: My own JWM creation heavily based off Vector's JWM Display manager: Slim from Slackbuilds Packages: All pkg's are 12.2 slack, sbopkg's, and slapt-get/gslapt from Slacky, some others converted from absolute/salixos/source. I custom built the JWM desktop, systray-volume-control, and many from-scratch scripts.

Heres some of the pkg's Games: Xgalaga sbopkg Graphics: Gimp, Imagemagick Office: Abiword, Gaiksaurus, Xcalc Multimedia: Mplayer, XMMS, Audacious, Alsamixergui, Pulsaudio Alsaplayer, Isomaster Misc: Roxterm,rox-filer, PCMANFM, lxterminal, lxtask, leafpad xarchiver, catfish, lxappearance, nitrogen System: Gparted, ddrescue, testdisk, Gnome net tools, WICD wifi-radar, Gslapt, Network: Firefox, dillo, xchat, gftp, grsync

[Code]...

View 13 Replies View Related

Fedora Installation :: Does Live USB Creator Create A Working System For Windows 7?

May 12, 2010

Before going too far it may be simplest to answer the question "Does Live USB Creator create a working system for Windows 7?" If not then don't bother reading further. I have installed Live USB Creator on a 32-bit Windows 7 computer but when I run it I can't for the life of me get it to recognize any type of drive. I've read and tried the instructions of using the command line with the --force [drive]: but that has no effect Maybe I am misunderstanding this whole program. From what I read about it, this program will create a working Windows system, place it on a USB stick and then run Windows on a different computer. In my application I would like to run it on my work computer which has Windows XP. If this application should work then will I have complete access to all my computer drives and files and the network/internet? I imagine I would need to install all necessary programs so that I could use them in Windows 7 and would I need to install those programs on the USB stick or could they be on a local hard drive?

View 1 Replies View Related

Debian Installation :: Persistent Live Jessie System On 8GB USB Drive

Oct 28, 2015

I'm trying to create a persistent live Jessie system on my 8GB USB drive.

If that matters, I'm currently on an Arch Linux system, and I partly followed what's on the relative wiki (Pages Create a new MBR for a USB stick, Manually create a USB flash installation and Install Syslinux), plus a CrunchBang post explaining how to make a persistent live USB out of any Jessie-deriving distro (like their BunsenLabs Hydrogen).

The problem is, even if Debian boots up more than fine, the system isn't persistent at all.

Here's what I did (I know some passages are redundant, but still...):

Downloaded the Cinnamon flavor of Jessie via torrentErased the old MBR

Code: Select all# dd if=/dev/zero of=/dev/sdb bs=512 count=1 && syncCreated a 1.1G W95 FAT32 (LBA) active partition and used the remaining space on a Linux partitionFormatted the first to FAT32 and labelled it "Debian64". Formatted the second to ext4 and labelled it "persistence"
Code: Select all# mkfs.vfat -n Debian64 /dev/sdb1
# mkfs.ext4 /dev/sdb2 -L persistence
Mounted the first partition and the iso

[Code] ....

View 5 Replies View Related

Debian Installation :: Get Grub2 To Boot A Live System From Hard Disk

May 8, 2011

I have been frustrated attempting to get Grub2 to boot a Debian Live system from hard disk. Have set aside a 4gb partition /dev/sda1 to contain the Debian Live and some other recovery tools. I actually have them all working from a 4gb USB stick successfully, but getting it to work on my HDD has proved challenging. On USB, I have PartedMagic, Gparted, Grml, and of course my standard 6.01 Squeeze. I have also managed to get the Debian Live booting from that USB stick. Very slick.

However, I can NOT get Debian Live to boot from my HDD; altho all of the others above boot fine. Have tried it two ways - one using an iSO image, which is how it is done on my USB stick. The other attempt is to copy the entire contents of the ISO to a directory.

Here are my directory structures:

debian_live_gnome_squeeze_i386- contains the following: debian-live-6.0.1-i386-gnome-desktop.iso initrd.gz initrd.img vmlinuz which is how it is laid out on my USB stick debian_live - contains the files from the ISO image The error I get is something like "panic unable to find live filesystem" My grub.cfg snippet for the two methods I have tried - the 2nd menuentry is similar to how it works on the USB stick.

menuentry "Debian 6.01 Live (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root=(hd0,msdos1)

[code]....

Probly don't really need to get it working since PartedMagic can do almost everything I need for recovery and I can use the USB for reinstall or whatever else.

View 8 Replies View Related

Debian :: Live Cd Login Info / 'user' And 'live' Are Not Working?

Nov 9, 2010

I can't seem to find this anywhere. I have burned Debian 5.06 for i386 and trying to login when running the live cd. What is the username and password to get in?

edit....
I found 'user' and 'live' but they don't work.

View 10 Replies View Related

Debian :: Making LiveDVD Of Encrypted System

Aug 23, 2015

I have a system which i installed on usb flash (doesn't matter why). The system has 3 partitions: "boot", "/" and "swap". "Swap" and "/" are encrypted by LUKS. "Swap" is encrypted by random key, "/" - by passphrase.

I created this system only to make a liveDVD from it (not liveUSB).

To achieve this goal i installed program called "Systemback" (fork of Remastersys).

Links:
[URL] ....
[URL] ....

So i pushed the button 'Create live system' (or Live system create, don't remember exactly) and configured it to automatically convert .*sblive to .*iso

Program made it's work and i burned image in DVD.

But when i launch it i have this:

The last picture - is when i trying to startliveDVD with installed LVM2. No difference except one message.

I went to freenode and ask some questions. Somebody told me that maybe the problem is in LVM. But LVM was already installed, so i installed LVM2. No result.

How can i make the system that is encrypted by LUKS work from DVD? And is it really possible? Maybe systemback doesn't support feature to make live-image of encrypted system?

The system is Debian 8.1.0

I did the same with nonencrypted system - result is succesfull, liveDVD works.

View 5 Replies View Related

Ubuntu Installation :: 11.04 Live CD And Live Stick Not Working

Apr 28, 2011

Live CD: I dowloaded the ISO, burned it to CD, booted from this CD. It starts to load and I can see the purple background with the loading icons. Everything seems normal. But instead of ending up with the login screen, it ends up with a screen that says 'Please remove all bootup media and hit ENTER' or something like this. So I hit enter and then it shuts off my computer. That's it.

Live Stick: So I tried another option and created a stick with 'usb-creator.exe' that is on the CD. Then I start from that stick, but all I end up is a line of 'Syslinux bla bla copyright 20xx-2011'. That's it. Then it does nothing anymore. The cursor is blinking, but no prompt or whatsoever and keyboard input doesn't do anything.

Now something weird: When I insert Live CD and Live Stick at the same time and then boot my computer, then it boots into Ubuntu. Obviously it loads the first parts from CD and then the rest from stick. Because when I'm then in Ubuntu and try to format the stick, it says it can't do so, because there's system files from that stick in use.

View 5 Replies View Related

Debian :: Mount Encrypted LUKS Partition (On Former System HDD)

Feb 1, 2016

I have two basically identical harddrives that are encrypted with LUKS containing a complete debian installation:

Code: Select allroot@x200s:/home/b# lsblk --fs
NAME                   FSTYPE      LABEL UUID                                   MOUNTPOINT
sda                                                                             
├─sda1                 ext2              0b851969-281e-4db2-8a5b-3798e801711b   /boot
├─sda2                                                                         
└─sda5                 crypto_LUKS       cfcf63ef-448a-4f72-9f58-8f7731cf3dfc   
  └─sda5_crypt         LVM2_member       21CS3f-SQeQ-XcMr-kyDs-OPtR-egmT-HkvJAu

[Code] ....

sda is what I currently run to write this text, sdb is my former harddrive, connected via USB.

I want to access the root partition on sdb.

The problem is:

Code: Select allcryptsetup luksOpen /dev/sdb5 oldhd
Enter passphrase for /dev/sdb5:
root@x200s:/home/b# ls /dev/mapper/
control  oldhd   sda5_crypt  x200s--vg-root  x200s--vg-swap_1
root@x200s:/home/b# mount /dev/mapper/oldhd /mnt/
[b]mount: unknown filesystem type 'LVM2_member'[/b]

[Code] ..

Before all this, both sda and sdb where in the same volume group. I renamed the volume group of sdb to "oldDisk"
using

Code: Select allvgrename <UUID> oldDisk

How I can access the data on the root filesystem of my sdb..

View 2 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 :: Make System Ask Password For Encrypted Partitions Only Once Not For Each Of Them?

May 29, 2011

I have installed debian 6 on two of my laptops. During installation I chose to encrypt my partitions (swap, root and home). Now I find it annoying that during boot up I'm asked for password, for each of these partions seperately. I have given same password for all three of them. How can I make the system ask for the password only once. I know it can be done because on fedora it was like that before.

View 5 Replies View Related

Ubuntu Installation :: Lost Grub MBR On Encrypted System

Mar 6, 2010

During a repair windows did overwrite my grub MBR for it's own bootloader. Now how do I get back to my encrypted ubuntu?

View 5 Replies View Related

Debian :: How To Get Persistence - No Grub On Install Drive

Apr 5, 2010

I am using this image of Debian: [URL]. But it doesn't matter what I do I fail to make it persistent.
I have tried this: [URL] But there is no "grub" on my "install" drive, apparently is an outdated notion.
I have tried this: [URL] (with conflicting info regarding the previous link). By booting with a knoppix USB with gparted. Doesn't matter if I leave the NTFS partition unnamed or call it home_rw, I get no persistence, even writing persistent while booting.
I have tried also changing this (while in knoppix): [URL]. Basically adding the word "persistent" after "live" but it does not work. All changes I make disappear. What it the current way of getting persistence with this package?

View 2 Replies View Related

Debian :: Creating A Debian Live CD For The Base System

Feb 10, 2010

I am thinking about creating a Debian Live CD with only the base system. I would like to know how to make the CD bootable so that it can load the kernel and continue with the booting sequence.

View 12 Replies View Related

Fedora :: Mount An Encrypted Lvm On A Live Cd?

Mar 4, 2010

I want to mount my laptops encrypted root partition so I can do some maintenance on it - xfs filesystem. Is there a way to do this?

View 8 Replies View Related

Debian Installation :: Create An Encrypted Partition During Installation?

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

Ubuntu Installation :: Select Persistence Option For USB?

Apr 3, 2010

I'm about to install a version of Ubuntu onto a 32GB flash drive, I've downloaded are Universal USB installer that will do most of the work for me, however, it asks

Step 4: Select a persistence option for your USB
and the options are
1GB CASPER -RW
2GB CASPER -RW
3GB CASPER -RW
4GB CASPER -RW

What is persistence? am I better off having more (ie 4GB) since my flash drive is a 32GB drive?

View 5 Replies View Related

Ubuntu Installation :: How To Disable / Lock Persistence

Dec 20, 2010

i made a persistent Live USB from the Ubuntu Maverick option Startup Disk Creator in the live cd distro. It works really good, i've installed the apps and changes i wanted, but now i'd like to lock persistency so no new changes or any data whatsoever may be stored. Is there a way to disable this capability so it may behave just like the CD adding the changes i made?

View 4 Replies View Related

Ubuntu Installation :: LiveUSB Persistence Error

Jun 1, 2011

I have a USB with two partitions, one FAT32 with Ubuntu 10.04 on it, and one ext4 partition labelled casper-rw. According to the docs this should do to create a persistence installation, but I still get the "can't find persistence medium" error when booting.

Did I do something wrong or is this a bug?

I installed with unetbootin on the FAT32 partition and created the partitions using GParted.

View 3 Replies View Related







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