PDA

View Full Version : [ubuntu] 14.04 LTS Server



scootec
July 24th, 2014, 10:39 AM
Hello,

I am trying to install Ubuntu 14.04 LTS Server Edition on a 3TB Raid0 (3x1TB) but booting stucks at grub prompt.
I also tried to repair the boot entries with boot-repair, but without success.
I tried to look for solutions on the forum but nothing could really help me.
Could someone please take a look at the following boot-repair log file and tell me what perhaps went wrong?!


Here is the boot-repair log:


Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 31Jan2013]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
2048 of the same hard drive for core.img, but core.img can not be found at
this location.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________ ________________________

File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /Boot/bootx64.efi /ubuntu/grubx64.efi
/EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi
/EFI/ubuntu/grubx64.efi /EFI/ubuntu/shimx64.efi
/Microsoft/Boot/bootmgfw.efi
/Microsoft/Boot/bootx64.efi
/EFI/Microsoft/Boot/bootmgfw.efi
/EFI/Microsoft/Boot/bootx64.efi

sda2: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda3: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg

sda4: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab

sdb1: __________________________________________________ ________________________

File system: vfat
Boot sector type: SYSLINUX 4.07 2013-07-25
Boot sector info: Syslinux looks at sector 30510 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the /uui
directory. No errors found in the Boot Parameter Block.
Operating System:
Boot files: /boot/grub/grub.cfg /EFI/BOOT/grubx64.efi

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 2997.0 GB, 2996997980160 bytes
255 heads, 63 sectors/track, 364364 cylinders, total 5853511680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 1 4,294,967,295 4,294,967,295 ee GPT


GUID Partition Table detected.

Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 391,167 389,120 EFI System partition
/dev/sda2 391,168 2,247,915,519 2,247,524,352 Data partition (Linux)
/dev/sda3 2,247,915,520 2,251,821,055 3,905,536 Data partition (Linux)
/dev/sda4 2,251,821,056 2,314,321,919 62,500,864 Swap partition (Linux)
/dev/sda5 2,314,321,920 2,632,284,159 317,962,240 Data partition (Linux)

Drive: sdb __________________________________________________ ___________________

Disk /dev/sdb: 4007 MB, 4007657472 bytes
255 heads, 63 sectors/track, 487 cylinders, total 7827456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 * 128 7,827,455 7,827,328 c W95 FAT32 (LBA)


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 49F5-7BB2 vfat
/dev/sda2 e64dc3d2-4f61-4de0-a0a4-4211f2f4401c ext4
/dev/sda3 5076df76-a52d-4789-9841-f749e91047c9 ext4
/dev/sda4 b6fd8c52-29a0-48fb-bacf-8608b9bd426f swap
/dev/sda5 c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7 ext4
/dev/sdb1 160D-1C20 vfat UUI

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,ioc harset=iso8859-1,shortname=mixed,errors=remount-ro)


============================= sda3/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7
else
search --no-floppy --fs-uuid --set=root c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=-1
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=10
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=10
fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5076df76-a52d-4789-9841-f749e91047c9
else
search --no-floppy --fs-uuid --set=root 5076df76-a52d-4789-9841-f749e91047c9
fi
linux /vmlinuz-3.13.0-24-generic root=UUID=c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7 ro quiet splash $vt_handoff
initrd /initrd.img-3.13.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7' {
menuentry 'Ubuntu, with Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5076df76-a52d-4789-9841-f749e91047c9
else
search --no-floppy --fs-uuid --set=root 5076df76-a52d-4789-9841-f749e91047c9
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /vmlinuz-3.13.0-24-generic root=UUID=c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7 ro quiet splash $vt_handoff
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.13.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7' {
recordfail
load_video
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 5076df76-a52d-4789-9841-f749e91047c9
else
search --no-floppy --fs-uuid --set=root 5076df76-a52d-4789-9841-f749e91047c9
fi
echo 'Loading Linux 3.13.0-24-generic ...'
linux /vmlinuz-3.13.0-24-generic root=UUID=c56c4fad-e2ab-46fb-a41a-21ce7bf37fc7 ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /initrd.img-3.13.0-24-generic
}
}

THANK YOU VERY MUCH IN ADVANCE!

TheFu
July 24th, 2014, 02:22 PM
Can you please be more exact at where the boot gets stuck - pre-install, after the first reboot or after the 2nd reboot?

HDDs larger than 2TB need to be GPT formated. Yours is, which is good.
However, not all BIOS/firmware support booting GPT without UEFI. I would google on your specific MB and BIOS to see if that could be the issue.

Wish I had more to say. None of my servers use UEFI and my only 4TB HDD that is also boot, is NOT UEFI (thanks to the BIOS not being broken here). It is "server".

scootec
July 24th, 2014, 04:22 PM
It stucks after the 1st reboot.
Concerning the UEFI mode and GPT: in bios uefi boot mode is enabled.

TheFu
July 24th, 2014, 04:26 PM
Please run the boot-info script and post the link here that it created.

glitch83
July 24th, 2014, 05:13 PM
It stucks after the 1st reboot.
Concerning the UEFI mode and GPT: in bios uefi boot mode is enabled.

I've been watching the 14.04.1 point release today waiting so I can upgrade from 12.04 (finally!) and I noticed this serious bug:
Launchpad link (https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1327133)

Does anyone know if this is going to be an issue (the RAID bugs) when upgrading? I'm kind of afraid of upgrading at this point...


EDIT: Nevermind, I misunderstood the bug/comment

scootec
July 24th, 2014, 07:05 PM
Update: A guided installation with LVM works!
But why it didn't work for my setup:

200 MB /boot/efi partition with boot flag
32 GB swap-area
2.8 TB /scratch
rest is /