discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Install GNU Radio Live CD to Hard Disk


From: Murray Thomson
Subject: Re: [Discuss-gnuradio] Install GNU Radio Live CD to Hard Disk
Date: Fri, 8 Sep 2017 08:57:51 +0100

Hi,

That's an interesting subject Marcus. From my user point of view, having an easy way to test the latest release would be nice. I think it's fair to ask a user wanting to test the nightly build to compile it themselves. Having said that, if this is automatized, it maybe beneficial for everybody.

Mike, thanks for the instructions to create a persistent USB. It's is useful.

I needed an excuse to test the Pinguy OS builder that I linked in my previous email so I have used it to make a live iso with GnuRadio that can be installed.

ubuntu-16.04.3-desktop-amd64-gnuradio-3.7.11-installer.iso
ubuntu-16.04.3-desktop-amd64-gnuradio-3.7.11-installer.iso.md5
ubuntu-16.04.3-desktop-amd64-gnuradio-3.7.11-installer.iso.sha256

This is what I did to create it:

Download https://www.ubuntu.com/download/desktop I choose 16.04.3

Install it in a virtualbox with 30 GB disk.
user: ubuntu,
password: ubuntu (no empty password because It's extra work and not a good idea for a persistent system)
Install the following packages:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y openssh-client openssh-server apt-clone

Start the GnuRadio Live DVD in a VirtualBox and get the list of installed packages, from
https://askubuntu.com/questions/17823/how-to-list-all-installed-packages
sudo apt-clone clone apt-clone-gnuradio.tar.gz

Copy this file over to the installed VirtualBox, $VBIP is the IP of the installed VirtualBox
rsync -av apt-clone-gnuradio.tar.gz address@hidden:/tmp/

In the VB, restore the cloned file. This will install the packages installed with apt-get
sudo apt-clone restore /tmp/apt-clone-gnuradio.tar.gz

I copied some folders directly from the Live DVD to the installation :
rsync -av --progress -e ssh /usr/local address@hidden:/tmp/
rsync -av --progress -e ssh /usr/share/icons address@hidden:/tmp/
rsync -av --progress -e ssh /usr/share/applications address@hidden:/tmp/
rsync -av --progress -e ssh /usr/opt address@hidden:/tmp/

From the installed system, change the owner of these folders and move them to the exact location

sudo chown root:root /tmp/local -R
sudo chown root:root /tmp/share/icons -R
sudo chown root:root /tmp/share/applications -R
sudo chown root:root /tmp/opt -R

sudo rsync -av -e ssh /tmp/local/ /usr/local/
sudo rsync -av -e ssh /tmp/share/icons/ /usr/share/icons/
sudo rsync -av -e ssh /tmp/share/applications/ /usr/share/icons/applications/
sudo rsync -av -e ssh /tmp/opt/ /opt/

Copy the home folder directly from the Live DVD:
rsync -av --progress -e ssh /home/ubuntu/ address@hidden:/home/ubuntu/

sudo ldconfig

I made some manual changes to
Set the wallpaper
Remove the lock every 5 minutes
Install Pinguy OS rebuilder (installed with dpkg and then the dependencies with sudo apt-get install -f)
Remove openssh-client and openssh-server (I didn't want to leave them installed in a system with an easy password)

Use Pinguy OS builder to create the iso.

This iso can be installed and it contains the same software as the Live DVD (please correct me if I'm wrong). I have noticed a couple of issues that I will try to fix this weekend.
The ubuntu home folder doesn't install the same. This means that the icons and wallpaper go back to default. I don't think the Live DVD has a lot of user settings for software so this shouldn't be a big problem.
The /opt folder doesn't contain the "intel" folder that the Live DVD has. I don't know why did this happened, I need to look into it.

It would be nice if someone could try it and let me know if there are more issues with it.

Cheers,
Murray


On 8 September 2017 at 06:02, Srinivasan <address@hidden> wrote:
Dear All,

Please following details.

1. Create iso image from USB which we burned the image to run as LIVE CD. ( using dd ) : ( Just to check only )
2. Burn the image to Hard Disk ( or to partition )

Any way we can create entry in boot loader to boot the partitions ? ( I tried various method and still it did not work )
Please let me know.

Regards

Srinivasan




Sent with ProtonMail Secure Email.

-------- Original Message --------
Subject: Re: [Discuss-gnuradio] Install GNU Radio Live CD to Hard Disk
Local Time: September 8, 2017 1:16 AM
UTC Time: September 7, 2017 6:16 PM
To: Murray Thomson <address@hidden>
GNURadio Discussion List <address@hidden>


Hi Murray,

ha, that's a very valid use case. I plan to talk to the others about packaging anyway (I know that at least Maitland, the debian packager, will be there) at GRCon, about providing nightly packages and such. Personally, I'm still struggling a bit with Fedora's integrated tools that should make it easy to rebuild packages whenever someone pushes a change to the master branch of GNU Radio, but if we can sort that out, you could install a GNU Radio as recent as `git pull` would give you, without any risk of breaking anything else, because the packages would act exactly like the Fedora-own gnuradio package, only more recent. That would also, for everyone who's not actively developing GNU Radio's core, solve a lot of the complications that people use PyBOMBS for.

There's a whole lot of interesting questions that arise from that – on a project level. For example, while it feels kind of like an easy decision to make to offer a nightly gnuradio package if we can, what about popular "infrastructure" OOTs like, for example, gr-osmosdr? That is actually so popular that fedora packages themselves, and it would only feel logical to offer it in a version that works with that nightly GNU Radio, too. But then we're deep into "ok, now we're becoming a software distributor" land, because, what's so different about gr-osmosdr that we shouldn't also be packaging gr-paint, which, without doubt, is invaluable for any conference with people selling hardware that displays waterfall plots?

Why I mention that is the following:
Basically, as soon as you have a distro-compatible repo of packages, all major distros make it easy to directly install that; many also make it easy build an installer which installs the distro, enables that repo, and also installs these packages. With the liveDVD as we have it now, it's not that easy, because none of the SDR-related software is installed from an Ubuntu package repository, but actually built from source and installed "into the live system". That has a lot of advantages – being able to be bleeding edge, without becoming the maintainer for all the OOTs, for example – but easy conversion to an installed system is not possible at this point.

Best regards,
Marcus



On 09/07/2017 04:09 PM, Murray Thomson wrote:
Hi Marcus,

Thanks for the explanation, I was mistaken about removing the install option. 

My specific situation was that I wanted to test my project in the latest GnuRadio. This version was released but not in the Ubuntu repo. I was worried about breaking my current setup trying to upgrade or install two instances of GnuRadio. The Live DVD wasn't a good option for me because is not persistent. I solved this creating a VirtualBox and installing GnuRadio after. As you said, it wasn't hard, but it took me a while to do and I did had some problems with PyBOMBS (it was my first attempt ;).

It would be nice to have a VirtualBox image that a new user can import and start using, specially for Windows users.

Just as a related note, this maybe interesting for someone that wants to create an iso from a working system and then install it in a different machine:

Kind Regards,
Murray


On 7 September 2017 at 11:53, Marcus Müller <address@hidden> wrote:

Hi Murray,

technically, corganlabs (who's designing that liveDVD) didn't *remove* the install option – it's just that the Ubuntu doesn't come with a solution to install stuff like it's installed on the DVD to disk. You just end up with a default Ubuntu.

That's why it's kinda hard to do this right.

I do have a live system of my own, Fedora-based, which comes with a lot less modules than the official live DVD. But: Fedora does package a lot of the popular OOT modules. Also, when you start with a working GNU Radio installation, building OOTs from source shouldn't be all that hard, even without tools like PyBOMBS.

So, maybe this is the point to actually specifically ask you: what did you try to do? Is there something that we can make better about the ecosystem (and we actually intentionally carry "ecosystem" in the logo!) so that things are less of a hassle for you?

Best regards,
Marcus


On 09/07/2017 12:47 AM, Murray Thomson wrote:
Hi,

In the last couple of years I have read this same request from different people, including myself. It iss true that installing GnuRadio on top of a fresh Ubuntu install is not hard, but it does take time. Sometimes, being able to create an quick installation with a known to work setup is useful. In my case, I just wanted to create a Virtualbox to test the latest GnuRadio.


I see no benefit on removing the install option and I would appreciate if this is considered for the next Live DVD.

Regards,
Murray

On 6 September 2017 at 19:41, Marcus Müller <address@hidden> wrote:

Dear Srinivasan,

please try to keep discussions on-list!

Regarding your question: I don't understand. My email says exactly that you can't

Best regards,

Marcus


On 09/06/2017 05:34 PM, Srinivasan wrote:
Thanks. The problems , installing each module introduce another problems. Looks like Live CD is working fine with all modules.
Any way , can we install in HD using iso image ? anything you can suggest !


Sent with ProtonMail Secure Email.

-------- Original Message --------
Subject: Re: [Discuss-gnuradio] Install GNU Radio Live CD to Hard Disk
Local Time: September 6, 2017 9:57 PM
UTC Time: September 6, 2017 2:57 PM


As far as I'm aware of, there's no direct way.

Also, little benefit, as with modern Ubuntu, you can also use Ubuntu's gnuradio package (unless you /want/ to build GNU Radio from source or use a specific version of a dependency of GNU Radio, but neither are use cases for users of the live DVD).

So, instead, just install Ubuntu 16.04, or Fedora 26, or Gentoo, or Arch Linux, or the most recent Debian, on your hard drive using their installation methods, and then install GNU Radio using the respective package manager.

Best regards,

Marcus Müller


On 09/06/2017 04:24 PM, Srinivasan wrote:
Hi There,

I want to install and run gnuradio live CD from HardDisk.
I tried various ways and did not work.

Any idea ?

Regards

Srinivasan



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio





_______________________________________________
Discuss-gnuradio mailing list




reply via email to

[Prev in Thread] Current Thread [Next in Thread]