Author Topic: [Solved]Frugal or Poor Man install save changes the code?  (Read 1544 times)

Offline nooby

  • Jr. Member
  • **
  • Posts: 10
[Solved]Frugal or Poor Man install save changes the code?
« on: March 30, 2012, 04:37:22 AM »
Edit. By trial and error and google and pure luck. Solved.

Here is how. You need a working code

I happen to have grub2 but it works most likely
in grub legacy (grub1) too. Edit to fit your boot loader.
Code: [Select]
menuentry "pclinuxos-phoenix-2012-02.iso" {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set xxxxxxx
 linux (hd0,1)/isolinux/vmlinuz root=UUID=xxxxxxx BOOT_IMAGE=LiveCD livecd=livecd initrd=initrd.gz bootfrom=/dev/sda1 changes_dev=/dev/sda1 acpi=on fstab=rw,auto
 initrd (hd0,1)/isolinux/initrd.gz
 }

here  is my old text

Hi, I am almost there. I have managed to boot
using the Frugal or PoorMan install on sda1
and have been adviced to use this code
for saving changes.
Code: [Select]
changes_dev=LABEL=2009From here http://www.pclinuxos.com/forum/index.php/topic,62202.0.html
Thanks to Was_Just19 for that thread and post.

What I need to do is to change the changes_dev=LABEL=2009
to something that fits the version of PCLOS that I have booted.
Pags has this quote
Code: [Select]
changes_dev=LABEL=PCLOS
so where do these LABEL names comes from. Which name
has my install? I guess I should ask in Terminal?
But don't know how to do that. Yes I have searched.

here is my grub2 code
Code: [Select]
menuentry "pclinuxos-phoenix-2012-02.iso" {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set xxxxxxx
 linux (hd0,1)/isolinux/vmlinuz root=UUID=xxxxxxx BOOT_IMAGE=LiveCD livecd=livecd initrd=initrd.gz bootfrom=/dev/sda1 changes_dev=/dev/sda1 acpi=on fstab=rw,auto
 initrd (hd0,1)/isolinux/initrd.gz
 }


Looking through options I started filemanager and found / or /Home
to be on /initrd/cdrom so could I change code to
Code: [Select]
changes_dev=/initrd/cdrom
Maybe this is even better?
Code: [Select]
changes_dev=/dev/sda1
Does it create the save file automatically? Don't I have to tell how big and so on?
« Last Edit: March 30, 2012, 05:16:22 AM by nooby »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #1 on: March 30, 2012, 05:27:05 AM »
The "LABEL" is the name given to a partition.
If you have not named your partitions then you can use the UUID of the partition on which you wish to store the changes.
In that case the format of the persistence boot option would be

changes_dev=UUID=<uuid number of the partition>

You can easily get the UUID number of the partition by using the command

blkid -c /dev/null

You should note that the storage partition for the changes must be a Linux formatted partition .....  ext2, ext3, ext4 etc  and not FAT or NTFS

Also the link you posted is to an older version of this subject.
You might read from here ......

http://www.pclinuxos.com/forum/index.php/topic,74878.0.html

which is for PCLOS 2010 to 2012.
« Last Edit: March 30, 2012, 06:35:47 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11689
  • ----IOFLU----
Re: Frugal or Poor Man install save changes the code?
« Reply #2 on: March 30, 2012, 05:46:29 AM »
nooby:

Labels come from you choosing to label the partition in question. There are a many different applications that can do this for you, the simplest being command line apps. The command varies slightly between apps, but the end result is the same.

Examples:

Open a terminal, su to root, then use one of these commands.

[root@localhost ~]# e2label /dev/<whatever> <label name>             <Enter>

or;

[root@localhost ~]# tune2fs -L <label name> /dev/<whatever>                <Enter>

Replace <whatever> with the proper designation for the partition being labeled, and <label name> with the actual name you want to give the partition.

The blkid command will show the following for each of your partitions. If you have more than one drive, you can pipe the command through grep to show each drive individually. This is from my installation, /dev/sdb partitions, because it's a shorter list, but still illustrates the point.

[root@fatman ~]# blkid |grep sdb
Code: [Select]
/dev/sdb1: LABEL="boot750" UUID="985efd35-13a4-4279-8129-0f9552d95ccb" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb2: LABEL="swap750" UUID="0ccd09b0-ebb4-4f78-8c73-632232adf438" TYPE="swap"
/dev/sdb3: LABEL="750pclos" UUID="ace4498d-cd4b-458b-9b0c-853c0679fe70" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb5: LABEL="Documents2" UUID="d9550e51-e2e6-4b48-b382-d491ab0bc1ea" TYPE="ext3"
/dev/sdb6: LABEL="share9" UUID="3abe7220-57d1-40c8-acb3-b8d13585577f" TYPE="ext3"
/dev/sdb7: LABEL="Documents" UUID="6c984560-d3bc-4ea9-b2ad-62586c662bcf" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb8: LABEL="750mm" UUID="b512d57e-3c7a-4226-96ea-98ba93d5d486" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb9: LABEL="movies" UUID="90ae3f6a-46b2-485a-886d-e4c203491907" TYPE="ext3"
/dev/sdb10: LABEL="120backup" UUID="3dff9abc-88c0-47dc-bd2c-f3f991acab69" SEC_TYPE="ext2" TYPE="ext3"
/dev/sdb11: LABEL="storage00" UUID="f0320f20-48d5-4ddb-89ed-9da4676aefa4" SEC_TYPE="ext2" TYPE="ext3"


Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline nooby

  • Jr. Member
  • **
  • Posts: 10
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #3 on: March 30, 2012, 06:07:11 AM »
Thanks but fortunately it worked using this code.

