• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Deploying Ubuntu 12.04 LTS image not working.

Scheduled Pinned Locked Moved
Linux Problems
4
14
4.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K
    kelly.bettendorf
    last edited by Oct 16, 2013, 5:24 PM

    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.

    FOG settings,
    Image:
    Image name-ubuntu
    Storage Group-Default
    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]

    1 Reply Last reply Reply Quote 0
    • K
      kelly.bettendorf
      last edited by Oct 16, 2013, 5:29 PM

      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]

      1 Reply Last reply Reply Quote 0
      • J
        Jaymes Driver Developer
        last edited by Oct 16, 2013, 6:33 PM

        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.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • K
          kelly.bettendorf
          last edited by Oct 16, 2013, 6:36 PM

          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.

          1 Reply Last reply Reply Quote 0
          • K
            kelly.bettendorf
            last edited by Oct 16, 2013, 6:38 PM

            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.

            1 Reply Last reply Reply Quote 0
            • J
              Jaymes Driver Developer
              last edited by Oct 16, 2013, 6:50 PM

              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.

              WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

              1 Reply Last reply Reply Quote 0
              • J
                Jaymes Driver Developer
                last edited by Oct 16, 2013, 6:57 PM

                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.

                sudo update-grub

                Tab to “Yes” when prompted.
                Reboot

                Clean and upload again.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • K
                  kelly.bettendorf
                  last edited by Oct 16, 2013, 6:57 PM

                  Yea tried that and multipartition for multiple hard drives ( only using 1 hard drive) same result.

                  Thanks for help

                  1 Reply Last reply Reply Quote 0
                  • K
                    kelly.bettendorf
                    last edited by Oct 16, 2013, 6:58 PM

                    I will give that a try and let everyone know how it goes.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kelly.bettendorf
                      last edited by Oct 17, 2013, 1:57 AM

                      OK! changing to the older grub did the trick!

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jaymes Driver Developer
                        last edited by Oct 17, 2013, 12:31 PM

                        Awesome, Noted for future attempts! Thanks for letting us know it worked!~

                        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                        1 Reply Last reply Reply Quote 0
                        • T
                          Tom Elliott
                          last edited by Jun 12, 2014, 11:11 AM

                          [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.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • K
                            kelly.bettendorf
                            last edited by Jun 12, 2014, 5:01 PM

                            [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]

                            Tom,

                            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.

                            1 Reply Last reply Reply Quote 0
                            • L
                              lnwpen88 Banned
                              last edited by Nov 27, 2014, 10:57 AM

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post

                              165

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project