Ztcoracat |
04-11-2015 07:16 PM |
I'm not sure if you should modify the Grub configuration file or make a new menu entry.
Best to wait for yancek to read through this.
Code:
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img, but core.img can not be found at this
location.
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub2/grub.cfg
sda2: __________________________________________________________________________
File system: LVM2_member
Boot sector type: -
Boot sector info:
vg_tyton-lv_root': _____________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
vg_tyton-lv_home': _____________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
vg_tyton-lv_swap': _____________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
vg_tyton-lv_root-fc17': ________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 1,026,047 1,024,000 83 Linux
/dev/sda2 1,026,048 976,773,119 975,747,072 8e Linux LVM
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/vg_tyton-lv_home e0d3a1b1-c722-4017-a06b-bf9e48554187 ext4
/dev/mapper/vg_tyton-lv_root 76952072-ffb3-4bff-937e-7c4e76ef7345 ext4 _Fedora-21-x86_6
/dev/mapper/vg_tyton-lv_root--fc17 7cb2b944-820e-4840-9f14-39ab3b4ebaef ext4
/dev/mapper/vg_tyton-lv_swap e654081a-6209-490f-af8f-3447b33fe21c swap
/dev/sda1 6ccb50a7-afc1-4be1-819c-fe8c099b38e7 ext4
/dev/sda2 WnPONj-I5eg-ZSlB-cnC1-OyLF-T1I2-eCJyvp LVM2_member
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
vg_tyton-lv_home
vg_tyton-lv_root
vg_tyton-lv_root--fc17
vg_tyton-lv_swap
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/vg_tyton-lv_home /home ext4 (rw,relatime,seclabel,data=ordered)
/dev/mapper/vg_tyton-lv_root--fc17 /fed17 ext4 (rw,relatime,seclabel,data=ordered)
/dev/mapper/vg_tyton-lv_root / ext4 (rw,relatime,seclabel,data=ordered)
/dev/sda1 /boot ext4 (rw,relatime,seclabel,data=ordered)
============================= sda1/grub2/grub.cfg: =============================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -s $prefix/grubenv ]; then
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="${saved_entry}"
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 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
}
terminal_output console
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
set color_normal=light-green/blue
set color_highlight=magenta/white
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora, with Linux 3.19.1-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.19.1-201.fc21.x86_64-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
else
search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
fi
linux16 /vmlinuz-3.19.1-201.fc21.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet
initrd16 /initramfs-3.19.1-201.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 3.18.8-201.fc21.x86_64' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.18.8-201.fc21.x86_64-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
else
search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
fi
linux16 /vmlinuz-3.18.8-201.fc21.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet
initrd16 /initramfs-3.18.8-201.fc21.x86_64.img
}
menuentry 'Fedora, with Linux 0-rescue-158f3a780cf14446af286add261223b1' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-158f3a780cf14446af286add261223b1-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
else
search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
fi
linux16 /vmlinuz-0-rescue-158f3a780cf14446af286add261223b1 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet
initrd16 /initramfs-0-rescue-158f3a780cf14446af286add261223b1.img
}
menuentry 'Fedora, with Linux 0-rescue-3f540a03e9884b57814861d28b2ee307' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-3f540a03e9884b57814861d28b2ee307-advanced-76952072-ffb3-4bff-937e-7c4e76ef7345' {
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
else
search --no-floppy --fs-uuid --set=root 6ccb50a7-afc1-4be1-819c-fe8c099b38e7
fi
linux16 /vmlinuz-0-rescue-3f540a03e9884b57814861d28b2ee307 root=/dev/mapper/vg_tyton-lv_root ro rd.lvm.lv=vg_tyton/lv_root rd.lvm.lv=vg_tyton/lv_swap rhgb quiet
initrd16 /initramfs-0-rescue-3f540a03e9884b57814861d28b2ee307.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Fedora release 17 (Beefy Miracle) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp' 7cb2b944-820e-4840-9f14-39ab3b4ebaef
else
search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
fi
linux16 /boot/vmlinuz-3.6.3-1.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
initrd16 /boot/initramfs-3.6.3-1.fc17.x86_64.img
}
submenu 'Advanced options for Fedora release 17 (Beefy Miracle) (on /dev/mapper/vg_tyton-lv_root--fc17)' $menuentry_id_option 'osprober-gnulinux-advanced-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
menuentry 'Fedora (3.6.3-1.fc17.x86_64) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.6.3-1.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp' 7cb2b944-820e-4840-9f14-39ab3b4ebaef
else
search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
fi
linux16 /boot/vmlinuz-3.6.3-1.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
initrd16 /boot/initramfs-3.6.3-1.fc17.x86_64.img
}
menuentry 'Fedora Linux (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp' 7cb2b944-820e-4840-9f14-39ab3b4ebaef
else
search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
fi
linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64--7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp' 7cb2b944-820e-4840-9f14-39ab3b4ebaef
else
search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
fi
linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
}
menuentry 'Fedora Linux, with Linux 3.3.4-5.fc17.x86_64 (recovery mode) (on /dev/mapper/vg_tyton-lv_root--fc17)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.3.4-5.fc17.x86_64-root=/dev/mapper/vg_tyton-lv_root ro single rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet-7cb2b944-820e-4840-9f14-39ab3b4ebaef' {
insmod part_msdos
insmod lvm
insmod ext2
set root='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/A31U5c-L5uY-EJxs-A8WH-2HJk-q7F6-h2fIBJ/IIDhsy-aacg-R63P-hQhH-bdPj-6U9u-V0VTGp' 7cb2b944-820e-4840-9f14-39ab3b4ebaef
else
search --no-floppy --fs-uuid --set=root 7cb2b944-820e-4840-9f14-39ab3b4ebaef
fi
linux16 /boot/vmlinuz-3.3.4-5.fc17.x86_64 root=/dev/mapper/vg_tyton-lv_root ro single rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=vg_tyton/lv_root KEYTABLE=us rd.luks=0 rd.lvm.lv=vg_tyton/lv_swap LANG=en_US.UTF-8 rhgb quiet
initrd16 /boot/initramfs-3.3.4-5.fc17.x86_64.img
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on vg_tyton-lv_root'
Unknown BootLoader on vg_tyton-lv_home'
Unknown BootLoader on vg_tyton-lv_swap'
Unknown BootLoader on vg_tyton-lv_root-fc17'
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-KDK84QF3/Tmp_Log: No such file or directory
Failed to find logical volume "vg_tyton/lv_root'"
Failed to find logical volume "vg_tyton/lv_root'"
Failed to find logical volume "vg_tyton/lv_root'"
hexdump: /dev/mapper/vg_tyton-lv_root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_root': No such file or directory
hexdump: all input file arguments failed
Failed to find logical volume "vg_tyton/lv_home'"
Failed to find logical volume "vg_tyton/lv_home'"
Failed to find logical volume "vg_tyton/lv_home'"
hexdump: /dev/mapper/vg_tyton-lv_home': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_home': No such file or directory
hexdump: all input file arguments failed
Failed to find logical volume "vg_tyton/lv_swap'"
Failed to find logical volume "vg_tyton/lv_swap'"
Failed to find logical volume "vg_tyton/lv_swap'"
hexdump: /dev/mapper/vg_tyton-lv_swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_swap': No such file or directory
hexdump: all input file arguments failed
skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
Cannot process volume group vg_tyton-lv_root-fc17'
skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
Cannot process volume group vg_tyton-lv_root-fc17'
skip_dev_dir: Couldn't split up device name vg_tyton-lv_root-fc17'.
Volume group name "vg_tyton-lv_root-fc17'" has invalid characters.
Cannot process volume group vg_tyton-lv_root-fc17'
hexdump: /dev/mapper/vg_tyton-lv_root-fc17': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/vg_tyton-lv_root-fc17': No such file or directory
hexdump: all input file arguments failed
mdadm: No arrays found in config file or automatically
|