Author Topic: mylivecd in virtualBox (usb Version)  (Read 791 times)

Offline gezza

  • Hero Member
  • *****
  • Posts: 513
mylivecd in virtualBox (usb Version)
« on: August 11, 2010, 02:58:26 AM »
Hi to all,
I have PCLinuxOS 2010.07 install in 'virtualbox' and I am having problems producing a livecd of the system.
I tryed 2 methods of production but neither workd as can be seen from the following text:-

First try!!
Creating 'mylivecd' in virtualBox.
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              49G  7.0G   39G  16% /
/dev/sda3             114G  1.9G  112G   2% /home
[root@localhost PHP]# mylivecd
mylivecd, version 0.9.3, 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
running: /sbin/chkconfig --list
running: chkconfig --del kheader
running: /sbin/chkconfig --list
running: chkconfig --del xinetd


Creating initrd:                                   [100.00% 00:00:12/00:00:12]
Setting filesystem parameters:                     [100.00% 00:01:35/00:01:35]
Creating compressed image:                         [100.00% 01:42:55/01:42:55]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:00:01/00:00:01]
ls: cannot access livecd.iso: No such file or directory                       
Embedding MD5 checksum:
[                                                                            ]Argument "" isn't numeric in division (/) at /usr/sbi[  0.00% 00:00:00/00:00:00]Error - Unable to open file livecd.iso

Illegal division by zero at /usr/sbin/mylivecd line 291.

Next try!!

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              49G  7.2G   39G  16% /
/dev/sda3             114G  1.9G  112G   2% /home
[root@localhost tmp]# mylivecd /home/gerald/mylivecd.iso
mylivecd, version 0.9.3, 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:15/00:00:15]
Setting filesystem parameters:                     [100.00% 00:01:35/00:01:35]
Creating compressed image:                         [100.00% 01:58:20/01:58:20]
Creating isolinux boot:                            [100.00% 00:00:01/00:00:01]
Creating final iso:                                [100.00% 00:00:00/00:00:00]
ls: cannot access /home/gerald/mylivecd.iso: No such file or directory       
Embedding MD5 checksum:
[                                                                            ]Argument "" isn't numeric in division (/) at /usr/sbi[  0.00% 00:00:00/00:00:00]Error - Unable to open file /home/gerald/mylivecd.iso

Illegal division by zero at /usr/sbin/mylivecd line 291.

As can be seen, the 'df  -h' shows that I less than 10Gb to image
My root partition is 40Gb and my /home partition is 166GB, so there is plenty of space in either for the iso file to be created.
Your thought, as always, greatfully received
Gezza

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: mylivecd in virtualBox (usb Version)
« Reply #1 on: August 11, 2010, 03:15:46 AM »
Quote
...My root partition is 40Gb and my /home partition is 166GB...

Is that your actual size or the size used in VB? If you are creating the liceCD in VB, the size assigned to VB must be large enough.

Quote
[root@localhost PHP]# mylivecd

Give it a name. Try
Quote
[root@localhost PHP]# mylivecd gezza.iso

Use the name of your choice but give your iso a name.