-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customized ubuntu-amd-64 image not installing #29
Comments
The descriptions are somewhat vague. If I understand well:
And assuming above steps are correct, KIndly answer these questions first. MUBIIN |
[1] Host: Ubuntu Desktop 12.04 LTS x64 [2] Branch: master. Customizer was installed with the dropbox script found here: https:/clearkimura/Customizer/wiki Note: This installs Customizer to /opt/Customizer which requires superuser access [3] I was using the same ISO directly from the Ubuntu website: ubuntu-12.04.2-desktop-amd64.iso. Your understanding is accurate. Some more info: I have tried working directory as /home (default) and also /home/USERNAME/ to isolate permissions issues. As I mentioned before, a related issue is probably causing the size discrepancy as well. This is a screen shot of the requirements page for the ISO created with Customizer It asks for at least 1.2 GB available drive space. A vanilla installation for Ubuntu 12.04 Desktop requires ~4.4 GB available drive space In the "Copying Files" step during installation, this is the error screen: In the console output, the above mentioned error is described. |
So you are running a 64-bit host and using 64-bit ISO. My pre-assumption is, Customizer doesn't seemed to be the problem here. Since you reports installer crash and disk size discrepancy issue, I Here, I will have to ask other questions as well: [4] Are you using the latest VirtualBox release for your 64-bit host [5] Do you have enough virtual disk space created in VirtualBox i.e. 5 GB VDI? [6] Do you have enough virtual memory set in VirtualBox i.e. 512 MB RAM? If your answer is all "YES" for above additional questions, [a] disconnect from Internet before installation [b] choose "Try Ubuntu without installing" menu when booting LiveCD [c] before installation, remove "ubiquity-slideshow-ubuntu" package See if either one can solve your issue? MUBIIN |
Did you choose to delete the boot files? |
Is the issue solved and if yes did you found the cause and solution for it? |
I'm closing this issue, since there is no reply from user for quite some time. Unless there is a reply, anyone can choose to reopen this issue if this issue persists. Marked as Invalid. |
The second issue @aymanim described (see the last two sentences from his initial report) may be true, maybe Ubuntu changed the way the filesystem size is stored (different units?) but I'm not going to test that. |
Recent Ubuntu releases calculates the disk size using base 10. Ubuntu 10.10 or newer will now see 1 MB as 1000 bytes. Ubuntu 10.04 or older will still see 1 MB as 1024 bytes. Aside from above, there are few other unknowns:
.. and the list goes on. I had never used 64-bit machine before, so I can't reproduce this issue anyway. What I can do is, to check the recent Ubuntu release ( i.e. 12.04 ) 32-bit ISO rebuilded on 32-bit host. So far I have only checked the rebuilded ISO can be boot as Live CD on VirtualBox, but I haven't try to install on VirtualBox disk yet. |
I don't have Ubuntu ISO images from 10.10 to recent releases because the free LiveCD service has stopped. And I don't download Ubuntu ISO image file anymore because it is now larger than CD size, not suitable for slow connection user like me. Tested Xubuntu 12.04 32-bit ISO rebuilded in Customizer 3.2.3 instead.
What can I tell here:
And as matter of fact:
Verdict: |
This issue is found to be "Invalid" in earlier findings. |
Some accidential findings indirectly related to this issue, while looking into just solved issue #37 by @fluxer last weekend. Latest Customizer (gambas3) has been installed successfully on Xubuntu 12.04 (32-bit) virtual machine, under VirtualBox 4.3 (32-bit) emulator, with virtual hard disk created using VDI file format. Case 1: Fixed allocated VDI
Case 2: Dynamically allocated VDI (cloned and resized from Case 1)
Early findings show that virtual hard disk type has effect on application (Customizer) behaviour when extracting ISO to working directories. However, this needs to be compared with Xubuntu 12.04 (32-bit) on real machine, for above justification. To be confirmed later. |
Follow up on accidential findings, while double-confirming issue #37 just now. Xubuntu 12.04 (32-bit) has been reinstalled on a newly created, "fixed allocated" VDI hard disk.
Even without testing on real machine, this reproduction of Case 1 strongly suggests that user should always use "fixed allocated" VDI hard disk whenever using Customizer in virtual machine. |
Maybe this is a bug with ubiquity, you should try with newer version. Try to fetch the ubiquity packages for other release and install them manually in the chroot environment. If that helps then it's a bug in ubiquity. |
Recently, I experienced this issue while continue to test drive Customizer from devel branch. I had tried out with the following setup.
Even I had already installed One similar symptom is, the discrepancy of free disk space.
At this point, I am unsure if the required disk space shown in Ubiquity installer is actually depends on the ISO image file size in use? This makes sense, because the remix I had rebuilded is about 300+ MB and required free disk space is 700+ MB, which is about 2.5 times of ISO image file size. Besides this, my installation will fail after the installer had shown "almost finished installation" message. I have confirmed that disk has been formatted and typical Linux FileSystem structures are present on the disk. Despite this, I was unable to boot into Live session. Quick googling also reveals that few users filed similar bug under I won't jump to conclusion yet, as I am still trying to find any workaround. Many things I am yet to try: using latest version of its dependency packages especially I will follow up this issue for time being, but on irregular basis due to my working condition. |
I will try to reproduce in the near future but I can not promise anything. If you can share the ISO you had problems with that would be great, I know that your internet connection is not very good so worry not if you can't. |
I found the cause for the issue about the disk space requirement. Fix should be submitted shorty, I'm testing right now to ensure the fix works as it should. |
@fluxer Moreover, users whom had filed bugs at launchpad are those supposedly using official ISO images. In contrast, After all, @aymanim experienced this issue using master/ gambas3 branch. But I failed to reproduce this issue using these stable branches (as reported in earlier comments). I'm curious. What leads you find this issue is related to Customizer now? Sent using a Sony Ericsson mobile phone |
@clearkimura Official 12.04 amd64 Xubuntu ISO filesystem.size content - 2257629184 I will test further in a few days once I have more free time and see if I can further improve on that commit. And to let you know about the Gambas2/3 branches - they are not supposed to work with later release, as I've said before - things change. I have not used those branches for quite a while. Above all, my so called fix is supposed to fix a side issue - the one that makes Ubiquity require less free disk space than it should. It may or may not fix the issues with the actual installation, I really doubt it will but is worth the shot since one error can cause many more. |
Some follow up from my previous comments:
I found the cause of this installation failure by The installation will fail when using Apparently, this issue is already reported by someone on launchpad, but nobody really attend it when I found the thread last time.
As for this free disk issue, I got mixed up with the installation failure issue. My bad. Regardless of the free disk requirement, I was able to do installation to an 8GB "fixed allocated" VDI hard disk (same environment setup as explained in earlier comment). Except, I am still using the older commit 98cc689 to do the successful installation. |
So, we can consider this a issue that is not our own per-se. @clearkimura |
Apparently. With one exception: the original issue submission by @aymanim case. We couldn't figure out what was all that about. It may have been resolved in other workaround, hopefully. @fluxer |
I suspect that the original issue mentioned in the first post by @aymanim is due to boot files being deleted, which is no longer supported by the devel version (for a good reason) which causes more troubles than any good since most users used it without reading the documentation you provide where (if I remember correctly) there is a fat warning about it that it will break the installation process. |
This issue shall be closed, because "old stable" will be deprecated. For future issues, please submit to official fork: https:/kamilion/customizer P.S.: The official fork was removed, then "old stable" repo will be transferred to fork maintainer. |
Here are the basic repro steps:
Base image: Ubuntu LTS 12.04
Visualization: VirtualBox
Customizer version: 3.2.3
In virtualbox, I create a new VM and installed the vanilla ISO (from ubuntu.com). It installs as expected.
In Customizer, I "Select ISO" of the same ISO and click "Rebuild ISO" without any modifications. It produces another iso which I use to install on another VM in virtualbox.
During the installation, I get the following error in the copying files phase:
Invalid DOS Header Magic
Can't load image file /target/boot/vmlinuz-3.2.0-51-generic
Partial stack trace:
File "/usr/share/ubiquity/install.py" line 739 in install.run()
File "/usr/share/ubiquity/install.py", line 134, in run self.copy_all()
....
Another discrepancy is that during the original ISO installation, Ubuntu asks for 4.4 GB of free space. During the customized ISO installation, Ubuntu asks for ~1.8 GB of free space.
The text was updated successfully, but these errors were encountered: