LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-13-2016, 03:01 AM   #1
bretondp
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Rep: Reputation: Disabled
Can't use persistence w/ YUMI installed distros


Hello, forum!

I am new to using and installing LINUX and I have stumbled upon two immediate problems. Any assistance with either or both would be greatly appreciated!

As the title states, [B]I am using YUMI to mount my live distros/B]. I am mounting them on a 500GB external hard drive (essentially just a huge USB?) with around 200GB of free space.

My first question regards Linux Mint (Cinammon). I mounted it with YUMI and, within YUMI, gave it a 4GB persistence space. If I go to my Home folder, it displays that I have 4GB of space left. However, my data isn't saved across reboots. I thought YUMI automatically allocated and enabled(?) persistence. Is there anything else I need to know to have my files saved across reboots?

My second question regards Kali Linux. I am using KALI because I am taking a computer networks course in college which requires me to use Kali.

I mounted it, again, through YUMI, but this time YUMI didn't create a persistence along with the OS. As I looked around for how to manually add persistence to my Kali installation, I noticed something was off about my system.

While most of the tutorials instruct you to allocate some space for the persistence file, I am unable to do so because GParted says I have no unallocated space on my HDD. It does display that I am using 250GB and have another 250GB free, but there is only a small 1MiB space that says unallocated. I am unsure if this is because I have a multiboot configuration or something like that. Did I do something wrong during my installation or is there something I am missing here?

I will attach an image of hoy the GPARTED looks.
Attached Thumbnails
Click image for larger version

Name:	-dev-sdc - GParted_001.png
Views:	73
Size:	30.2 KB
ID:	21151  

Last edited by bretondp; 03-15-2016 at 12:55 AM.
 
Old 03-13-2016, 10:22 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
YUMI is used to put an operating system on a drive, generally a flash drive and you can create a persistence file or partition on it with some distributions to use to test before you do an actual install to a hard drive.

Quote:
I thought YUMI automatically allocated and enabled(?) persistence.
I'm not sure why you thought that. I don't see anything on their site indicating it does. Also, it states specifically on their site that "Installing Linux from the YUMI created USB Drive to a Hard Drive is not officially supported. If the installer portion of any Live Linux distro does work, consider it a bonus". You won't be able to use it to install unless you get lucky.

I'm not sure what you are doing. It seems you are putting the various Linux Live CD images on a 500GB flash drive. You can do that but I don't know why you would want to. You would need to unmount and shrink the partition(s) on the drive to make unallocated space. Were you actually planning to install Mint and Kali or just test them?

I've never used YUMI so can't help much with that. I've had good luck using unetbootin to create a Live system on a flash drive with persistence so you might try that.

I'm sure you are aware that Kali is designed specifically for computer forensics and for experts in the field. If you want to use it to learn about computer forensics, you are much better off putting it on a flash drive. It's a very poor choice for a Desktop computer user, especially if you are new to Linux and they indicate this on their site. How to do this is explained at the Kali site below.

http://docs.kali.org/downloading/kal...ve-usb-install

Creating persistence is explained at the link below.

http://docs.kali.org/downloading/kal...sb-persistence
 
Old 03-13-2016, 10:42 PM   #3
bretondp
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello, yancek! Thank you for taking the time to reply!

I am aware of what you are saying. I'm doing all of this because I am taking a Computer Networks course at school. Our professor instructed us to use YUMI because we would be working with various distros.

I am not trying to install them for permanent use on my notebook/desktop, I always run them live from a drive. In this case, it's a 500GB USB3.0 external HDD. YUMI allows the drive to be used as a normal storage device, but it is also a bootable drive. YUMI creates a folder called multiboot where all the Linux info is stored.

I will attach an example picture of YUMI. I selected a 4GB partition space, and, again, I suppose this is shown in MINT because when I go to my Home folder the bottom says "4GB of free space". However, the info is not saved across reboots. As far as MINT goes, I'm just confused because I don't know if there are additional steps to have my info written in the persistence space.

As far as KALI goes, I will also attach a picture of what my GPARTED shows. I had already visited those links but I am stuck because my drive shows no available unallocated space. I am unsure if this is because I am using a YUMI multiboot drive.
Attached Thumbnails
Click image for larger version

Name:	yumi1.JPG
Views:	161
Size:	49.4 KB
ID:	21144  
 
Old 03-14-2016, 09:04 AM   #4
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
Quote:
Originally Posted by bretondp View Post
[SIZE="2"]
My first question regards Linux Mint (Cinammon). I installed it with YUMI and, within YUMI, have it a 4GB persistence space. If I go to my Home folder, it displays that I have 4GB of space left. However, my data isn't saved across reboots. I thought YUMI automatically allocated and enabled(?) persistence. Is there anything else I need to know to have my files saved across reboots?
Have you successfully installed Linux Mint?
Are you saying that the Linux Mint distro doesn't have persistence or that you've installed Yumi bootloader onto USB and the USB doesn't have persistence?

I've always had difficulty getting persistence on my debian-live USB. There are many tutorials out there about how to do it, but there's always people complaining that it doesn't work for them.

Another method of installing a linux distro would be to copy the .iso file onto a USB. Once you've then booted from USB, the distros installer should open up and you can target the install onto your 500GB drive.
This worked for me with Debian, although Ubuntu may be more preferable for you.

Quote:
My second question regards Kali Linux. I installed it, again, through YUMI, but this time YUMI didn't create a persistence along with the OS. As I looked around for how to manually add persistence to my Kali installation, I noticed something was off about my system.
Yumi is a multi-boot installer which lets you 'try out' different linux distros. They're not proper, full distros.
You're meant to try them out to see if you like any particular distro and choose a different option to have a full distro installed.
This may explain why the distros don't have persistence.

I really can't understand why Yumi is offering you Kali Linux. It's not for normal users.
Ubuntu and Linux Mint are the most popular distros. You could install just one distro, get comfortable with the command line, how to install programs and join the forum supporting the distro.
After that, you can check out other distros.

Quote:
While most of the tutorials instruct you to allocate some space for the persistence file, I am unable to do so because GParted says I have no unallocated space on my HDD.
Persistence is only for live-USB and live-CD distros. You don't need persistence for full distros installed on your hard disk.
If the .iso files you're using on Yumi require 'persistence' then they're 'live' lightweight versions of distros which should be copied to USB or burnt to CD.
If you want a full distro on your hdd, then Yumi can't do that for you.
Instead, see if you can copy a full .iso file of Ubuntu or Linux Mint (from their respective sites) onto your USB. Then boot from USB and the installer should do the rest.

Quote:
It does display that I am using 250GB and have another 250GB free, but there is only a small 1MiB space that says unallocated. I am unsure if this is because I have a multiboot configuration or something like that. Did I do something wrong during my installation or is there something I am missing here?
Clearly something is wrong here. You could simply delete all the installs you've made to the hdd as they're 'live' versions of distros and not full versions.
 
Old 03-15-2016, 12:43 AM   #5
bretondp
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Higgsboson View Post
Have you successfully installed Linux Mint?
Are you saying that the Linux Mint distro doesn't have persistence or that you've installed Yumi bootloader onto USB and the USB doesn't have persistence?

I've always had difficulty getting persistence on my debian-live USB. There are many tutorials out there about how to do it, but there's always people complaining that it doesn't work for them.

Another method of installing a linux distro would be to copy the .iso file onto a USB. Once you've then booted from USB, the distros installer should open up and you can target the install onto your 500GB drive.
This worked for me with Debian, although Ubuntu may be more preferable for you.
Hi, Higgsbosson, thank you for taking the time to reply!
My intention is not to fully install Mint. I run it live off my 500GB External Hard drive. I mounted the MINT .ISO with YUMI there.

Quote:
Yumi is a multi-boot installer which lets you 'try out' different linux distros. They're not proper, full distros.
You're meant to try them out to see if you like any particular distro and choose a different option to have a full distro installed.
This may explain why the distros don't have persistence.

I really can't understand why Yumi is offering you Kali Linux. It's not for normal users.
Ubuntu and Linux Mint are the most popular distros. You could install just one distro, get comfortable with the command line, how to install programs and join the forum supporting the distro.
After that, you can check out other distros.
I am taking a computer networks course in college; which is being taught in Linux and I need to be able to run multiple live distros off a drive (in this case, my 500gb external drive). Again, I have no intention of permanently installing any of them right now. I need to run them live, but I need persistence on them to save my configurations.
 
Old 03-15-2016, 08:53 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,503

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Thanks for the explanation of your intentions. I think you'd be better off using a flash drive but it should work on a usb drive. Most of the systems you will be using will only be around 1GB. I see in the image you posted that there is an option to create persistence, missed that when I was at their page. Did your instructor require you to create persistence accessible from multiple distros? Good luck with that. I tried it a couple of years ago and I think I eventually got some persistence for both systems but it was a very convoluted process and I don't have any notes. Maybe someone else knows?

I've never used YUMI but usually these types of software will create a casper-rw persistence file, that is for the Ubuntus like Mint. If you can take a look at the drive you have Mint on, see if there is a casper-rw file. If not, it didn't work.

Yes, post an image from GParted of the 500GB drive you are using so we can see that.
Also, post which distributions you intend to put on. Is there a list of distributions at the YUMI site they expect to work? I'd check that first.

I've never used YUMI but have created numerous multi-boot DVDs and flash drives so might be able to help with that
 
Old 03-15-2016, 09:56 AM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
I think the main question is why do you need persistence, or why do you think you need persistence? What is it you're trying to save? YUMI works great with standard [non-persistent] live distros, plus it creates a separate partition that can be used for storage. I have a YUMI-created USB drive on my key chain with about 8 different live distros (mostly system repair types), plus a separate FAT32 partition where I can dump misc tools or install files, plus a TrueCrypt encrypted container containing any sensitive info.

While the distros themselves don't have persistence, anything I want to save can simply be copied onto the spare partition on the drive. You can consider it like a persistent storage spot that's shared between all of the distros. You just need to pay attention to what you're trying to save and where you put it.
 
Old 03-15-2016, 10:40 AM   #8
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
Quote:
Originally Posted by bretondp View Post
I am taking a computer networks course in college; which is being taught in Linux and I need to be able to run multiple live distros off a drive (in this case, my 500gb external drive). Again, I have no intention of permanently installing any of them right now. I need to run them live, but I need persistence on them to save my configurations.
Here is a tutorial on how to add persistence to Ubuntu live-usb: https://help.ubuntu.com/community/LiveCD/Persistence

If it works, then perhaps you may repeat the procedure with other live distros.
 
Old 03-15-2016, 10:49 AM   #9
dolphin_oracle
MX Linux
 
Registered: Dec 2013
Posts: 402

Rep: Reputation: Disabled
how many distros are you going to be using. honestly, with a 500 gb drive, you might be better off doing multiple installs rather than try to use live w/persistence.

personally, rather than use YUMI, i would just make a bootable usb stick for each distro I wanted to keep around. 8gb sticks are going for 5 dollars or so around here, and you don't need one that big typically.

mx-15 runs great live w/persistence, is debian-based, although unlikely to be a part of your classwork, it does have a great persistence system. but the live system does not work right with yumi.
 
Old 03-15-2016, 08:50 PM   #10
bretondp
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hey guys! I think I am on to solving my issue! Thank you everyone for taking the time to respond and for your suggestions.

As it turns out, the YUMI website says the persistence it creates doesn't work with NTFS drives. I feel silly for not noticing or thinking about this.

I partitioned my external HDD and allocated 32GB as FAT32. Persistence now works with MINT. I will create some more unallocated space for Kali and try to make it work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Get Any Linux Distros Installed on DeskTop dnavratil Linux - Newbie 1 09-09-2015 11:49 AM
[SOLVED] About persistence USB distros j.curtis Linux - Newbie 8 10-28-2013 08:48 PM
YUMI multiboot linux persistence / persistent question lordloki Linux - General 4 06-08-2012 11:40 PM
How to switch Distros when a Distro is already installed? moving2linux Linux - Newbie 10 04-08-2008 01:18 PM
Are there any distros that can be installed without a CD? dracable Linux - Newbie 5 11-16-2006 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration