no /cdrom directory

12 views
Skip to first unread message

Eli Criffield

unread,
Nov 6, 2006, 3:57:11 PM11/6/06
to reconstructor-devel

reconstructor bombs if you don't already have a /cdrom directory. (Why
would you? ubuntu uses /media/cdrom for automounting cdroms) It should
use something like /mnt/cdrom and autocreate it if it doesn't exsist.

It also continues like its working, (mite want to raise an exeption if
you don't have any files) you have to look at the console to see why
nothing happened.

Eli Criffield

This is the errors i got ----

Reconstructor -- (c) Reconstructor Team, 2006
Version: 2.0
http://reconstructor.aperantis.com

Checking dependencies...
Ok.
CheckPage: 0

CheckPage: 1

INFO: Saving working directory information...
Custom Directory: /home/ecriffield/reconstructor
Create Remaster Directory: True
Create Custom Root: True
Create Initrd Root: True
ISO Filename: /home/ecriffield/isos/ubuntu-6.10-desktop-i386.iso

INFO: Setting up working directory...
INFO: Removing existing Remaster directory...
Using ISO for remastering...
mount: mount point /cdrom does not exist
Copying files...
rsync: link_stat "/cdrom/." failed: No such file or directory (2)
rsync error: some files could not be transferred (code 23) at
main.c(791)
Finished copying files...
umount: /cdrom: not found
INFO: Removing existing Custom Root directory...
INFO: Creating Custom Root directory...
Using ISO for squashfs root...
mount: mount point /cdrom does not exist
Mounting squashfs...
/cdrom/casper/filesystem.squashfs: No such file or directory
Extracting squashfs root...
Unmounting tmpsquash...
umount2: Invalid argument
umount: /home/ecriffield/reconstructor/tmpsquash: not mounted
Unmounting /cdrom...
umount2: No such file or directory
umount: /cdrom: not found
Removing tmpsquash...
Setting proper permissions...
chmod: cannot access
`/home/ecriffield/reconstructor/root/usr/bin/sudo': No such file or
directory
chmod: cannot access `/home/ecriffield/reconstructor/root/etc/sudoers':
No such file or directory
Finished extracting squashfs root...
INFO: Removing existing Initrd directory...
INFO: Creating Initrd directory...
Using ISO for initrd...
mount: mount point /cdrom does not exist
Extracting Initial Ram Disk (initrd)...
cat: /cdrom/casper/initrd.gz: No such file or directory

gzip: stdin: unexpected end of file
cpio: premature end of archive
umount: /cdrom: not found
Traceback (most recent call last):
File "reconstructor.py", line 2998, in setupWorkingDirectory
self.loadCdVersion()
File "reconstructor.py", line 363, in loadCdVersion
f = file(os.path.join(self.customDir, "root/etc/lsb-release"), 'r')
IOError: [Errno 2] No such file or directory:
'/home/ecriffield/reconstructor/root/etc/lsb-release'
Loading modules...
Module: mod-install-java_jre loaded...
Module: mod-install-codecs_ugly-ejh loaded...
Module: mod-install-blender-ejh loaded...
Module: mod-boot-firefox loaded...
Module: mod-install-apache2_server-ejh loaded...
Module: mod-uninstall-evolution-ejh loaded...
Module: mod-install-nfs-server-ejh loaded...
Module: mod-install-flash-ejh loaded...
Module: mod-uninstall-ekiga-ejh loaded...
Module: mod-install-vmware_player-ejh loaded...
Module: mod-install-samba_server-ejh loaded...
Module: mod-uninstall-gimp-ejh loaded...
Module: mod-install-openssh_server-ejh loaded...
Module: mod-install-vlc-ejh loaded...
Module: mod-install-dhcp3_server loaded...
Module: mod-install-mplayer-ejh loaded...
Module: mod-install-mysql_server-ejh loaded...
Module: mod-install-mencoder-ejh loaded...
Module: mod-uninstall-gaim-ejh loaded...
Module: mod-install-inkscape-ejh loaded...
Module: mod-install-ogle-ejh loaded...
Module: mod-install-codecs_bad-ejh loaded...
Module: mod-uninstall-openoffice-ejh loaded...
Calculating ISO Size...
CheckPage: 1

Evan Hazlett

unread,
Nov 6, 2006, 5:32:47 PM11/6/06
to reconstru...@googlegroups.com
thanks for the feedback.  there is a bug (actually the first one) on launchpad for that exact thing.  for some reason, some ubuntu installations have /cdrom, and others do not.  i came from a debian environment, and there was always /cdrom.  that will most likely be the fix -- first try to use /mnt/cdrom, and if not available, create a temporary mount point. 

i will also try to improve the error handling...

thanks for the input...

evan

Eli Criffield

unread,
Nov 7, 2006, 1:40:44 AM11/7/06
to reconstructor-devel

Error handing is like documentation, its always the last thing i do...

Thanks for the quick responce.

Eli Criffield

Reply all
Reply to author
Forward
0 new messages