LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-03-2017, 02:44 AM   #1
vega01
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Rep: Reputation: Disabled
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.

Could someone help me out with that?

Thank you very much guys

Vega
 
Old 10-03-2017, 12:05 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
yes.
roughly speaking:
point your bootloader (usually grub) to the .iso file in question.
i'm sure you can duckduckgo the rest.
 
Old 10-03-2017, 03:33 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,011

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
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.
 
Old 10-04-2017, 01:12 AM   #4
vega01
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks guys.
So I assume that if I dd the image on the hdd then I've to make it bootable from the hdd. Or, will dd copy the bootloader part also?

Thanks again!
 
Old 10-04-2017, 08:01 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,557

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
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.

https://help.ubuntu.com/community/Grub2/ISOBoot
 
Old 10-04-2017, 03:16 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,011

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
If you have a hybrid image and you dd it to a hard drive it should be bootable I'd think.
 
Old 10-06-2017, 10:31 AM   #7
vega01
LQ Newbie
 
Registered: Oct 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
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.

Thanks again!
 
  


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
Newly installed Ubuntu into N40L server, NTFS HDD's not recognised darthmesh Linux - Newbie 1 09-21-2015 06:50 PM
Help? I installed Ubuntu (Tobisha usb hdd) And no matter what I do I get grub errors? abcde597 Ubuntu 18 01-19-2013 09:10 PM
(Advanced) Booting Ubuntu installed on HDD from encrypted USB stick or similar i00 Ubuntu 2 03-27-2011 09:18 AM
Slack4Christians 12.2 RC1 for persistent CD, USB, HDD linus72 Linux - General 66 05-20-2010 06:56 AM
I installed ubuntu 9.04 to my Maxtor external hdd. I have no internal hdd. I can boot dont33 Linux - Newbie 1 08-13-2009 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 01:52 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