Deploying Ubuntu 12.04 LTS image not working.
Ok so i know this works i have gotten it to work before but now when i try and deploy my newly created ubuntu 12.04lts image the system restarts and freezes at a black screen that says booting… after about 1 min or so it restarts and repeats.
I think im doing something wrong with my upload process for the image. its been quite some time since i have uploaded any linux images for redeployment.
Image type- Multiple partition image disk single disk.
On the host:
host image- ubuntu
host OS- Linux(50)
When creating the ubuntu master image i did a custom partitioning for installing ubuntu in ext3 and to use the whole disk.
before i upload the ubuntu master image i boot to the live CD and run fsck /dev/sda1 which then says the disk is clean. shutdown the system and start the upload.
[SIZE=2]An [/SIZE]alternative[SIZE=2] thought, if i created the master image on a smaller hard drive then uploaded it as a RAW would that work for deploying the ubuntu image?[/SIZE]
This post is deleted!
[quote=“Tom Elliott, post: 30007, member: 7271”]If you get a chance, can you try the latest of FOG? fractal13, one of the developers now, found quite a few “tricks” to maybe allow this to work.
If you’re able to test at all and just let us know if this works for you as well, that would be amazing. What this would, ultimately, mean is you no longer have to do the “old grub” trick.[/quote]
I will be working on are districts ubuntu image soon and will give this a try, I will let you know what i find.
I will capture the ubuntu image (will be running Ubuntu 12.04 and FOG 1.1) without altering GRUB and then i will try deploying to one of our student labs.
Tom Elliott last edited by
[quote=“kelly.bettendorf, post: 18241, member: 5100”]OK! changing to the older grub did the trick![/quote]
If you get a chance, can you try the latest of FOG? fractal13, one of the developers now, found quite a few “tricks” to maybe allow this to work.
If you’re able to test at all and just let us know if this works for you as well, that would be amazing. What this would, ultimately, mean is you no longer have to do the “old grub” trick.
Awesome, Noted for future attempts! Thanks for letting us know it worked!~
OK! changing to the older grub did the trick!
I will give that a try and let everyone know how it goes.
Yea tried that and multipartition for multiple hard drives ( only using 1 hard drive) same result.
Thanks for help
To downgrade GRUB2 to GRUB:
This works only when your boot is not broken!!!
Open a terminal.
Optional: Make backup copies of the main GRUB 2 directories and files.
sudo cp /etc/default/grub /etc/default/grub.old
sudo cp -R /etc/grub.d /etc/grub.d.old
sudo cp -R /boot/grub /boot/grub.old
[B]Remove GRUB 2[/B]
sudo apt-get purge grub-pc
The system will be unbootable until another bootloader is installed!!! DO NOT REBOOT!
[B]Install GRUB 0.97[/B]
sudo apt-get install grub
We still have to create the [B]menu.lst[/B] and [B]stage1/stage2[/B]
sudo grub-install /dev/sdX
Choose the correct device (sda, sdb, etc), normally the one on which Ubuntu is installed.
Tab to “Yes” when prompted.
Clean and upload again.
Okay good I was just trying to make sure the fog server was working as expected.
You can try the setting “Multipartition (all Disks)” this will capture all the disks and all the partitions for transfer, try to push your image again. If this fails, we will try to revert grub.
I know FOG itself is working just fine as i just imaged multiple other computers with windows images. its just related to my ubuntu image im not sure why.
Or i should say what’s causing this issue.
Yes i have deployed windows OS to them in the past and the PXE screen comes up. at the end of image deployment fog shows task completed.
Have you deployed to these machines in the past?
Is the image not deploying? or is it not loading your pxe boot screen?
I’ve not deployed a linux image yet but I will help troubleshoot as best I can.
Just let me know in full detail what you are doing to deploy your image, I’m sure we can work through it together.
Reading other threads i found a possible fix by removing[SIZE=2] grub2 and install grub legacy? i’m unsure how to do this but does anyone know if this could fix my issue?[/SIZE]
[SIZE=2]Thanks again everyone![/SIZE]