View previous topic :: View next topic |
Author |
Message |
baz00r Junior Member
Joined: 16 Nov 2016 Posts: 2
|
Posted: Wed Nov 16, 2016 1:27 pm Post subject: Configuration Persistence |
|
|
Hi everybody,
I love this little distro but was wondering if there is any way to enable persistence? I am running this on Unified Networking Lab as a liveCD. I don't see any option on startup to create a persistence file, is this possible?
Many thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
|
Back to top |
|
baz00r Junior Member
Joined: 16 Nov 2016 Posts: 2
|
Posted: Thu Nov 17, 2016 9:45 am Post subject: |
|
|
Hi gerasimos_h,
Firstly, many thanks for your reply.
Unfortunately the only option I have is a LiveCD ISO, as this is all that Unified Networking Lab supports currently. Anyway I downloaded those .dat files and extracted them into the same location as my ISO file. I went with the 256MB dat file and renamed this to "save.dat".
The path to the ISO is
/opt/unetlab/addons/qemu/linux-sms/cdrom.iso
The path to the .dat file is
/opt/unetlab/addons/qemu/linux-sms/save.dat
I went to "Run SMS" and pressed tab. And added this to my boot parameters.
changes=/opt/unetlab/addons/qemu/linux-sms/save.dat
After booting I changed the IP address of the Eth0 interface to 192.168.1.2 with a netmask of 255.255.255.0.
Then I typed "reboot", selected "Run SMS" again and put the same boot parameters in, unfortunately the ip address configured on the eth0 interface did not stick.
Perhaps I am missing a step somewhere? Do I need to explicitly tell SMS to write the config changes to file or something before rebooting?
Thanks for the assistance. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Nov 17, 2016 10:34 am Post subject: |
|
|
You need to set a path that SMS will have access while booting, I don't thing that SMS is seeing that path you gave
"/opt/unetlab/addons/qemu/linux-sms/save.dat"
If it's on another disk it will see something like "/mnt/sda1/opt/..."
Regards
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|