19.03.2024, 09:34 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
theblackpig
22 Titel: Persistent Install - How  BeitragVerfasst am: 23.09.2011, 22:17 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
What I want to do is to run the live CD and save any changes to a usb HD, I think this is called a persistent install.
How do I do it?
Step by step please as I'm a bit of an ignoramus
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 10:26 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

Use a partition called live-rw or a loop file with that name on your hd and add:

persistent

as extra option when you boot.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 12:04 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
OK , my partition is now live-rw.
How do I add "persisent" when I boot the live CD ?

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 12:14 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

The way I do it for Grub 1, it might not work so for Grub 2, is that on start up you see a menu. [Select line you wish to boot from, if you have to] Press 'e' to edit. Get lines to edit. Select line beginning 'kernel' and press 'e' again. Then append 'persistent' to this line. Press 'Enter', then press 'b'. Good luck.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 13:00 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
I'm afraid you are right it doesn't work for the latest version.
Is it possible to edit the live CD?

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 13:52 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

I can see where you're getting Winken Eventually you'll want to copy the live CD on to your USB hd, and boot from there? Will be much faster. I've done it for my own normal hd, and I just run the live DVD image.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 14:11 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
First of all Tejas can I thank you for your help.
Perhaps I should have explained what I'm trying to do.
At the moment I run puppy linux as follows:-
I insert a usb stick to any computer, insert the live Cd, boot from the live CD and now anything I do when I exit the live Cd is saved on the USB stick.This gives me a truly portable os
This is what I want to do withKanotix

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 14:35 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

The way I understand it is that every time you use your live CD you will have to append 'persistent' tto the boot menu line. I use DSL to print from my clapped out old m/c as my new m/c all USB, and on closing down have persistence option. So, in your case for a truly portable os you need to stick the DVD image (more comprehensive) on USB and boot from USB, thereby dispensing with the CD. Otherwise every time you boot up, you'll have to remember to edit the boot line and add persistent. I'm not sure if there's a way of changing the boot up file on the CD, but you can easily request the BIOS to boot from USB, and once you take that route you might as well dispense with the CD altogether.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
TheOne
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 16:39 Uhr



Anmeldung: 15. Mar 2008
Beiträge: 610

