LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-09-2014, 12:59 AM   #1
saeedit
Member
 
Registered: Jun 2011
Posts: 41

Rep: Reputation: Disabled
Unhappy Fedora/Kali Dual boot, Boot(grub) failed after Updating Fedora...


Hello guys.

After trying to update fedora (yum update),
my lenovo s430 failed to boot.
I try with Live Kali Linux to repair the grub, but there was some problems...

my boot was managed via fedora, i dont have access to any fedora live,
just a kali linux live

Code:
# grub-install /dev/sda1
output: command not found

# sudo add-apt-repository ppa:yannubuntu/boot-repair
output: unable to fetch some archives


# sudo mount /dev/sd9 /mnt
output: cant find /dev/sda9/mnt in /etc/fstab


here is the my grub location in kali:
# locate *grub
/etc/alternatives/desctop/40grub
/usr/lib/linux-boot-probes/mounted/40grub

How can i solve this case?
Thanks...
 
Old 05-09-2014, 02:23 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,587

Rep: Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507
"failed to boot" is meaningless. What happened when you tried to boot - did you get a menu, did you not get a menu ?. Could you get a grub command prompt ?.

Trying to install grub from a non-Fedora live environment will be worse - chroot into the Fedora system if you want to re-install from there.
 
Old 05-09-2014, 02:35 AM   #3
saeedit
Member
 
Registered: Jun 2011
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
"failed to boot" is meaningless. What happened when you tried to boot - did you get a menu, did you not get a menu ?. Could you get a grub command prompt ?.

Trying to install grub from a non-Fedora live environment will be worse - chroot into the Fedora system if you want to re-install from there.

Here is the shot of what happend after turning on.
Click image for larger version

Name:	Screenshot.png
Views:	80
Size:	207.7 KB
ID:	15464
 
Old 05-09-2014, 02:35 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,587

Rep: Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507
Just did a "yum update" on this F20 - picked up 152 packages. But not grub - hasn't been touched this year.
 
Old 05-09-2014, 02:39 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,587

Rep: Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507
That looks like a BIOS boot menu. What happens when you select the ATA hard disk (or Windows Boot Manager for that matter) ?.
 
Old 05-09-2014, 02:47 AM   #6
saeedit
Member
 
Registered: Jun 2011
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
That looks like a BIOS boot menu. What happens when you select the ATA hard disk (or Windows Boot Manager for that matter) ?.

Selecting the 1th and third choice causes to restart the system(there is no windows).
I have this exprience once before, When i just installing the fedora, but forgot to install the boot loader.
After reinstalling the fedora carefully, it solved.

Is it possible to handle it with fedora installation Disk? (not live)
 
Old 05-09-2014, 03:36 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,587

Rep: Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507
Let's see some additional info - from the Kali liveCD go here and do as it says (you may be able to just double-click the tar.gz to unroll it).
Post the RESULTS.txt here so we can see what's what.
 
Old 05-09-2014, 04:14 AM   #8
saeedit
Member
 
Registered: Jun 2011
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
Let's see some additional info - from the Kali liveCD go here and do as it says (you may be able to just double-click the tar.gz to unroll it).
Post the RESULTS.txt here so we can see what's what.

Here is the output:
Code:
                  Boot Info Script 0.61      [1 April 2012]


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

 => 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.
 => Windows is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Kali GNU/Linux 1.0.6
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/extlinux/extlinux.conf /boot/grub/core.img

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Fedora release 20 (Heisenbug) 
                       Kernel on an ()
    Boot files:        /boot/grub2/grub.cfg /etc/fstab

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

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

sda9: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048    97,656,831    97,654,784  83 Linux
/dev/sda2          97,656,832   292,968,447   195,311,616  83 Linux
/dev/sda3         292,968,448   308,592,639    15,624,192  82 Linux swap / Solaris
/dev/sda4         308,592,640   976,773,119   668,180,480   5 Extended
/dev/sda5         308,596,736   518,311,935   209,715,200  83 Linux
/dev/sda6         518,313,984   623,171,583   104,857,600  83 Linux
/dev/sda7         623,173,632   639,950,847    16,777,216  82 Linux swap / Solaris
/dev/sda8         639,952,896   849,668,095   209,715,200  83 Linux
/dev/sda9    *    849,670,144   976,773,119   127,102,976  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 7902 MB, 7902068736 bytes
255 heads, 63 sectors/track, 960 cylinders, total 15433728 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    15,422,399    15,422,272   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9   ext4       kali-root
/dev/sda2        52d11b2f-b288-497a-aeff-25ec2400b650   ext4       kali-home
/dev/sda3        e53fb92f-9071-4d35-90e4-185fb2e10ed5   swap       
/dev/sda5        ffd4dbce-5f00-44e3-af79-fe4c1334d705   ext4       fedora-home
/dev/sda6        f169df9d-b5bc-459c-bcc8-6248bde5d45c   ext4       fedora-roo
/dev/sda7        2395ad0d-303e-4eb4-ada3-051320b619cc   swap       
/dev/sda8        8e4dd729-f387-45f6-bc40-10bb22a3d9e9   ext4       DATA
/dev/sda9        6f1db96f-73ed-46d6-9b60-b15e3cd324b9   ext4       
/dev/sdb1        9648B3F148B3CDED                       ntfs       New Volume
/dev/sr0                                                iso9660    Kali Live

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

