How to have a non-persistent Ubuntu installed on HDD?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to have a non-persistent Ubuntu installed on HDD?
Hi all,
this is my first question. I hope to be in the right forum.
I built a customized Ubuntu thinclient which contains Firefox and the ICA client (Citrix), fully automated with the Firefox Kiosk extension. I'm now using it from my USB key after the creation of a Live image with Systemback.
As I would like to remote control the machines which run this OS, I would like to install it on the HDD with a non-persistent feature. So, I just want a live image which boot from the HDD and not from the USB.
True that many .iso images may boot with some form of grub. May have to consider chain to grub4dos or other loader that can handle the iso. Syslinux should be able to boot to the files.
The live image that is offered should be able to be dd'ed to the storage and should run. There may be some driver issue on some controllers but at least you know the usb boots correctly. An installed hard drive is basically the same as a usb to modern linux.
If you have Grub2 on the hard drive you can simply copy the iso you created with Systemback to a partition on the hard drive and put an entry in the grub.cfg to boot it. Example entries to do this at the link below under "Manually editing the grub files". If it boots, add the entry permanently in the /etc/grub.d/40_custom file and run sudo update-grub. You need the exact correct name of the iso file (case-sensitive) as well as the correct path to it as well as the correct partition.
Guys, thank you for your answers.
I guess that pointing directly to the ISO is the best solution as I can add other images. I will give it a try next week.
The dd copy was not good as the system couldn't find the boot section of the disk.
For the moment my (good) temp solution has been found using the Systemback "System Copy" feature.
Assuming you have only one HDD on your machine:
1) Create the ISO Live Image using Systemback
2) Write the image on a USB
3) Boot from the USB key
4) Go on Systemback and select "System Copy". It will install the Live image you've created at the step 1 directly on the disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.