Code: [Select]
BOOT_IMAGE=LiveCD livecd=livecd initrd=initrd.gz bootfrom=/dev/sda1 changes_dev=/dev/sda1 acpi=on fstab=rw,auto
changes_dev=/dev/sda1 instead of using the LABEL thing. Maybe later in another setting.
Sad it took me this many years to get PCLOS going in frugal install. I simply did not have
found the working description for my set up.

Do you know if it works on NTFS too or only on ext3 and Fat32?

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #4 on: March 30, 2012, 06:31:07 AM »
Thanks but fortunately it worked using this code.

Code: [Select]
BOOT_IMAGE=LiveCD livecd=livecd initrd=initrd.gz bootfrom=/dev/sda1 changes_dev=/dev/sda1 acpi=on fstab=rw,auto
changes_dev=/dev/sda1 instead of using the LABEL thing. Maybe later in another setting.
Sad it took me this many years to get PCLOS going in frugal install. I simply did not have
found the working description for my set up.

Do you know if it works on NTFS too or only on ext3 and Fat32?

Answered in my previous post!
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline nooby

  • Jr. Member
  • **
  • Posts: 10
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #5 on: March 30, 2012, 07:24:58 AM »
Thanks that is a very good link. So that explains why it did fail on NTFS.
Sad that 90% of all computers sold to us that buy them in Chain Stores
only have NTFS on them and it is not easy for a newbie to do the resize
and partition thing. Now I may be the most computer challenged person
that I know but none of the computer user here locally do such thing
except the village Nerd or Geek but he can do anything but never share :)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 11071
  • MLUs Forever!
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #6 on: March 30, 2012, 07:36:57 AM »
Thanks that is a very good link. So that explains why it did fail on NTFS.
Sad that 90% of all computers sold to us that buy them in Chain Stores
only have NTFS on them and it is not easy for a newbie to do the resize
and partition thing
. Now I may be the most computer challenged person
that I know but none of the computer user here locally do such thing
except the village Nerd or Geek but he can do anything but never share :)

I disagree with this.
There are GUI apps available to make it easy.
There are plenty tutorials about to explain what must be done.
This forum has many threads on the subject .....  and a search facility to find them.
Failing all that, questions can be asked here and a detailed explanation given if required.

I honestly don't know how much easier it could get .....  except to have someone do it for you, in which case you learn nothing.

Keep at it    We all had to start somewhere  ;)
MLUs rule the roost!

Linux XPS 3.4.48-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11689
  • ----IOFLU----
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #7 on: March 30, 2012, 07:39:53 AM »
Thanks that is a very good link. So that explains why it did fail on NTFS.
Sad that 90% of all computers sold to us that buy them in Chain Stores
only have NTFS on them and it is not easy for a newbie to do the resize
and partition thing. Now I may be the most computer challenged person
that I know but none of the computer user here locally do such thing
except the village Nerd or Geek but he can do anything but never share :)

Here the geeks and nerds love to share.  ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3829
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #8 on: March 30, 2012, 08:42:15 PM »
Quote
Here the geeks and nerds love to share.

Would << The Geeks And The Nerds >> be willing to assist me ( proof reading and suggestions ) if I try the impossible ?
Making a tutorial which can be understood by 5 year old ones.

Please note: I am not joking
Please note: I am busy with it

Sorry for the hijacking, but it's now or never.

Xena
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11689
  • ----IOFLU----
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #9 on: March 30, 2012, 09:20:45 PM »
Quote
Here the geeks and nerds love to share.

Would << The Geeks And The Nerds >> be willing to assist me ( proof reading and suggestions ) if I try the impossible ?
Making a tutorial which can be understood by 5 year old ones.

Please note: I am not joking
Please note: I am busy with it

Sorry for the hijacking, but it's now or never.

Xena

Sure, whatcha need to know?
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3829
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #10 on: March 30, 2012, 09:50:53 PM »
Quote
Sure, whatcha need to know?

In one or two months time, I can use you to make sure I don't write c*p.
If anyone has kids that age ( 5-6-7-8 years), that would be helpful too for proof reading.
It's one thing to explain something to me, OP
It's another thing to explain it to my wife or the neighbor's son ( who eventually has to do the translations into Thai  )

I prefer it to be a group effort.

Thanks
nb: do we communicate by PM or personal email ?
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11689
  • ----IOFLU----
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #11 on: March 30, 2012, 10:11:23 PM »
Quote
Sure, whatcha need to know?

In one or two months time, I can use you to make sure I don't write c*p.
If anyone has kids that age ( 5-6-7-8 years), that would be helpful too for proof reading.
It's one thing to explain something to me, OP
It's another thing to explain it to my wife or the neighbor's son ( who eventually has to do the translations into Thai  )

I prefer it to be a group effort.

Thanks
nb: do we communicate by PM or personal email ?

PM me when you are ready, then we'll figure out what works best from there. ;D
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3829
Re: [Solved]Frugal or Poor Man install save changes the code?
« Reply #12 on: March 30, 2012, 10:27:19 PM »
great
Thanks

 :D :D :D
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )