PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 02:04:01 PM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: <Solved> So How Much Is Too Much  (Read 789 times)
Ray2047
Hero Member
*****
Online Online

Posts: 1324


« on: June 18, 2011, 07:57:28 PM »

I don't know why but I just can't seem to make a Remater except by blind luck and this install blind luck isn't working.

On the root partition I.m using 5.1GB out of 45 GB total. On the home partition I'm using 8.6 GB of 78 total GB. I'm excluding 5 directories for a total of 9690MiB. I am using the command:
Quote
mylivecd --nodir=^/home/roj/Videos,^/home/roj/WMP1,^/home/roj/WMP2,^/home/roj/WMP3,^/home/roj/WMP4
What I end up with is:
Quote
==================================================[100.00% 00:00:00/00:00:00]
                                                          
Restoring Services on the installed system

ls: cannot access livecd.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created 'livecd.iso' (0,000 bytes) in 01:49:47
Is this just the old problem of too large?

 
Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #1 on: June 18, 2011, 08:02:46 PM »

Is that your complete command?
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
Ray2047
Hero Member
*****
Online Online

Posts: 1324


« Reply #2 on: June 18, 2011, 08:10:44 PM »

Is that your complete command?
Yes. Is it wrong?
Logged
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #3 on: June 18, 2011, 08:19:51 PM »

Is that your complete command?
Yes. Is it wrong?

It doesn't specify the name of the ISO to be created.

I have never tried to run the command without that information, so am guessing that without it things might go awry.

regards.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
Ray2047
Hero Member
*****
Online Online

Posts: 1324


« Reply #4 on: June 18, 2011, 09:01:29 PM »

Thanks. Will try that.
Logged
bicol_willem
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 1765


« Reply #5 on: June 18, 2011, 10:18:12 PM »

Is that your complete command?
Yes. Is it wrong?

It doesn't specify the name of the ISO to be created.

I have never tried to run the command without that information, so am guessing that without it things might go awry.

regards.

Nope Just19, a name is just a option. Should work fine without.
Logged

bicol_willem
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 1765


« Reply #6 on: June 18, 2011, 10:30:23 PM »

I don't know why but I just can't seem to make a Remater except by blind luck and this install blind luck isn't working.

On the root partition I.m using 5.1GB out of 45 GB total. On the home partition I'm using 8.6 GB of 78 total GB. I'm excluding 5 directories for a total of 9690MiB. I am using the command:
Quote
mylivecd --nodir=^/home/roj/Videos,^/home/roj/WMP1,^/home/roj/WMP2,^/home/roj/WMP3,^/home/roj/WMP4
What I end up with is:
Quote
==================================================[100.00% 00:00:00/00:00:00]
                                                          
Restoring Services on the installed system

ls: cannot access livecd.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created 'livecd.iso' (0,000 bytes) in 01:49:47
Is this just the old problem of too large?

 

Since this is all rather small (although why on earth a 45 Gb root partition?), did you try to remaster with mylivecd --nodir=^/home option? You can easily leave out /home during a new install from your product anyway while anything of your interest in /home you can (and should) backup separately. That way the whole /home issue becomes irrelevant. You see, a remaster (OS) is not a clone and, as far as I know, not intent to keep data as well (possible but size matters!) which is more the task of a clone......(OS plus files)
Logged

Ray2047
Hero Member
*****
Online Online

Posts: 1324


« Reply #7 on: June 18, 2011, 11:42:17 PM »

Guess I'll give up because I don't have a clue how to backup Home except by remastering. Don't really care about root. My whole purpose is to save Home in a way I can reuse it. I know my root is too large but others complained about my previous partition table and that is the best I could do with out loosing Home the only thing I really cared about saving.
Thanks though for trying.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #8 on: June 18, 2011, 11:54:01 PM »

Guess I'll give up because I don't have a clue how to backup Home except by remastering. Don't really care about root. My whole purpose is to save Home in a way I can reuse it. I know my root is too large but others complained about my previous partition table and that is the best I could do with out loosing Home the only thing I really cared about saving.
Thanks though for trying.

Do you have an external drive, or a USB stick large enough to hold the contents of your /home/ray directory? If you have a place to temporarily hold your data, rsync can copy everything in the directory and keep all the correct permissions.
Logged

Old-Polack

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



Lest we forget...
Ray2047
Hero Member
*****
Online Online

Posts: 1324


« Reply #9 on: June 18, 2011, 11:57:49 PM »