Device           Mount_Point              Type       Options

/dev/loop0       /lib/live/mount/rootfs/filesystem.squashfs squashfs   (ro,noatime)
/dev/sda1        /media/kali-root         ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
/dev/sda2        /media/kali-home         ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
/dev/sda5        /media/fedora-home       ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
/dev/sda8        /media/DATA              ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
/dev/sda9        /media/6f1db96f-73ed-46d6-9b60-b15e3cd324b9 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks)
/dev/sdb1        /media/New Volume        fuseblk    (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sr0         /lib/live/mount/medium   iso9660    (ro,noatime)


=========================== sda1/boot/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
  load_env
fi
set default="0"
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 {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
  set locale_dir=($root)/boot/grub/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
insmod png
if background_image /usr/share/images/desktop-base/kali-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 3.12-kali1-amd64' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	echo	'Loading Linux 3.12-kali1-amd64 ...'
	linux	/boot/vmlinuz-3.12-kali1-amd64 root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro initrd=/install/gtk/initrd.gz quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.12-kali1-amd64
}
menuentry 'Debian GNU/Linux, with Linux 3.12-kali1-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	echo	'Loading Linux 3.12-kali1-amd64 ...'
	linux	/boot/vmlinuz-3.12-kali1-amd64 root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro single initrd=/install/gtk/initrd.gz
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.12-kali1-amd64
}
### 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_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda2 during installation
UUID=52d11b2f-b288-497a-aeff-25ec2400b650 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=e53fb92f-9071-4d35-90e4-185fb2e10ed5 none            swap    sw              0       0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
--------------------------------------------------------------------------------

====================== sda1/boot/extlinux/extlinux.conf: =======================

--------------------------------------------------------------------------------
## /boot/extlinux/extlinux.conf
##
## IMPORTANT WARNING
##
## The configuration of this file is generated automatically.
## Do not edit this file manually, use: extlinux-update


default l0
prompt 1
timeout 50

include themes/debian/theme.cfg
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.12-kali1-amd64               2
               =                boot/vmlinuz-3.12-kali1-amd64                  1
            ?? = ??             vmlinuz                                        1

================= sda1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

               =                boot/extlinux/chain.c32                        1
               =                boot/extlinux/extlinux.conf                    1

============== sda1: Version of COM32(R) files used by Syslinux: ===============

 boot/extlinux/chain.c32            :  COM32R module (v4.xx)

========================== sda6/boot/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 ###
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
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (3.13.9-200.fc20.x86_64) 20 (Heisenbug)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-301.fc20.x86_64-advanced-f169df9d-b5bc-459c-bcc8-6248bde5d45c' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  f169df9d-b5bc-459c-bcc8-6248bde5d45c
	else
	  search --no-floppy --fs-uuid --set=root f169df9d-b5bc-459c-bcc8-6248bde5d45c
	fi
	linux	/boot/vmlinuz-3.13.9-200.fc20.x86_64 root=UUID=f169df9d-b5bc-459c-bcc8-6248bde5d45c ro vconsole.font=latarcyrheb-sun16  rhgb quiet LANG=en_US.UTF-8
	initrd /boot/initramfs-3.13.9-200.fc20.x86_64.img
}
menuentry 'Fedora, with Linux 3.11.10-301.fc20.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-301.fc20.x86_64-advanced-f169df9d-b5bc-459c-bcc8-6248bde5d45c' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  f169df9d-b5bc-459c-bcc8-6248bde5d45c
	else
	  search --no-floppy --fs-uuid --set=root f169df9d-b5bc-459c-bcc8-6248bde5d45c
	fi
	linux	/boot/vmlinuz-3.11.10-301.fc20.x86_64 root=UUID=f169df9d-b5bc-459c-bcc8-6248bde5d45c ro vconsole.font=latarcyrheb-sun16  rhgb quiet LANG=en_US.UTF-8
	initrd /boot/initramfs-3.11.10-301.fc20.x86_64.img
}
menuentry 'Fedora, with Linux 0-rescue-528653bad92d406082271fc360330713' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-0-rescue-528653bad92d406082271fc360330713-advanced-f169df9d-b5bc-459c-bcc8-6248bde5d45c' {
	load_video
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos6'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6'  f169df9d-b5bc-459c-bcc8-6248bde5d45c
	else
	  search --no-floppy --fs-uuid --set=root f169df9d-b5bc-459c-bcc8-6248bde5d45c
	fi
	linux	/boot/vmlinuz-0-rescue-528653bad92d406082271fc360330713 root=UUID=f169df9d-b5bc-459c-bcc8-6248bde5d45c ro vconsole.font=latarcyrheb-sun16  rhgb quiet
	initrd	/boot/initramfs-0-rescue-528653bad92d406082271fc360330713.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 'Debian GNU/Linux (Kali Linux 1.0.6) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9' {
	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'  238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	else
	  search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
	fi
	linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro initrd=/install/gtk/initrd.gz quiet
	initrd /boot/initrd.img-3.12-kali1-amd64
}
submenu 'Advanced options for Debian GNU/Linux (Kali Linux 1.0.6) (on /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9' {
	menuentry 'Debian GNU/Linux, with Linux 3.12-kali1-amd64 (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.12-kali1-amd64--238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9' {
		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'  238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
		else
		  search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
		fi
		linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro initrd=/install/gtk/initrd.gz quiet
		initrd /boot/initrd.img-3.12-kali1-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.12-kali1-amd64 (recovery mode) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.12-kali1-amd64-root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro single initrd=/install/gtk/initrd.gz-238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9' {
		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'  238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
		else
		  search --no-floppy --fs-uuid --set=root 238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9
		fi
		linux /boot/vmlinuz-3.12-kali1-amd64 root=UUID=238ab1ce-aa70-404e-b1ac-4c0dbe94b8d9 ro single initrd=/install/gtk/initrd.gz
		initrd /boot/initrd.img-3.12-kali1-amd64
	}
}