In Grub2 you enter the boot command editing with TAB key (maybe it looks a little bit strange if you begin to type, just continue and don't worry about).

Tejas is right, that with an live usb stick, you can save that option permanently. So you will not need to enter it everytime you boot.

Regards TheOne

_________________
Lenovo ThinkPad X220 | Core i7-2640M 16GB | Hellfire 3.6
FSC Tablet T4220 | Core2 Duo T7250 2GHz 3GB | Intel GMA X3100 | Hellfire 3.6
Clevo M570U | Core2 T7200 2GHz 2GB | Geforce Go 7950gtx | Hellfire 3.2
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 19:07 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

http://kanotix.com/PNphpBB2-viewtopic-t ... 111da.html Frage
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 20:24 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
The problem with a live usb stick is that many computers won't boot from usb and if I'm borrowing a friends computer I don't feel inclined to alter their BIOS , will try again to alter at boot.

Regards
BP
Tejas that link is no longer usable

BP
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 24.09.2011, 22:46 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

theblackpig hat folgendes geschrieben::
I don't feel inclined to alter their BIOS , will try again to alter at boot.
Don't need to alter BIOS, modern BIOS have an Fn function key you can press which allows selcting boot medium, which I discovered after losing my BIOS pw. (F2 I think)
theblackpig hat folgendes geschrieben::
Tejas that link is no longer usable
Frage Frage Seems to link alright, having just tried it.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
acritox
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 01:26 Uhr
Developer
Developer


Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
TheOne hat folgendes geschrieben::
In Grub2 you enter the boot command editing with TAB key


isolinux uses the TAB-key, not Grub2.
all official Kanotix-Images have isolinux as bootloader (in live mode)

what about Kano's persistent script?
http://kanotix.com/files/fix/create-sys ... sistent.sh

Code:
# wget -q http://kanotix.com/files/fix/create-syslinux-usb-drive-persistent.sh
# chmod +x create-syslinux-usb-drive-persistent.sh
# find /dev/sd? -group floppy
/dev/sdX
# ./create-syslinux-usb-drive-persistent.sh /path/to/kanotix.iso /dev/sdX


sdX = your USB stick - WARNING: everything on the stick will be deleted.

acritox

_________________
http://kanotix.acritox.com/factoids - http://kanotix.acritox.com - http://acritox.de/repository - http://andreas-loibl.de - GPG: F781E713
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
TheOne
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 02:50 Uhr



Anmeldung: 15. Mar 2008
Beiträge: 610

acritox hat folgendes geschrieben::
isolinux uses the TAB-key, not Grub2.
all official Kanotix-Images have isolinux as bootloader (in live mode)
Of course, sorry. But in his situation TAB is the correct key. Winken

_________________
Lenovo ThinkPad X220 | Core i7-2640M 16GB | Hellfire 3.6
FSC Tablet T4220 | Core2 Duo T7250 2GHz 3GB | Intel GMA X3100 | Hellfire 3.6
Clevo M570U | Core2 T7200 2GHz 2GB | Geforce Go 7950gtx | Hellfire 3.2
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 11:16 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
acritox hat folgendes geschrieben::
TheOne hat folgendes geschrieben::
In Grub2 you enter the boot command editing with TAB key


isolinux uses the TAB-key, not Grub2.
all official Kanotix-Images have isolinux as bootloader (in live mode)

what about Kano's persistent script?
http://kanotix.com/files/fix/create-sys ... sistent.sh

Code:
# wget -q http://kanotix.com/files/fix/create-syslinux-usb-drive-persistent.sh
# chmod +x create-syslinux-usb-drive-persistent.sh
# find /dev/sd? -group floppy
/dev/sdX
# ./create-syslinux-usb-drive-persistent.sh /path/to/kanotix.iso /dev/sdX


sdX = your USB stick - WARNING: everything on the stick will be deleted.



acritox


Hi acritox, doI just put those commands in line by line ? do I have to download that script as well?
Regards
BP
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
acritox
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 11:43 Uhr
Developer
Developer


Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
open Konsole, get root-privileges by typing "su -" [enter] (it will prompt for your root-password), then run the commands prefixed with "#" line-by-line (without typing the "#")

the third command outputs a list of usb-devices you can use.
if it gives you multiple choices be careful and pick the right one for the fourth command (i.e. replace /dev/sdX with the desired one)

of course you have to replace "/path/to/kanotix.iso" with the actual path where the iso is located.

_________________
http://kanotix.acritox.com/factoids - http://kanotix.acritox.com - http://acritox.de/repository - http://andreas-loibl.de - GPG: F781E713
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 12:10 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
Thanks acritox, will give it a go and let you know how it goes Winken
Regards
BP

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Tejas
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 13:52 Uhr



Anmeldung: 09. Mai 2011
Beiträge: 74

acritox hat folgendes geschrieben::

of course you have to replace "/path/to/kanotix.iso" with the actual path where the iso is located.
Frage I'm a bit puzzled here. Does this imply a USB boot Frage
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 13:59 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

My script cleans the usb drive (it has a security check that it does not work on usb hd) and creates 2 partitions. The first is fat32, only slightly bigger than the the iso size, the 2nd is ext4. The ext4 partition will be used as permanent overlay, of course thats slower as when the overly is in a ramdrive. As it downloads syslinux from the internet be sure you are connected to the net when you execute it. btw. it also works with similar images from u. the script without "persistent" in the name can even handle win v/7/8 images as well. basically the persitent script would work there too, the 2nd partition is just useless Winken
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
acritox
Titel: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 14:00 Uhr
Developer
Developer


Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
Tejas hat folgendes geschrieben::
Frage I'm a bit puzzled here. Does this imply a USB boot Frage


yes. This script will erase a USB stick, put the kanotix ISO onto it, make it bootable and modify it so that persistent is enabled and that changes will be written onto the stick.

_________________
http://kanotix.acritox.com/factoids - http://kanotix.acritox.com - http://acritox.de/repository - http://andreas-loibl.de - GPG: F781E713
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
The_Seeker
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 14:36 Uhr



Anmeldung: 23. Feb 2006
Beiträge: 45
Wohnort: Adelaide, Australia
These Kanotix scripts are excellent.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 19:53 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
OK, first problem, when I enter
"find /dev/sdb -group floppy /dev/sdb"
I get
find: paths must precede expression: /dev/sdb
Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
root@KanotixBox:/home/john#

Traurig Traurig

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 20:28 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

find /dev -group floppy
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
theblackpig
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 23:32 Uhr



Anmeldung: 22. Sep 2011
Beiträge: 26
Wohnort: Oldham nr Manchester UK
OK, nearly there,
When I enter
./create-syslinux-usb-drive-persistent.sh /Home/Downloads/kanotix.iso /dev/sdb1
I get
Error: No removeable drive /dev/sdb1

_________________
My choice early in life was either to be a piano-player in a whorehouse or a politician. And to tell the truth, there's hardly any difference.
-- Harry S. Truman (circa 1962)
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
acritox
Titel: RE: Re: RE: Persistent Install - How  BeitragVerfasst am: 25.09.2011, 23:36 Uhr
Developer
Developer


Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
nobody said you should add a partition number there...

./create-syslinux-usb-drive-persistent.sh /Home/Downloads/kanotix.iso /dev/sdb

_________________
http://kanotix.acritox.com/factoids - http://kanotix.acritox.com - http://acritox.de/repository - http://andreas-loibl.de - GPG: F781E713
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen ICQ-Nummer 
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.