Author Topic: <Answered> Remaster Root Only?  (Read 773 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
<Answered> Remaster Root Only?
« on: August 30, 2011, 10:51:08 AM »
Because of the size of my Home partition I would like to make a remaster of just my Root Partition. Can I logged on as Root unmount User Home and run the remaster command just for root partition and save to home in root? What would be the commands? I think I know but want to be sure. Or is there a simpler way to exclude the home user directory?

Apologies in advance if this has been asked and answered before and I just didn't recognize it in my search.
« Last Edit: August 30, 2011, 02:37:47 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Remaster Root Only?
« Reply #1 on: August 30, 2011, 12:06:15 PM »
Use
Code: [Select]
mylivecd --help
for a list of available options.

Unmounting /home is not necessary. Simply exclude your /home. Use the --nodir ^/home/ray2047 option.     

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: Remaster Root Only?
« Reply #2 on: August 30, 2011, 02:37:07 PM »
Thanks.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Davidsr

  • Jr. Member
  • **
  • Posts: 12
Re: <Answered> Remaster Root Only?
« Reply #3 on: August 30, 2011, 07:20:58 PM »
 :'(
Neal, please review the following, can you tell me where my iso is stored? Thanks
[davidsr@localhost ~]$ su
Password:
[root@localhost ~]# mylivecd --xz --nodir ^/home/ august30th2011.iso
mylivecd, version 0.9.4, http://pclinuxos.com/
Copyright (C) 2010, Texstar <texstar at gmail.com>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

Disabling Services not needed on the LiveCD

running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list
running: /sbin/chkconfig --list


Creating initrd:                                   [100.00% 00:00:10/00:00:10]
Setting filesystem parameters:                     [100.00% 00:00:17/00:00:17]
Creating compressed image:                         [100.00% 01:16:40/01:16:40]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:01:41/00:01:41]
                                                                             
Restoring Services on the installed system


Created 'august30th2011.iso' (1503,117,312 bytes) in 01:18:53

[root@localhost ~]#

I added this;
1.39989Gb

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: <Answered> Remaster Root Only?
« Reply #4 on: August 30, 2011, 07:27:42 PM »
Since the post has been marked answered it may be better to start a new thread of your own. You can also do a file search using the parameters *.iso.
« Last Edit: August 30, 2011, 07:30:07 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: <Answered> Remaster Root Only?
« Reply #5 on: August 30, 2011, 11:17:39 PM »
Davidsr,
Tagging onto a [Solved]/[Answered] thread is not a good idea. Joining an active thread is better, if it is about the the same issue you have. Better than that is to start your own thread. Best of all is to perform a forum search and find the answer that is already available.     

Your ISO will be in /root. However, I see a problem in your command. You excluded all of /home.
Quote
mylivecd --xz --nodir ^/home/ august30th2011.iso
     

It should be --nodir ^/home/<your-username> to exclude your personal home directory. Replace <your-username> with your actual username. /home is a part of the filesystem. It is needed for creating a user after installation. Without a /home, you have no place for a user account. If your ISO works, you may have problems with it.