LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
LinkBack Search this Thread
Old 02-17-2014, 12:37 PM   #16
brenogalvao
LQ Newbie
 
Registered: Feb 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled

I just realize that only
Code:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
works, and not
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
as I was doing...

That is why nothing appeared in the initial boot list.

Still, I can't load Windows because of the errors I got

Also, I noted the fedora instalation removed what was there in the EFI partition, and the current one has nothing about windows.

Last edited by brenogalvao; 02-17-2014 at 12:40 PM.
 
Old 02-17-2014, 02:01 PM   #17
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,141

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
See my edit to post 13, above.
 
Old 02-17-2014, 08:55 PM   #18
brenogalvao
LQ Newbie
 
Registered: Feb 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
Well, at least now the entries are appearing, and it narrowed down to these two (each with it's own error)
Code:
# cat /etc/grub.d/40_custom 
#!/bin/sh
exec tail -n +3 $0
# 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.
menuentry "Windows-chain" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --no-floppy --fs-uuid --set=root 1024008A240074CE 
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}
which gives the error
Code:
error: no such device: 1024008A240074CE 
error: file: '/efi/Microsoft/Boot/bootmgfw.efi' not found
Press any key to continue...
and also
Code:
# cat /etc/grub.d/bkup40 
#!/bin/sh
exec tail -n +3 $0
# 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.
menuentry "Windows-ntldr" --class windows --class os {
insmod part_msdos
insmod ntfs
insmod ntldr
set root='(hd0,msdos4)'
search --no-floppy --fs-uuid --set=root 1024008A240074CE
ntldr ($root)/bootmgr
}
which gives the error
Code:
error: file '/EFI/fedora/x86_64-efi/ntfs.mod' not found
error: file '/EFI/fedora/x86_64-efi/ntldr.mod' not found
error: no such device: 1024008A240074CE 
error: can't find the command 'ntldr'.
Press any key to continue...
I think we are getting closer to the solution now
 
Old 02-17-2014, 09:05 PM   #19
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,299

Rep: Reputation: 180Reputation: 180
what is on /dev/sda7 and /dev/sda6

Last edited by colorpurple21859; 02-17-2014 at 09:07 PM.
 
Old 02-18-2014, 05:04 AM   #20
brenogalvao
LQ Newbie
 
Registered: Feb 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
sda6 has the label "SAMSUNG_REC" which I believe is related to my laptop recovery options.

In any case, it does seems to be bootable.. the files in it are:



Code:
ls -l 
total 1872
drwxr-xr-x.  2 root root    4096 Aug  3  2012 bg-bg
drwxr-xr-x. 38 root root    4096 Aug  3  2012 Boot
-rwxr-xr-x.  1 root root  398156 Jul 25  2012 bootmgr
-rwxr-xr-x.  1 root root 1350896 Jul 25  2012 bootmgr.efi
drwxr-xr-x.  2 root root    4096 Aug  3  2012 cs-cz
drwxr-xr-x.  2 root root    4096 Aug  3  2012 da-dk
drwxr-xr-x.  2 root root    4096 Aug  3  2012 de-de
drwxr-xr-x.  8 root root    4096 Aug 24  2012 Drivers
drwxr-xr-x.  4 root root    4096 Aug  3  2012 EFI
drwxr-xr-x.  2 root root    4096 Aug  3  2012 el-gr
drwxr-xr-x.  2 root root    4096 Aug  3  2012 en-gb
drwxr-xr-x.  2 root root    4096 Aug  3  2012 en-us
drwxr-xr-x.  2 root root    4096 Aug  3  2012 es-es
drwxr-xr-x.  2 root root    4096 Aug  3  2012 et-ee
drwxr-xr-x.  2 root root    4096 Aug  3  2012 fi-fi
drwxr-xr-x.  2 root root    4096 Aug  3  2012 fr-fr
drwxr-xr-x.  2 root root    4096 Aug  3  2012 hr-hr
drwxr-xr-x.  2 root root    4096 Aug  3  2012 hu-hu
drwxr-xr-x.  2 root root    4096 Aug  3  2012 it-it
drwxr-xr-x.  2 root root    4096 Aug  3  2012 ja-jp
drwxr-xr-x.  2 root root    4096 Aug  3  2012 ko-kr
drwxr-xr-x.  2 root root    4096 Aug  3  2012 lt-lt
drwxr-xr-x.  2 root root    4096 Aug  3  2012 lv-lv
drwxr-xr-x.  2 root root    4096 Aug  3  2012 nb-no
drwxr-xr-x.  2 root root    4096 Aug  3  2012 nl-nl
drwxr-xr-x.  2 root root    4096 Aug  3  2012 pl-pl
drwxr-xr-x.  2 root root    4096 Aug  3  2012 pt-br
drwxr-xr-x.  2 root root    4096 Aug  3  2012 pt-pt
drwxr-xr-x.  2 root root    4096 Aug 24  2012 $RECYCLE.BIN
drwxr-xr-x.  2 root root    4096 Aug  3  2012 ro-ro
drwxr-xr-x.  2 root root    4096 Aug  3  2012 ru-ru
drwxr-xr-x.  2 root root    4096 Aug  3  2012 sk-sk
drwxr-xr-x.  2 root root    4096 Aug  3  2012 sl-si
drwxr-xr-x.  2 root root    4096 Aug  3  2012 sources
drwxr-xr-x.  2 root root    4096 Aug  3  2012 sr-latn-cs
drwxr-xr-x.  2 root root    4096 Aug  3  2012 sv-se
drwxr-xr-x.  2 root root    4096 Aug  3  2012 tr-tr
drwxr-xr-x.  2 root root    4096 Aug  3  2012 uk-ua
drwxr-xr-x.  8 root root    4096 Aug  3  2012 WinClon
drwxr-xr-x.  2 root root    4096 Aug  3  2012 zh-cn
drwxr-xr-x.  2 root root    4096 Aug  3  2012 zh-hk
drwxr-xr-x.  2 root root    4096 Aug  3  2012 zh-tw
whe I tried to mound sda7 ir said:
Code:
mount: /dev/sda7 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sda7,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
 
Old 02-18-2014, 08:05 AM   #21
brenogalvao
LQ Newbie
 
Registered: Feb 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
I learned a lot in this thread and now my ideas are more organized, so I will post another cleaner topic with the actual problem, so people don't have to read again all the mistakes I've done.
I checked and it doesn't seem to be against any rule of the forum, so, hope it is okay.
 
  


Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to add entry for user (SAMBA) mahesh08mane Linux - Newbie 3 04-01-2013 02:53 AM
Fedora 17 -- custom entry does not show up in grub menu. People'spoet Linux - Kernel 3 06-13-2012 02:49 AM
Add Windows XP entry to GRUB bforbes Linux - Software 16 05-25-2011 11:08 AM
Failed to add entry for user (SAMBA) help please? mitchell7man Linux - Server 5 12-06-2009 04:13 AM
add a entry for new kernel to grub theacerguy Linux - Kernel 4 08-09-2009 03:07 AM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration