Ask Your Question
2

Live fedora with persistent storage

asked 2016-07-16 10:16:50 -0500

Minici gravatar image

I have created a Live USB with rawrite32 It works fine, but 1)How can I save permanently my files? 2) If I download a package, let's say git, how can I maintain it permanently? 3) How can I change the keyboard (in the live workstation there is no layout option)? 4) Is it possible to remove the "install Fedora" application? 5) It is possible to run Fedora immediately without clicking"try Fedora"?

Thank you in advance

edit retag flag offensive close merge delete

Comments

1

Why don't you just install Fedora on a USB? That way you have all of your issues above addressed.

florian gravatar imageflorian ( 2016-07-26 15:26:47 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2016-07-26 15:01:50 -0500

cmurf gravatar image
dnf install livecd-tools
sudo livecd-iso-to-disk  ## short help
sudo livecd-iso-to-disk --help  ## long help

The gist of the options you want to use for any BIOS or UEFI computer with a persistent overlay is:

sudo livecd-iso-to-disk --noverify --format --reset-mbr --efi --overlay-size-mb 1000 --home-size-mb 1000 /path/to/ISO /path/to/stick

Observations: noverify because I do sha256sum on the ISO file after downloading. The combination of format, reset-mbr, and efi will make a hybrid stick that can boot UEFI or BIOS computers. The overlay size applies to rootfs, and deleting things does not ever free up space in the backing file (ergo df will lie to you, dmsetup status won't lie) so it's just a matter of time before the overlay file fills up and breaks the file system on top of it rendering the stick non-repairable and useless, without warning. The help file for this tool explains this. The nice thing about home size, which is optional, is that it makes home a separate file system where deletions do work correctly, as such it's a better thing to setup for git. Where the overlay size is used for things like packages you install.

A better long term option is to run the installer on a USB stick so there's no overlay file, and hence it can be used without the concern of the overlay filling up and blowing up.

edit flag offensive delete link more

Comments

Hi @cmurf, thanks for this answer! I wanted to make an USB stick with persistent storage but to my surprise liveusb-creator don't have that option anymore, so I went ahead with your command. First thing is that it didn't create the home partition but only the overly size. Second, it seems that the disk is encrypted which makes the system extremely slow, so my question is, is there a way to disable the encryption to avoid the observed slowness? Thanks for reading!

skytux gravatar imageskytux ( 2016-08-11 11:00:53 -0500 )edit

@skytux I know your comment is old now, but you can pass the --unencrypted-home argument to have the home partition unencrypted.

albocc gravatar imagealbocc ( 2017-10-25 06:23:57 -0500 )edit
0

answered 2016-07-20 00:29:12 -0500

Gcroom gravatar image
  1. you can lookup different iso writing software that supports persistent live usb creation
  2. You can only maintain it perm if your live usb has been made as a persistent live usb(tons of different software that does this while creating the live usb from an iso file)
  3. go to the terminal and type 'sudo dnf install gnome-tweak-tool' (this will install an app that you can launch from an icon where all your applications are --store applications ; when you hit the window button -- once you launch there are tabs dedicated to sorting out all your keyboard issues)
  4. I think this can be accomplished by going to the terminal and typeing as follows ' sudo rm -rf '/user/share/Install to Hard Drive' lmk if it doesnt work.
  5. I bet so... I wouldnt be able to tell you sorry :( might take more time then its worth but I really dont know.

Hope this Helped :-)

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-07-16 10:16:50 -0500

Seen: 4,790 times

Last updated: Jul 26 '16