LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-20-2014, 04:15 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Rep: Reputation: 68
Fedora 20 Install is not installing Boot loader on sdb


Fedora 20 install.

It is installing Fedora 20 and says it is installing Boot Loader and
saying it Successfully Installed and to reboot.

I'm installing Fedora 20 on sdb, a 2TB hardrive.

Windows 7 is installed on sda a 500gb hardrive with old version fo Fedora 18

When I reboot computer it is still booting up on sda into a old version of Fedora 18.

My partition setup on sdb is;

sdb1 /
sdb2 swap
sdb3 /home

Standard Partitions
EXT4

Last edited by mickeyboa; 04-20-2014 at 04:18 PM.
 
Old 04-20-2014, 04:37 PM   #2
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
Here is a copy of fstab.


#
# /etc/fstab
# Created by anaconda on Mon Apr 21 00:55:29 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=5fedd5e2-7c61-4b13-a023-83d98c4800a4 / ext4 defaults 1 1
UUID=5a13df7e-7d73-4eb8-8672-50d38a0b3e9a /home ext4 defaults 1 2
/dev/mapper/luks-e9dbc4e5-74d0-4f25-8586-6bae3e202309 swap swap defaults,x-systemd.device-timeout=0 0 0
 
Old 04-20-2014, 05:08 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Quote:
Originally Posted by mickeyboa View Post
When I reboot computer it is still booting up on sda into a old version of Fedora 18.
As one would expect until you tell it something else.
Check the boot order in the BIOS.
 
Old 04-20-2014, 05:24 PM   #4
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
The boot order is CDrom, Harddrive. it has no problems of booting into sda , but it won't boot into sdb like it is supposed to.

The CD has been removed from drive.
 
Old 04-21-2014, 11:19 AM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
I reinstalled Fedora 20 Fresh and still get the same results, It still reboots to sda into Fedora 18 instead of sdb 2tb drive, Fedora 20.


/boot/initramfs-0-rescue-8263cafda4694e019c7572777525b630.img

/boot/vmlinuz-0-rescue-8263cafda4694e019c7572777525b630


/boot/grub2/grub.cfg

menuentry 'Fedora, with Linux 3.11.10-301.fc20.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-301.fc20.i686-advanced-372e1768-343a-4c42-93cd-6c5ff9c94c46' {
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=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd0,msdos1' 372e1768-343a-4c42-93cd-6c5ff9c94c46
else
search --no-floppy --fs-uuid --set=root 372e1768-343a-4c42-93cd-6c5ff9c94c46
fi
linux /boot/vmlinuz-3.11.10-301.fc20.i686 root=/dev/sdb1 ro vconsole.font=latarcyrheb-sun16 rhgb quiet LANG=en_US.UTF-8
initrd /boot/initramfs-3.11.10-301.fc20.i686.img
}
menuentry 'Fedora, with Linux 0-rescue-8263cafda4694e019c7572777525b630' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-0-rescue-8263cafda4694e019c7572777525b630-advanced-372e1768-343a-4c42-93cd-6c5ff9c94c46' {
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=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd0,msdos1' 372e1768-343a-4c42-93cd-6c5ff9c94c46
else
search --no-floppy --fs-uuid --set=root 372e1768-343a-4c42-93cd-6c5ff9c94c46
fi
linux /boot/vmlinuz-0-rescue-8263cafda4694e019c7572777525b630 root=UUID=372e1768-343a-4c42-93cd-6c5ff9c94c46 ro vconsole.font=latarcyrheb-sun16 rhgb quiet
initrd /boot/initramfs-0-rescue-8263cafda4694e019c7572777525b630.img
}
 
Old 04-21-2014, 11:57 AM   #6
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
why don't you boot your host system and then open a terminal and run "blkid" and see what the sdb1 drive UID is. post it.

because this is sda
Quote:
set root='hd0,msdos1'
make sure you update your grub after you install it.
again it is trying to mount sda
Quote:
--hint='hd0,msdos1' 372e1768-343a-4c42-93cd-6c5ff9c94c46
and again it is trying to load we can see that sda is blkid=372e1768-343a-4c42-93cd-6c5ff9c94c46
and your root=372e1768-343a-4c42-93cd-6c5ff9c94c46


hd0 is sda msdos1 is sda1 - hd0,msdos1
if I was you make sure you boot to your host system. and run
grub2-mkconfig -o /boot/grub2/grub.cfg

if you want to install grub on that new drive and used sdb to boot from then change your hard drive order in bios.
if your going to keep both drives then make sure. you update your grub2.

so to use this
Quote:
UUID=5fedd5e2-7c61-4b13-a023-83d98c4800a4 / ext4 defaults 1 1
UUID=5a13df7e-7d73-4eb8-8672-50d38a0b3e9a /home ext4 defaults 1 2
/dev/mapper/luks-e9dbc4e5-74d0-4f25-8586-6bae3e202309 swap swap defaults,x-systemd.device-timeout=0 0 0
you can manually add a new menu to your grub.cfg with your favorite editor.
Code:
}
menuentry 'Fedora, with Linux 3.11.10-301.fc20.i686' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.10-301.fc20.i686-advanced-5fedd5e2-7c61-4b13-a023-83d98c4800a4' 
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 --hint='hd1,msdos1' 5fedd5e2-7c61-4b13-a023-83d98c4800a4
else
search --no-floppy --fs-uuid --set=root 5fedd5e2-7c61-4b13-a023-83d98c4800a4
fi
linux /boot/vmlinuz-3.11.10-301.fc20.i686 root=UUID=5fedd5e2-7c61-4b13-a023-83d98c4800a4 ro vconsole.font=latarcyrheb-sun16 rhgb quiet LANG=en_US.UTF-8
initrd /boot/initramfs-3.11.10-301.fc20.i686.img
}
}
that's pretty much what grub2 update is going to do.

Last edited by Drakeo; 04-21-2014 at 12:13 PM.
 
Old 04-21-2014, 02:41 PM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
/dev/sdb1: LABEL="/" UUID="372e1768-343a-4c42-93cd-6c5ff9c94c46" TYPE="ext4"
/dev/sdb2: LABEL="swap" UUID="1c03051e-29b5-4259-af54-2f7956251485" TYPE="swap"
/dev/sdb3: LABEL="/home" UUID="fff4b95f-65f3-4e28-94cf-b5370067763d" TYPE="ext4"
 
Old 04-21-2014, 04:53 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
When you installed Fedora 20, you should have had an option as to where to install the bootloader but you haven't said which option you chose. Based on the information, I would guess to the / partition on sdb which would be sdb1. If you install it to the mbr of sdb, then you need to change the boot order so sdb boots first. If you don't have that option in the BIOS, which would be surprising but not impossible, then that won't work.

The grub.cfg file you posted is for Fedora 18 on sda so that doesn't tell us anything except there is no entry for Fedora 20. Boot into Fedora 18 and try running the command below with of course, the other Fedora 20 drive attached. Obviously, done as root user.

Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
You could also mount the Fedora 20 partition from Fedora 18, then navigate to the Fedora 20 grub.cfg file and copy its entry to the Fedora 18 grub.cfg. You would probably need to run the command above to make this permanent so not much point other than testing. You can get detailed and very useful information on Grub at the Fedora project site below

http://fedoraproject.org/wiki/GRUB_2
 
Old 04-21-2014, 05:19 PM   #9
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
Fedora 20 did not give me the option to select the bootloader location, it did it automatically in Post install.

This is the first time in Fedora that I have not been able to select bootloader location, I guess this is a new change in Fedora 20.
 
Old 04-21-2014, 07:14 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 1 .
Quote:
Fedora 20 Install is not installing Boot loader on sdb
That's actually what it did.

I guess you want sda. ?
Then boot into sdb => Fedora 20, by using an external boot loader on CD,
e.g. Smart Boot Manager → sbootmgr.iso
https://drive.google.com/file/d/0B7S...it?usp=sharing

In Fedora 20, you can then run # /sbin/grub-install /dev/sda/

-
 
Old 04-21-2014, 08:59 PM   #11
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
I downloaded shootmgr.iso, but how does that work ?
 
Old 04-21-2014, 09:23 PM   #12
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
What happened when you ran the command suggested at the Fedora project from the link I posted? As I indicated in my previous post, your grub.cfg is Fedora 18 which you can see by the partition number in the menuentry listings as well as the kernel version.

If you want to boot Fedora 20, update the grub on Fedora 18. If you want to select the boot drive in BIOS or do something else you need to explain.

Last edited by yancek; 04-21-2014 at 09:28 PM.
 
Old 04-21-2014, 10:06 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 11 .
Quote:
.. shootmgr.iso, but how does that work ?
How to burn a cd, or how to boot into cd ? What do you mean ?

Using the CD : A menu will appear.
Select HD0 to boot sda.
Select HD1 to boot sdb.

-
 
Old 04-22-2014, 06:30 AM   #14
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Originally Posted by mickeyboa View Post
I downloaded shootmgr.iso, but how does that work ?
you dont see it your setting up your fstab incorrect and your telling the machine to look for sdb1 on sda1 partition.
Have fun
and root=UUID=your blkid they better match your fstab.
 
Old 04-22-2014, 11:32 AM   #15
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,720

Original Poster
Rep: Reputation: 68
Solved, how does one put Solved in subject line ?

Well I do appreciate all of your help , and I sure have learn a lot to work about grub. But I not sure how long I will remember all this, at 74 the ole brain just forgets a lot of things faster.

I did As much changing as I could, to no aviale.
So I just put the 2tb drive in sda and the 500gb in sdb and reinstalled without any hitches . I do believe Fedora has a lot of work to fix booting up on sdb. I tried 3 reinstalls without any luck.
I can now boot all three OS's Fedora 20, Fedora 18, Windows 7,
Now to move all my files from Fedora 18 to Fedora 20.

The Shootmgr.img is a handy disk to have around, if I don't misplace it to where I can never find it again.

Thanks again guys !!!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub: If exists sdb, then boot sdb, else sda defaultyeti Linux - Desktop 6 06-28-2011 02:38 AM
Boot Fedora Core 6 with Windows Boot Loader. diz12 Linux - Newbie 3 01-17-2007 03:59 PM
Installing a boot loader? AdamskiAirsoft Linux - Newbie 1 07-25-2006 10:48 AM
No boot loader after install of Fedora core5 RoutyRastus Linux - Kernel 2 05-10-2006 09:17 PM
installing boot loader emjay Linux - Newbie 1 09-29-2002 01:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:24 PM.

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