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:
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.
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.
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?
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?
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.
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?
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?
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.
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
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]
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.
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.
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?
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
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.
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.
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.
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.
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..
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.
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.
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?
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.
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.
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?
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?
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.