### 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 ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------

#
# /etc/fstab
# Created by anaconda on Sat Apr 12 00:09:06 2014
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=f169df9d-b5bc-459c-bcc8-6248bde5d45c /                       ext4    defaults        1 1
UUID=ffd4dbce-5f00-44e3-af79-fe4c1334d705 /home                   ext4    defaults        1 2
UUID=2395ad0d-303e-4eb4-ada3-051320b619cc swap                    swap    defaults        0 0
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

               =                boot/grub2/grub.cfg                            2
               =                boot/initramfs-0-rescue-528653bad92d406082271fc360330713.img  2
               =                boot/initramfs-3.11.10-301.fc20.x86_64.img     2
               =                boot/initramfs-3.13.9-200.fc20.x86_64.img      1
               =                boot/initrd-plymouth.img                       1
               =                boot/vmlinuz-0-rescue-528653bad92d406082271fc360330713  1
               =                boot/vmlinuz-3.11.10-301.fc20.x86_64           1
               =                boot/vmlinuz-3.13.10-200.fc20.x86_64           2
               =                boot/vmlinuz-3.13.9-200.fc20.x86_64            1

=============================== StdErr Messages: ===============================

awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
  No volume groups found
 
Old 05-09-2014, 10:57 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,587

Rep: Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507Reputation: 3507
Very suspicious that /dev/sda9 has the boot flag - did you try another install to /dev/sda9 ?.
Some BIOS are very sensitive to boot flag - by definition M$of don't allow it on a logical partition. Take it off /dev/sda9, and put it on /dev/sda1 - grub doesn't care about it.
Then I'd boot the Kali liveCD - you have two choices really:
- allow Kali to do the boot, and simply boot into the on-disk Kali if they have such an option and install grub to /dev/sda from there.
- chroot into Fedora and install grub to /dev/sda from there.
 
Old 05-10-2014, 01:35 AM   #10
saeedit
Member
 
Registered: Jun 2011
Posts: 41

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by syg00 View Post
Very suspicious that /dev/sda9 has the boot flag - did you try another install to /dev/sda9 ?.
Some BIOS are very sensitive to boot flag - by definition M$of don't allow it on a logical partition. Take it off /dev/sda9, and put it on /dev/sda1 - grub doesn't care about it.
Then I'd boot the Kali liveCD - you have two choices really:
- allow Kali to do the boot, and simply boot into the on-disk Kali if they have such an option and install grub to /dev/sda from there.
- chroot into Fedora and install grub to /dev/sda from there.

Thanks,
There is no grub-install command in kali, i dont know why any try to install it failed,
any way, as you said, ill be download the fedora live and try to install grub via fedora.
Unfortunately my net speed sucks these days, it takes too long to download fedora, ill post about it as soosn as possible...
 
Old 05-10-2014, 09:36 AM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,311

Rep: Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057Reputation: 2057
Quote:
There is no grub-install command in kali
grub-install /dev/sda would work as root user if you are booted to Kali. You might take a look at the video below which is pretty descriptive and applies to your situation, installing grub from a Live CD w/Kali

http://www.youtube.com/watch?v=UQ-EaZcjQtA
 
  


Reply

Tags
boot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building dual boot Windows 7 & Fedora 11 machine. Fedora 11 boot issue tedscott Fedora 0 11-14-2009 09:57 PM
Installed Fedora as dual boot but Grub boot menu is not showing up nilocjin Linux - Newbie 4 06-03-2009 02:09 PM
Dual Boot, Vista + Fedora, 2 HDD, EasyBcd boot manager = Fedora not start 6yp Linux - Newbie 7 10-29-2008 06:44 PM
Dual-boot XP and Fedora using GRUB? Peter6000 Linux - Newbie 11 12-28-2006 07:32 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration