Autor |
Nachricht |
|
|
Titel: Persistent Install - How
Verfasst 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 |
|
|
|
|
|
|
Titel: Persistent Install - How
Verfasst am: 24.09.2011, 10:26 Uhr
|
|
Anmeldung: 17. Dez 2003
Beiträge: 16791
|
|
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. |
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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)
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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. |
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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)
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst am: 24.09.2011, 13:52 Uhr
|
|
Anmeldung: 09. Mai 2011
Beiträge: 74
|
|
I can see where you're getting 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. |
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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)
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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. |
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst am: 24.09.2011, 19:07 Uhr
|
|
Anmeldung: 09. Mai 2011
Beiträge: 74
|
|
|
|
|
|
Titel: RE: Persistent Install - How
Verfasst 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 |
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst 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
Seems to link alright, having just tried it. |
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 01:26 Uhr
|
|
Developer
Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst 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. |
_________________ 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
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst 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 |
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 11:43 Uhr
|
|
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
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst 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
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)
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst 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.
I'm a bit puzzled here. Does this imply a USB boot |
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 13:59 Uhr
|
|
Anmeldung: 17. Dez 2003
Beiträge: 16791
|
|
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 |
|
|
|
|
|
|
Titel: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 14:00 Uhr
|
|
Developer
Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 14:36 Uhr
|
|
Anmeldung: 23. Feb 2006
Beiträge: 45
Wohnort: Adelaide, Australia
|
|
These Kanotix scripts are excellent. |
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst 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#
|
_________________ 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)
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 20:28 Uhr
|
|
Anmeldung: 17. Dez 2003
Beiträge: 16791
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst 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)
|
|
|
|
|
|
Titel: RE: Re: RE: Persistent Install - How
Verfasst am: 25.09.2011, 23:36 Uhr
|
|
Developer
Anmeldung: 10. Jul 2004
Beiträge: 290
Wohnort: Bayern (München & Rottenburg)
|
|
|
|
|
|