Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: My server crashed ... nothing under /boot

  1. #1
    Join Date
    Nov 2006
    Beans
    944

    My server crashed ... nothing under /boot

    I have an Ubuntu Server that ... well just runs and needed little attendence.
    I note now that it will not boot.
    I booted a rescue CD and got a command prompt and noted that all my files
    are there excect that everything under /boot is missing -- its empty.
    Of course update-grub can't fix it.

    So, what is the best course of action that I can do to maintain all my Apache settings
    so I won't have to go through that exercise again?

    I'm not all that interested in "technical excellence", just get the server back up
    hosting my website as before.

    Thanks

    Carl
    Last edited by cwmoser; September 11th, 2014 at 03:04 PM.
    Carl
    My other hobby is antique Radios and TV restoration.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: My server crashed ... nothing under /boot

    Is that a separate /boot partition or the /boot folder?
    And which was your system using? Many servers have the separate /boot partition and then the /boot inside / is not used.
    Your fstab will tell if mounting a separate partition as /boot.

    If you are using live installer as rescue disk install Boot-Repair and post link to BootInfo report so we can see details.


    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Nov 2006
    Beans
    944

    Re: My server crashed ... nothing under /boot

    I got my server up now but I don't understand some things.

    I could use a Rescue Disk, drop to command prompt and see my files but not anything under /boot.

    mount showed something odd like this:
    /dev/mapper/serverm2-root 226G 94G 121G 44% /

    The name of my server is "serverm2"

    So, what I did was take out the Hard Drive, stuff it in a USB drive enclosure, and hook it to my
    desktop PC. There I could only mount the first partition and see some boot files like:

    abi-3.2.0-32-server
    initrd.img-3.2.0-32-server
    System.map-3.2.0-32-server
    vmlinuz-3.2.0-32-server

    Soooo, I copied these files to a Thumb Drive.
    Then remounted the Hard Drive in the Server, connected the Thumb Drive.
    Booted the Server using the Rescue Disk and copied the boot files from the
    Thumb Drive to my empty /boot folder.

    Rebooted the Server and now it works.

    I think I am ignorant about the partitioning going on with my Server.
    Its Ubuntu 12.04 command prompt only.

    Carl
    Carl
    My other hobby is antique Radios and TV restoration.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: My server crashed ... nothing under /boot

    It sounds like you have or had a separate /boot in fstab, but that got deleted and then system expected to boot from /boot folder in /?
    But with LVM not sure how grub would then work at all unless system was reset and grub reinstalled.

    You can document install with Boot-Repair from Live installer.

    Or from server with bootinfoscript which is the first part of Boot-Repair's report.
    Boot Info Script courtesy of forum members meierfra & Gert Hulselmans
    Boot Info Script 0.61 is released April 2, 2012
    boot_info_script.sh" file renamed to "bootinfoscript
    http://sourceforge.net/projects/boot...atest/download
    Page with instructions and link to above new download:
    http://bootinfoscript.sourceforge.net/
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Nov 2006
    Beans
    944

    Re: My server crashed ... nothing under /boot

    Yes, you are right -- I also had the rescue CD to reinstall Grub.
    Carl
    My other hobby is antique Radios and TV restoration.

  6. #6
    Join Date
    Nov 2006
    Beans
    944

    Re: My server crashed ... nothing under /boot

    I don't uinderstand this when I ran the mount command:
    /dev/mapper/serverm2-root 226G 94G 121G 44% /

    What is this "mapper/serverm2-root" construct?????
    Carl
    My other hobby is antique Radios and TV restoration.

  7. #7
    Join Date
    Aug 2013
    Beans
    323

    Re: My server crashed ... nothing under /boot

    It is a LVM partition, if you don't know why it's there I think ubuntu needs LVM to encrypt whole system, so you may have chosen that option during install.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: My server crashed ... nothing under /boot

    LVM was another way around the 4 primary partition limit. It offers some advantages but is a logical overlay over physical partitions, so is more complicated. You cannot use gparted, but must use LVM tools to modify partitions.

    LVM - Logical Volume Management.
    Advantages/Disadvantages LVM Post #9
    http://ubuntuforums.org/showthread.php?t=1586328
    https://wiki.ubuntu.com/Lvm
    https://help.ubuntu.com/community/UbuntuDesktopLVM
    2014_02_22_Preparing Logical Volumes For Ubuntu Installations
    http://members.iinet.net/~herman546/...allations.html
    Issues on very large 19TB LVM ext4 64 bit partition
    http://ubuntuforums.org/showthread.php?t=2213785
    lvm How-To info older:
    http://ubuntuforums.org/showthread.php?t=141900
    http://tldp.org/HOWTO/LVM-HOWTO/index.html
    http://tldp.org/HOWTO/LVM-HOWTO/benefitsoflvmsmall.html
    sudo apt-get install lvm2
    sudo vgchange -ay
    LVM gui tool:
    http://www.howtogeek.com/127246/linu...ms-with-a-gui/
    sudo apt-get install system-config-lvm
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Nov 2006
    Beans
    944

    Re: My server crashed ... nothing under /boot

    oldfred, sotiris2. Thanks for the info on LVM. I never knew I had that setup.
    Its 12.04 and no GUI.

    I can't Clone the drive with Clonezilla. It gets errors on /dev/sda1, and when Clonezilla gets
    to /dev/sda5 its so slow that I just aborted the process.

    I have backed up all of /etc and www folders in case I need to rebuild this server.
    I did not intentionally select to encrypt when I installed the OS.
    When I rebuild it, I'm going to try to get it setup with partitions like on the desktop Ubuntu OS's.

    Carl
    Carl
    My other hobby is antique Radios and TV restoration.

  10. #10
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: My server crashed ... nothing under /boot

    Moved to the Server Platforms sub-forum
    Please mark your thread as solved if you get a satisfactory response
    PopularPages - A Ubuntu Documentation Search Tool
    Ubuntu membership via Forums contributions

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •