Can you install Trisquel without connecting to the Internet during install?

4 risposte [Ultimo contenuto]
thankyou_trisquell
Offline
Iscritto: 04/08/2015

Hi!

I am a growing fan of free software, have been starting off with Debian but I would love to now try Trisquel and see what it's like.

The reasons for having freedoms include security and privacy also (no back doors, no binary blobs, 'free hardware' one day I hope too), so I have a lot of incentives for going 'free', aside from autonomy!

I have a strong desire to be able to install Trisquel without connecting to the Internet. I do not want my real IP address downloading packages and connecting to a single server until I am running a vpn client within Trisquel, after which I can download further packages and/or updates past that point.

Is this possible?

So to relay what I've done so far: I've got a spare laptop, an old Dell, and I've downloaded trisquel_7.0_amd64.iso, the main 'full' ISO from https://trisquel.info/en/download from the looks of it.

I burnt it to a bootable USB in Debian, and all seemed to go well, when:

- First attempt - graphical installer. I get all the way to selecting encrypted home folder option (right after partitioning and I chose encryption with LVS), and a big crash happens. Says either CD/DVD has got problems or HDD is old/etc. (the HDD was recently DBAN'ed and I don't think HDD is the problem).

- Second attempt - this time, text installer. I'm fairly comfortable with that anyway, so away I go - well, this time I'm stuck at this 'Bad archive mirror' error, and I'm not sure how I can get past it and install the basic OS packages without needing Internet connected.

I '', choose 'Download installer components', and it forces me to 'Choose a mirror of the Trisquel archive' and even with 'enter information manually', I'm taken to 'Bad archive mirror' (and I assume because of 'mirror is not available' reason in the error).

It would be a massive shame if there's no way to install Trisquel without compromising one's privacy on the Internet. I mean, I COULD probably work out some complicated gateway setup where I 'Torify' or 'VPNify' the Ethernet connection coming in to the laptop for the Install, but that's really prohibitive (I may not have the hardware to do that anyway, my router's not DD-WRT'able etc and I have no PC with more than one Ethernet jack to try and make into a linux gateway, and I do NOT use Wifi so hotspot option is out), and even make a passionate Trisquel potential like myself not to be able to do this.

We really need an offline install option (for users with anonymity concerns or poor Internet), even Windows and OS X can do that!

Is there a way I can work around the mirror error and continue on with installation from the disc? Does the disc even HAVE a local repo of packages or is the bulk of the 1.5GB taken up by the live OS on the disc? HANG ON, what am I thinking - of course it doesn't, does it? It would need WAY more size on the disc right?

:(

Thanks for your help...

If there's anything I can do like create my own mirror on the disk from copying from another mirror (and make the mirror hostname /sda, or some LAN IP like the debian PC I write this from now), or other ISOs available somewhere, I'm all ears! I'm really pretty determined, and willing to get my hands dirty, but not spend money buying extra hardware when one shouldn't have to just to be able to do an offline install of a worthy OS! :)

thankyou_trisquell
Offline
Iscritto: 04/08/2015

Hmm after trying the graphical install again I'm thinking that offline install IS fine with this (it must be small but hey, I like that), but again, I'm getting this frustruating 'error while copying files to disc' error once the step for that starts. As an experiment I'm going to see if ubuntu (then if that fails, debian) installs just fine to the same hardware (fully offline of course, and with all the normal encrypted LVM options, I know at least this'll all work with debian), and if either of them work (or certainly if debian does) then I'll know there's some bug with the Trisquel installer :/.

I'll update you once I have news from this, either way...thanks!

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Says either CD/DVD has got problems or HDD is old/etc.

Sum-check the ISO:
$ md5sum trisquel_7.0_amd64.iso

It should be ef6b33d2959dbbb6016188868975091f according to http://cdimage.trisquel.info/trisquel-images/trisquel_7.0_amd64.iso.md5

I mean, I COULD probably work out some complicated gateway setup where I 'Torify' or 'VPNify' the Ethernet connection coming in to the laptop for the Install

According to http://cdimage.trisquel.info/trisquel-images/trisquel_7.0_amd64.iso.manifest the Live system has everything to setup OpenVPN from the NetworkManager applet (the package "network-manager-openvpn-gnome" is listed). If you need another VPN client, then you could separately download the related packages from http://packages.trisquel.info (using a secure connection) and install them in the RAM of the live system with 'sudo dpkg -i'. You should then be able to set the VPN up from NetworkManager.

It is not that complicated.

thankyou_trisquell
Offline
Iscritto: 04/08/2015

Man, I've now learnt to check MD5sums of all ISOs I download from now on, it had a different MD5! Now downloading the ISO from a direct link based on the MD5 url you gave (so http://cdimage.trisquel.info/trisquel-images/trisquel_7.0_amd64.iso),
on my - you guessed it - fairly slow VPN... :)

Thank you! I think that was obviously it, data corruption of some kind. Indeed I DID have an Internet disruption during the download now that I remember it, and a dl resume across an entire reboot and everything. Maybe not the best idea in Firefox, that! And actually, I probably will remember to TORRENT as many ISOs as I can too, now...may take longer to download if not the most popular ISO but worth the wait since you're guaranteed to not have to re-dl it at least.

That's an excellent idea about VPN'ing the Internet ON the Live OS and launching the installer on its Desktop there, though - indeed, not complicated. (But clearly I need to re-download the ISO in case of other issues anyway.)

However, wouldn't there be some 'restart' at some point in the install process and thus possible downloading of packages/connecting to random servers which after restart from the live OS obviously means your real IP is involved?

That's the issue facing that idea (which is still, good to know about) - it may not be 100% robust - I mean you can probably unplug Ethernet once the 'now rebooting' part happens, but.... I still want to keep Ethernet unplugged until the first thing I do is connect to my VPN in the installed OS, all controlled by me, no unpredictable surprises. This is pretty important for someone serious about their anonymity/privacy, where they don't intend to make mistakes if they can help it.

o, I'll try a correct ISO offline install, and if nothing goes wrong I won't reply (about it if I have nothing else to reply about), and you can assume the offline install went as well as the test Ubuntu one I just did, which yes, worked without a hitch.

Thanks again :).

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

However, wouldn't there be some 'restart' at some point in the install process

You only restart the computer once the install is over. You can even delay this restart if you started some work/game on the Live system (while installing) and want to end it first.

As for restarting the network service (or any other service) on the Live system, I see no reason why that would happen: the system you install is completely independent from the one you run live.