Author Topic: 1st MyLiveCD - Errors and observations  (Read 1058 times)

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
1st MyLiveCD - Errors and observations
« on: January 16, 2012, 10:25:26 AM »
I followed the instructions HERE to create a LiveCD backup in preperation of a SSD that is on it's way .

I logged in as Root, and followed the instructions.

The disc usage was -

Quote
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             217G  4.4G  201G   3% /
/dev/sda5              77G  5.4G   72G   7% /home


When I typed in -

Quote
umount -a


I received the message -

Quote
http://umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))

I then typed in -

Quote
mylivecd 1stLiveCD.iso


and hit enter.

It created the iso file, and then I burned it to a DVD. The output was approx 1gb.

I then booted it up in another computer and found that the process failed to copy/backup my Crossover 10 installation and the MS Office apps that were installed.

Also, the desktop settings were not saved.

It looked like a clean install, though it did carry over Wine & Winetricks.

Is there something that I did incorrectly, or will this not work with Crossover?

Any help would be appreciated -

« Last Edit: January 16, 2012, 10:30:29 AM by Hondo »

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #1 on: January 16, 2012, 10:28:05 AM »
Also, someone might want to add to the instructions that you will need to remount the -a when you are finished.

Quote
mount -a

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #2 on: January 16, 2012, 10:33:29 AM »
I am now creating another iso logged in as my regular user, but executing as root in Konsole.

I'll post up the results.

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: 1st MyLiveCD - Errors and observations
« Reply #3 on: January 16, 2012, 10:49:57 AM »
I followed the instructions HERE to create a LiveCD backup in preperation of a SSD that is on it's way .

I logged in as Root, and followed the instructions.



Please clarify, did you logged out and then logged in as root, or did you used su ?
I ask because in this specific case there can be relevant differences.

Quote

The disc usage was -

Quote
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             217G  4.4G  201G   3% /
/dev/sda5              77G  5.4G   72G   7% /home




Note to self: on average the final ISO should be 1/3 of the original size, this may be different depending on real files type, I would expect a resulting  3 GB ISO ...

Quote

When I typed in -

Quote
umount -a


I received the message -

Quote
http://umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))



It is expected the failure to umount the '/' filesystem, but is unexpected the failure to umount /home.

The failure to umount some filesystem is directly related to the fact that the filesystem is in use from some application. Either, although you logged in as root you changed the current directory to somewhere inside /home, or some process (crossover ? ) is started from or using /home.

Quote

I then typed in -

Quote
mylivecd 1stLiveCD.iso


and hit enter.

It created the iso file, and then I burned it to a DVD. The output was approx 1gb.



 ??? the size is not coherent with the expected size ... something went wrong at some point ...

Quote
I then booted it up in another computer and found that the process failed to copy/backup my Crossover 10 installation and the MS Office apps that were installed.


Do you know where is installed Crossover 10 and the MS Office apps ?

Quote
Also, the desktop settings were not saved.


... may be that '/home' was effectively unmounted, and the above report (failure to unmount)  is not correct ?

Quote

It looked like a clean install, though it did carry over Wine & Winetricks.

Is there something that I did incorrectly, or will this not work with Crossover?

Any help would be appreciated -



I'm trying, but need additional info  ;)

AS
« Last Edit: January 16, 2012, 10:51:34 AM by as »

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #4 on: January 16, 2012, 11:13:21 AM »
Quote
Please clarify, did you logged out and then logged in as root, or did you used su ?
I ask because in this specific case there can be relevant differences.

I was logged in as root, so it's my guess that is why the iso is small and the crossover 10 install (& all of it's apps) are missing (installed as my normal user).

I'm now creating another iso logged in  as my user but in Konsole as root (su).

It is taking a lot longer compressing the image, so I bet it will be a more accurate image this time.


Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #5 on: January 16, 2012, 11:40:23 AM »
Ok, I tried it logged in as my normal user, but in Konsole as root, and here's what I got -

