shinchan
Newbie
Offline
Posts: 3
|
 |
« on: March 14, 2012, 08:01:41 PM » |
|
Hi guys, new here. Need help if you have some spare time. TIA.
I've started to mock around with remastersys yesterday to create an image of a custom Ubuntu 11.10 (it's a VM). I want minimal install so i removed unnecessary software, added 2 extra source files, and then proceeded to create a distribution copy. The created iso file is only 222MB (is that normal? my disk usage is at 4GB). When i tried to boot to the new iso, i get the following error:
(initramfs) mount: mounting /dev/loop0 on //filesystem.squashfs failed
I know this error can happen on a bad image, so i'm thinking that maybe something went wrong with the remastersys process (?!). Any thoughts?
Below are the logs. I can't see any problem aside from the 'No file/directory' error. If you can please help me figure out if i missed a step. I thought it's pretty straightforward. I already tried to read back on steps/how-tos, ran into similar questions, but couldn't find anything useful in my case.
<REMASTERSYS LOGS> Distribution Mode Selected Enabling remastersys-firstboot Adding system startup for /etc/init.d/remastersys-firstboot ... /etc/rc0.d/K20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc1.d/K20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc6.d/K20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc2.d/S20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc3.d/S20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc4.d/S20remastersys-firstboot -> ../init.d/remastersys-firstboot /etc/rc5.d/S20remastersys-firstboot -> ../init.d/remastersys-firstboot Checking filesystem type of the Working Folder as it must be a valid linux filesystem for permissions /home/remastersys/remastersys is on an ext4 filesystem Making sure popularity contest is not installed Installing the Ubiquity GTK frontend Checking if the /home/remastersys/remastersys folder has been created Creating /home/remastersys/remastersys/ISOTMP folder tree Copying /var and /etc to temp area and excluding extra files ... this will take a while so be patient Cleaning up files not needed for the live in /home/remastersys/remastersys/dummysys /usr/bin/remastersys: line 378: /home/remastersys/remastersys/dummysys/etc/gdm/gdm.conf-custom: No such file or directory Cleaning up passwd, group, shadow and gshadow files for the live system Making sure adduser and autologin functions of casper are set properly Copying memtest86+ for the live system Creating isolinux setup for the live system Checking the ARCH of the system and setting the README.diskdefines file Creating filesystem.manifest and filesystem.manifest-desktop Creating the casper.conf file. Checking and setting user-setup-apply for the live system Setting up casper and ubiquity options for dist mode Creating a new initial ramdisk for the live system Copying your kernel and initrd for the livecd Creating filesystem.squashfs ... this will take a while so be patient Adding stage 1 files/folders that the livecd requires Parallel mksquashfs: Using 2 processors Creating 4.0 filesystem on /home/remastersys/remastersys/ISOTMP/casper/filesystem.squashfs, block size 1048576. [=============================================================/] 8645/8645 100% Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 1048576 compressed data, compressed metadata, compressed fragments, compressed xattrs duplicates are not removed Filesystem size 122706.67 Kbytes (119.83 Mbytes) 35.33% of uncompressed filesystem size (347352.78 Kbytes) Inode table size 117700 bytes (114.94 Kbytes) 32.38% of uncompressed inode table size (363480 bytes) Directory table size 110615 bytes (108.02 Kbytes) 39.37% of uncompressed directory table size (280967 bytes) No duplicate files removed Number of inodes 10432 Number of files 8635 Number of fragments 72 Number of symbolic links 922 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 875 Number of ids (unique uids + gids) 19 Number of uids 8 root (0) daemon (1) lightdm (104) man (6) avahi-autoipd (105) colord (102) libuuid (100) speech-dispatcher (111) Number of gids 16 root (0) daemon (1) dip (30) lp (7) fuse (104) ssl-cert (117) admin (118) games (60) colord (105) avahi-autoipd (112) crontab (102) libuuid (101) lightdm (108) mlocate (110) staff (50) mail (8) Adding stage 2 files/folders that the livecd requires Found a valid exportable SQUASHFS superblock on /home/remastersys/remastersys/ISOTMP/casper/filesystem.squashfs. Compression used gzip Inodes are compressed Data is compressed Fragments are compressed Xattrs are compressed Fragments are present in the filesystem Always_use_fragments option is specified Duplicates are not removed Xattrs are stored Filesystem size 122706.67 Kbytes (119.83 Mbytes) Block size 1048576 Number of fragments 72 Number of inodes 10432 Number of ids 19
Parallel mksquashfs: Using 2 processors Scanning existing filesystem... Read existing filesystem, 10431 inodes scanned Appending to existing 4.0 filesystem on /home/remastersys/remastersys/ISOTMP/casper/filesystem.squashfs, block size 1048576 All -b, -noI, -noD, -noF, -noX, no-duplicates, no-fragments, -always-use-fragments, -exportable and -comp options ignored
If appending is not wanted, please re-run with -noappend specified!
No recovery data option specified. Skipping saving recovery file.
[===| ] 4883/80923 6%/usr/bin/remastersys: line 222: 11288 Killed mksquashfs / $WORKDIR/ISOTMP/casper/filesystem.squashfs $SQUASHFSOPTS -e root/.thumbnails root/.cache root/.bash_history root/.local/share/Trash Cache boot/grub dev etc home lost+found media mnt proc run sys tmp var $BASEWORKDIR $EXCLUDES 2> /dev/null Updating the remastersys.log Removing the ubiquity frontend as it has been included and is not needed on the normal system Calculating the installed filesystem size for the installer Can't find a SQUASHFS superblock on /home/remastersys/remastersys/ISOTMP/casper/filesystem.squashfs Removing remastersys-firstboot from system startup Removing any system startup links for /etc/init.d/remastersys-firstboot ... /etc/rc0.d/K20remastersys-firstboot /etc/rc1.d/K20remastersys-firstboot /etc/rc2.d/S20remastersys-firstboot /etc/rc3.d/S20remastersys-firstboot /etc/rc4.d/S20remastersys-firstboot /etc/rc5.d/S20remastersys-firstboot /etc/rc6.d/K20remastersys-firstboot Making disk compatible with Ubuntu Startup Disk Creator. Creating md5sum.txt for the livecd/dvd Creating custom-dist.iso in /home/remastersys/remastersys Creating custom-dist.iso.md5 in /home/remastersys/remastersys /home/remastersys/remastersys/custom-dist.iso which is 222M in size is ready to be burned or tested in a virtual machine.
|