Hello forum,
I installed on my pc hard drive: Porteus KDE4-v3.0-rc2-x86_64. The hard drive filesystem format is ext4.
Now, after I successfully installed Google Chrome web browser, it didn't survive a restart to become MIA = Missing in Action, I guess
Every restart or come back from power off, time settings also reset to installation defaults.
How can I save those settings and keep them up to day before every shut down.
Also, since my pc is desktop pc, I wonder how can I make it Suspend.
I'm going to have many noob questions around here , please be kind.
[SOLVED] Saving settings
- jmurrinux
- Black ninja
- Posts: 32
- Joined: 18 Aug 2011, 23:23
- Distribution: XFCE-v3.1-i486 HDD
- Location: Florida
- Contact:
[SOLVED] Saving settings
Last edited by brokenman on 07 Mar 2014, 15:10, edited 1 time in total.
Reason: Added solved
Reason: Added solved
Thank you!
jmurrinux
jmurrinux
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Saving settings
Noob questions are always welcome, but please read our documentation before asking. Most have been answered may times over. At the very top of the front page of the forum (above the chatbox) you will see a link to various documents. In particular look at the cheatcodes link. Around the third cheatcode in the list is the changes= cheatcode. That's your ticket.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Saving settings
For the suspend issue, google is your friend with keywords: porteus suspend on lid closed, see:
http://forum.porteus.org/viewtopic.php?f=81&t=3018
http://forum.porteus.org/viewtopic.php?f=81&t=3018
Prendre son temps, profiter de celui qui passe.
- jmurrinux
- Black ninja
- Posts: 32
- Joined: 18 Aug 2011, 23:23
- Distribution: XFCE-v3.1-i486 HDD
- Location: Florida
- Contact:
Re: Saving settings
Hello Forum,
Thanks francois for your reply. I discovered how to make the PC go on sleep/suspend mode within the Power icon and after clicking it, the Power menu gives you a pull down list with the selections.
Now, returning to saving the settings. I've been adding those strings to the Porteus.cfg file, not sure where exactly they need to go. But still isn't working. Not sure where to add them properly so they work.
Even with the savefile set, I'm losing my changes at every reboot - power on
Thanks francois for your reply. I discovered how to make the PC go on sleep/suspend mode within the Power icon and after clicking it, the Power menu gives you a pull down list with the selections.
Now, returning to saving the settings. I've been adding those strings to the Porteus.cfg file, not sure where exactly they need to go. But still isn't working. Not sure where to add them properly so they work.
On stringofcharacters I have my HDD UUID, just wrote that up there for the purpose of the example here.APPEND initrd=initrd.xz changes=UUID:stringofcharacters/mnt/sda2/savefile/030514.dat
APPEND initrd=initrd.xz changes=EXIT:UUID:stringofcharacters/mnt/sda2/savefile/030514.dat
APPEND initrd=initrd.xz timezone=America/New York
Even with the savefile set, I'm losing my changes at every reboot - power on
Thank you!
jmurrinux
jmurrinux
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Saving settings
If your USB is indeed formatted ext4 then it should be enough to simply put changes=/porteus (the default in the porteus.cfg). You don't need a savefile.dat for a native linux filesystem (although it doesn't hurt anything) and can safely just provide the path to a folder on your ext4 partition such as changes=/mnt/sda2/mysavefolder. You only need the savefile.dat container file for FAT32/NTFS. It is essentially a linux file system in a container stored on a windows file system.
If it still isn't working please boot up and then post the contents of: /var/log/porteus-livedbg
Here is an example from the LXDE version of Porteus. Note that i removed /mnt/sda2 from your line.Not sure where to add them properly so they work.
Code: Select all
LABEL lxde.
MENU LABEL Graphics mode (LXDE)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=UUID:stringofcharacters/savefile/030514.dat
TEXT HELP
Run Porteus the best way we can.
Try to autoconfigure graphics
card and use the maximum
allowed resolution
ENDTEXT
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- jmurrinux
- Black ninja
- Posts: 32
- Joined: 18 Aug 2011, 23:23
- Distribution: XFCE-v3.1-i486 HDD
- Location: Florida
- Contact:
Re: Saving settings
Thanks Brokenman,
Yes, the Hard disk drive is formatted to ext4 filesystem
If I understand what you said
Then, how can I preserve the changes over and over after each reboot - power ON?
Changes like:
Yes, the Hard disk drive is formatted to ext4 filesystem
If I understand what you said
I don't need thatYou don't need a savefile.dat for a native linux filesystem
Then, how can I preserve the changes over and over after each reboot - power ON?
Changes like:
- * Timezone
* Web browser bookmarks
Thank you!
jmurrinux
jmurrinux
- jmurrinux
- Black ninja
- Posts: 32
- Joined: 18 Aug 2011, 23:23
- Distribution: XFCE-v3.1-i486 HDD
- Location: Florida
- Contact:
Re: Saving settings
brokenman, thanks for your guidance.
It's all good now. I replaced the APPEND strings for the suggested change you mentioned and it's all good.
It's all good now. I replaced the APPEND strings for the suggested change you mentioned and it's all good.
Thank you!
jmurrinux
jmurrinux
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Saving settings
Excellent!
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.