Quote
root@localhost ~]# umount -a
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
[root@localhost ~]# mylivecd 2ndLiveCD.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: chkconfig --del atd
running: /sbin/chkconfig --list
running: chkconfig --del crond
running: /sbin/chkconfig --list
running: chkconfig --del syslog
Warning: syslog is needed by script(s) in runlevel 2: messagebus(start) messagebus(stop) shorewall(start)
Warning: syslog is needed by script(s) in runlevel 3: messagebus(start) messagebus(stop) nscd(start) shorewall(start)
Warning: syslog is needed by script(s) in runlevel 4: messagebus(start) messagebus(stop) nscd(start) shorewall(start)
Warning: syslog is needed by script(s) in runlevel 5: messagebus(start) messagebus(stop) nscd(start) shorewall(start)
Warning: syslog is needed by script(s) in runlevel 7: messagebus(start) messagebus(stop)
running: /sbin/chkconfig --list
running: chkconfig --del kheader
running: /sbin/chkconfig --list
running: chkconfig --del xinetd


Creating initrd:                                   [100.00% 00:00:03/00:00:03]
Setting filesystem parameters:                     [100.00% 00:00:09/00:00:09]
Creating compressed image:                         [100.00% 00:51:29/00:51:29]
Creating isolinux boot:                            [100.00% 00:00:00/00:00:00]
Creating final iso:                                [100.00% 00:00:00/00:00:00]
                                                                             
Restoring Services on the installed system

running: chkconfig --add atd
running: chkconfig --add crond
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
Warning: syslog is needed by crond in runlevel 2
Warning: syslog is needed by crond in runlevel 3
Warning: syslog is needed by crond in runlevel 4
Warning: syslog is needed by crond in runlevel 5
running: chkconfig --add syslog
running: chkconfig --add kheader
running: chkconfig --add xinetd
ls: cannot access 2ndLiveCD.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

Created '2ndLiveCD.iso' (0,000 bytes) in 00:51:42


It looks like it didn't create the iso file, although it stated it did.

Suggestions?

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: 1st MyLiveCD - Errors and observations
« Reply #6 on: January 16, 2012, 12:07:19 PM »
Quote
ls: cannot access 2ndLiveCD.iso: No such file or directory
Argument "" isn't numeric in division (/) at /usr/sbin/mylivecd line 244.

mylivecd return the above error when the final size of the ISO image would exceed 4 GB, yes cryptic message, but that is.
I find difficult to think that approx. 10 GB didn't get compressed enough to fit 4 GB size...

Please, log in as root and try the following command (it's only a fast test):

Quote
mylivecd  --gzip  --nodir=^/home   /tmp/3rdLiveCD.iso

when done, please report the output of
Quote
ls -l  /tmp/3rdLiveCD.iso

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #7 on: January 16, 2012, 02:39:16 PM »
ok, it's working on that- the second try of mine failed.

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #8 on: January 16, 2012, 02:45:35 PM »
I think that there might be an ISO file somewhere, as this is the output that I get -

Quote
[hondo@localhost ~]$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda6             217G   11G  195G   6% /
/dev/sda5              77G  5.4G   72G   7% /home
/dev/sdb1             7.6G  1.8G  5.9G  23% /media/PENDRIVE
[hondo@localhost ~]$

I'm frustrated now, because I have not added any files and now it is showing a total of 16.4G.

I ran Bleachbit (not root again & it freed up just 400 mb or so.

Any idea why my sda6 keeps growing?

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: 1st MyLiveCD - Errors and observations
« Reply #9 on: January 16, 2012, 02:55:33 PM »

Any idea why my sda6 keeps growing?


Yes! software is like gas, it will fill all available space!  :D ;D

please, from root account (or su) run the following command (copy & paste):

Code: [Select]
find  /  -iname \*.iso

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #10 on: January 16, 2012, 03:15:06 PM »
Ah...

Quote
[root@localhost ~]# find  /  -iname \*.iso
/root/SecondTry.iso
[root@localhost ~]#

But I can't see it it in Dolphin, even with hidden files enabled -  ???

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #11 on: January 16, 2012, 03:16:25 PM »
SecondTry.iso was my 2nd attempt (I didn't try your 3rd time since I was over 10 gb)

Offline Hondo

  • Full Member
  • ***
  • Posts: 178
  • What if it is a Samsquamch?
    • KLRWorld.com
Re: 1st MyLiveCD - Errors and observations
« Reply #12 on: January 16, 2012, 04:15:18 PM »
I found the iso file- I had to log in as root to find it.

I burned that iso successfully and my other computer booted to it properly.

Everything seems normal- even the Crossover 10 & MS Office files are on the iso.

I have done a backup of everything & will report back when I get the system up & running on the thew SSD.

thanks!