Quote
Do you have an external drive, or a USB stick large enough to hold the contents of your /home/ray directory? If you have a place to temporarily hold your data, rsync can copy everything in the directory and keep all the correct permissions.
Thank you. I will try that. Can it be done to an internal HD also? Would I then just copy the old home  to the new Home after install? Just overwrite any duplicate files?

Synaptic shows it installed in Networking but I don't have that on the Ap menu. Is it command line?
Logged
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #10 on: June 19, 2011, 02:32:44 AM »

Ray,

rsync is a command line tool. However, you can install a GUI front end for it from Synaptic by finding and marking the unison package. It will synchronize two local directories. The program will show up in the Internet portion of the main menu.

Logged

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
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #11 on: June 19, 2011, 02:34:29 AM »

Quote
Do you have an external drive, or a USB stick large enough to hold the contents of your /home/ray directory? If you have a place to temporarily hold your data, rsync can copy everything in the directory and keep all the correct permissions.
Thank you. I will try that. Can it be done to an internal HD also? Would I then just copy the old home  to the new Home after install? Just overwrite any duplicate files?

Synaptic shows it installed in Networking but I don't have that on the Ap menu. Is it command line?

You would want to do the copying from either a root login, or from the liveCD, logged in as root. I recommend the latter. If you have a separate /home partition, you need to know beforehand which partition that is, and also the partition on which you wish to store the copied directory. It is always best to have the backup partition formatted with an ext3 or ext4 filesystem (whichever is the same as the /home partition) so that permissions for all the files and directories are properly preserved.

Example:

Assuming the /home partition to be /dev/sda5 and the backup partition to be /dev/sdb1, if done from a liveCD, the first things you would need are mount point directories. I like /here and /there as they are short, and only exist in memory as part of the liveCD directory tree anyway. We use the mkdir command for this. (make directory)

[root@localhost ~]# mkdir /here /there                <Enter>

Now we mount the /home partition on /here and the backup partition on /there.

[root@localhost ~]# mount /dev/sda5 /here             <Enter>

[root@localhost ~]# mount /dev/sdb1 /there             <Enter>

To check the mounts;

[root@localhost ~]# ls -l /here             <Enter>

[root@localhost ~]# ls -l /there             <Enter>

The first command should show your ray directory, and the second command whatever is already on the backup partition, if anything.

To copy the entire ray directory as well as all its contents;

[root@localhost ~]# rsync -av /here/ray /there             <Enter>

You will see a lot of text lines describing what is being copied, as it happens. When the process is complete you will be returned to the root prompt.

To check the copy;

[root@localhost ~]# ls -la /there/ray             <Enter>

You could also navigate to the /there/ray directory with Dolphin, or whatever file manager is on the liveCD, and look around to see if everything looks normal and complete. If all looks good, you have your backup.
Logged

Old-Polack

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



Lest we forget...
bicol_willem
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 1765


« Reply #12 on: June 19, 2011, 06:48:56 AM »

Guess I'll give up because I don't have a clue how to backup Home except by remastering. Don't really care about root. My whole purpose is to save Home in a way I can reuse it. I know my root is too large but others complained about my previous partition table and that is the best I could do with out loosing Home the only thing I really cared about saving.
Thanks though for trying.

Yes understood and old-polack gave you a valid option. However some rather try to avoid the command line (especially newbe's, coming from Windows) and so you could simply copy your /home to a external drive (by opening 2 file-manager windows, one is /home and the other is external drive, and drag and drop the content. Do so as user. Now you have a full backup. Simple.
When ever you have a new install created by your remaster (now without home) and created the same user account again you can copy it all back. Again as the same user. Choose "write into  existing folder" if asked. In the unlikely event you run in a permission problem that way, you can correct that easy.

Last, as I hint earlier on. Maybe what you are looking for is a "clone" and if so you might have a look at i.e. clonezilla. That will create a exact copy of your install with all there is in, either compressed or direct to a other hard drive. There are more options to do so even.
Anyway, backing up things isn't a biggy as you see. Good luck!
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4634


MLUs Forever!


« Reply #13 on: June 19, 2011, 06:56:15 AM »

Is that your complete command?
Yes. Is it wrong?

It doesn't specify the name of the ISO to be created.

I have never tried to run the command without that information, so am guessing that without it things might go awry.

regards.

Nope Just19, a name is just a option. Should work fine without.

Thanks  Wink
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
Ray2047
Hero Member
*****
Online Online

Posts: 1324


« Reply #14 on: June 19, 2011, 07:45:32 AM »

Thanks all for the the detailed and easy to follow answers. Im marking this silved.
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM