Author Topic: Remaster User Guide  (Read 2003 times)

Offline erbad

  • Jr. Member
  • **
  • Posts: 27
Remaster User Guide
« on: October 11, 2011, 08:27:05 PM »
Is there an up to date user guide on how to use remaster?

I saw the link at the top of this forum regarding the 2010 remastering, but when I run the first command umount -a, it says drive is busy, so I thought I would ensure that I am following the correct guide before I proceed further.

Also, is remaster available on all versions of PC Linux OS including the mini versions?

Thank you

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster User Guide
« Reply #1 on: October 11, 2011, 10:51:01 PM »
Is there an up to date user guide on how to use remaster?

I saw the link at the top of this forum regarding the 2010 remastering, but when I run the first command umount -a, it says drive is busy, so I thought I would ensure that I am following the correct guide before I proceed further.

Also, is remaster available on all versions of PC Linux OS including the mini versions?

Thank you

The guide is not at fault here. You are simply not understanding what is happening. I'll try to explain so that you understand:     
The command, "umount -a" unmounts partitions not in use by the system you are using; i.e. it will not unmount your / or /home partitions. The device busy message is just telling you that you can not unmount a partition and use it at the same time.     

The program used to make a remaster is mylivecd. It is included on every official PCLinuxOS release and community remasters. Before you run the mylivecd command, be sure to install the program, draklive-install.     

Offline erbad

  • Jr. Member
  • **
  • Posts: 27
Re: Remaster User Guide
« Reply #2 on: October 12, 2011, 01:58:00 AM »
Thank you for the instructions.  I was able to create the image while I was logged into the admin account.  I have since burnt the iso onto a USB stick.

My distro has two accounts, an admin account and a user account.  Both of them work fine on my desktop install.  When I put the USB stick into my computer and boot off of it, copying the contents to ram, I have no issues with the admin account.

However, when I try and log in with the user account, I get a series of error messages and I was wondering if you may have seen these before:

1.  Your home directory is listed as '/home/user' but it does not appear to exist.  Do you want to log in with the /(root) directory as your home directory.  It is unlikely anything will work unless you use a failsave session.

2.  User's $home/.dmrc file is being ignored.  This prevents the default session and language from being saved.  File should be owned by user and have 644 permissions.  User's $home directory must be owned by user and not writeable by other users.

3.  Your session only lasted less then 10 seconds.  If you have not logged out yourself, this could mean that there is some installation problem or that you may be out of disk space.  Try logging in with one of the failsafe sessions to see if you can fix this problem.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster User Guide
« Reply #3 on: October 12, 2011, 02:31:07 AM »
First, you do not need to create your remaster by logging in as root. Log in as your user and use the command su plus your root password to run the mylivecd and other commands.     
Explanation:
su = switch user
giving the root password when asked after using this command gains you root (admin in windows terminology) privileges.     

It is very, very inadvisable to run as root, especially if you connect to the internet. Any system maintenance/set-up or whatever you need to do can be done from your user account. There are plenty of tools for this. In the menu - Software Center and More Applications are places where you will find these tools. When you launch one of them, a pop up will request root's password.     
Logging in and running as root removes a major security layer from your system. It is a major security risk to do that.

In your menu, under File Tools, you should find an entry for your file manager in root (superuser) mode. Launch it > give root's password when asked > enter /home in the address field > type <Enter> >>> right click on the folder that is named as your user name > choose Properties from the drop menu > choose Permissions >>> check who owns your home and what group > if your user name is not given for both, change it > click the OK button > when asked whether you want this applied to all within the folder, click Yes.     
Note: if you are using PCManFM as your file manager, you can open /home as user, then under Tools choose Open Current Folder as Root.     

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10677
  • MLUs Forever!
Re: Remaster User Guide
« Reply #4 on: October 12, 2011, 02:46:37 AM »
Quote
1.  Your home directory is listed as '/home/user' but it does not appear to exist.  Do you want to log in with the /(root) directory as your home directory.  It is unlikely anything will work unless you use a failsave session.

IIRC this occurs on a remaster if you have omitted   /home/user  completely.

If you wish your user account to be usable on the remaster (can log in to it), while at the same time omitting all details and changes contained in the original, then you should omit only the contents of /home/user/ and not /home/user itself.

Hopefully someone else will confirm the above, as I do not often remaster.

regards
MLUs rule the roost!

Linux XPS 3.4.38-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 erbad

  • Jr. Member
  • **
  • Posts: 27
Re: Remaster User Guide
« Reply #5 on: October 12, 2011, 12:17:48 PM »
Thank you again for everyone's suggestions.

This morning, I recreated my live CD by

1: running umount -a
2: running mylivecd test.iso

Instead of doing it under the admin account, I ran the commands in a terminal window under the user account.

This time around, both the user account and the admin account are accessible.

One thing I did notice was the mini version of the XFCE Desktop is 411MB in size.  After doing all the updates, setting up 2 accounts (Admin and User) and installing just Chromium browser, my ISO file is over 800MB.

Would there have been that many updates to balloon the ISO to almost double the original amount?

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster User Guide
« Reply #6 on: October 12, 2011, 01:01:36 PM »
Before we create the official remasters, we do quite a bit of clean up. The files at /usr/share/doc are deleted, except for the HTML. The files in /root/.synaptic/log are deleted plus other files in other places. Then we run bleachbit and bleachbit-root. This cleaning, properly done, will result in a smaller ISO.    
« Last Edit: October 12, 2011, 02:59:09 PM by Neal »

Offline erbad

  • Jr. Member
  • **
  • Posts: 27
Re: Remaster User Guide
« Reply #7 on: October 12, 2011, 02:34:21 PM »
This cleaning, properly done, will result in a smaller ISO.     

I think the key here is "properly done".

I downloaded bleachbit and accepted all of the default settings before running it.  I did end up losing all of the shortcuts on the task bar and probably a few other things that I may not be aware of.

I don't suppose you have a step by step tutorial of the settings that you use before running these apps to ensure that you get the smallest distro size possible without any loss of function?

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Remaster User Guide
« Reply #8 on: October 12, 2011, 02:52:07 PM »
The files at /usr/she/doc are deleted, except for the HTML.

I believe you mean /usr/share/doc.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster User Guide
« Reply #9 on: October 12, 2011, 02:58:32 PM »
No, I do not have a step by step on bleachbit. You're using KDE? I use LXDE, so I am not too familiar with how bleachbit handles it. What I can tell you is that if you click on an entry in the left, you will get a description in the right pane.    

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster User Guide
« Reply #10 on: October 12, 2011, 03:00:10 PM »
The files at /usr/share/doc are deleted, except for the HTML.

I believe you mean /usr/share/doc.
     

LOL Typo. Now fixed. :)     

Offline erbad

  • Jr. Member
  • **
  • Posts: 27
Re: Remaster User Guide
« Reply #11 on: October 12, 2011, 03:43:29 PM »
Thanks again Neal for all of your help, you've been really helpful.  I'm looking forward to trying PCLOS.