04-01-2015, 02:22 PM | #91 |
Connoisseur
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
|
Thanks, will try it tonight.
In the meantime I had another brain fart - it goes like this: We already have self-contained Calibre on the usb stick, why not have self-contained light linux distro to run the whole show, without even getting anywhere near the original OS on the machine one is using? This should protect the world from the threat presented by my madness, because the whole thing is now totally self-contained. Providing your machine is capable of booting from usb-hdd. |
04-01-2015, 02:57 PM | #92 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Do you have an extra ~15 GB to spare on your USB drive? OS-on-a-stick.
Most LiveUSBs use a squashfs for the filesystem. You'd have to store the data somewhere else -- some have mechanisms for storing persistent data, but it would be... awkward. You could do it though. I wouldn't worry about the "threat". |
Advert | |
|
04-01-2015, 03:36 PM | #93 |
Connoisseur
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
|
I am fine with a "threat", but it is an interesting thought.
I have 65Gb stick for this experiment (they are getting very cheap). My preferred lightweight distro would probably do live install in less than 1Gb (and it runs as root all the time ) I've done it with PCLinuxOS as live usb stick and it runs perfectly fine Back to your script - I declare it's proper dog's cojones It now just runs (regardless whether root or user) and no error messages of any kind. |
04-02-2015, 01:47 AM | #94 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
65GB is enough to install Windows-on-a-stick, if it comes to that.
Note: That threat, I would worry about. Use it for a few days, and assuming nothing else comes up I will get it committed. Last edited by eschwartz; 04-02-2015 at 01:50 AM. |
04-13-2015, 02:53 PM | #95 |
Connoisseur
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
|
More testing...
Some of my machines haven't got Qt5, so I have both the latest version of Calibre and 1.48.0 available on the stick: inside, both calibre_qt4 and calibre_qt5 are similar (the only difference is the version of calibre in calibre folder): Both symlink to the same library on the stick. All works fine for both and I am very happy. apart from some messages when closing older version: Code:
CONFIG FILES: /mnt/sdb1/calibre_qt4/CalibreConfig -------------------------------------------------- LIBRARY FILES: /mnt/sdb1/calibre_qt4/CalibreLibrary -------------------------------------------------- SOURCE FILES: *** Not being Used *** -------------------------------------------------- PROGRAM FILES: /mnt/sdb1/calibre_qt4/calibre -------------------------------------------------- TEMPORARY FILES: /tmp/CALIBRE_TEMP_QBDMipU -------------------------------------------------- Press CTRL-C if you do not want to continue Press ENTER to continue and start Calibre Starting up Calibre from portable directory "/mnt/sdb1/calibre_qt4" Using library at /mnt/sdb1/calibre_qt4/CalibreLibrary chmod: cannot access ‘/mnt/sdb1/calibre_qt4/CalibreMetadata’: No such file or directory chmod: cannot access ‘/mnt/sdb1/calibre_qt4/CalibreSource/src’: No such file or directory Script completed hit RETURN to close window. |
Advert | |
|
04-13-2015, 07:09 PM | #96 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Those folders don't exist, I suppose I could squelch the warnings...
And I don't see why you need the old version. Qt is contained within the binaries, assuming you are using portable copies of them. EDIT: Warnings squelched. Last edited by eschwartz; 04-13-2015 at 07:11 PM. |
04-14-2015, 03:24 AM | #97 | |
Connoisseur
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
|
Quote:
I am using "..."isolated" install that only touches files inside the installation directory and does not need to be run as root, like this..." Code:
wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | python -c "import sys; main=lambda x,y:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main('~/calibre-bin', True)" Problem only got solved when I went back to 1.48 |
|
04-14-2015, 03:38 AM | #98 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
No, Qt5 is inside that install -- doesn't matter where you put it, it's still the same program executables, and if it was downloaded from calibre-ebook.com it uses its own Qt5.
If it is a distro install, it uses the system Qt5 -- or there is no distro calibre 2. If it is crashing, the problem most likely has to do with your version of glibc -- that is the only thing the calibre binaries have a dependency on. (This is mentioned in the notes on the download page.) Earlier versions of calibre could make do with earlier glibc versions. Doesn't really matter what specifically made it fail though. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Portable | cstandifird | Devices | 3 | 01-24-2012 02:29 PM |
Portable Calibre? | hermes | Related Tools | 2 | 06-02-2011 02:50 PM |
Calibre Portable | beckywc | Calibre | 4 | 12-21-2010 11:13 AM |
Portable Linux version of Sigil | readx | Sigil | 9 | 09-03-2010 02:59 AM |
Portable Linux-Mobile-Guide for iSilo and Plucker | Colin Dunstan | Lounge | 0 | 08-31-2005 05:48 AM |