Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23rd May 2012, 05:47 PM
bouchemp Offline
Registered User
 
Join Date: May 2012
Location: US
Posts: 4
windows_7ie
bios boot part on 2 disks

Apologies if this has already been covered; if it has I couldn't find it. First and foremost, this question does NOT pertain to a dual-boot system. I wish to set up a F16 system which uses GPT partitioning and needs a bios boot partition. I have two identical HDD's that will be set up as RAID 1 using software RAID. If I create a bios boot partition on both drives, will the boot loader info be installed on both? My BIOS will allow booting from several (more than 3) devices. I'm thinking (hoping) that if a drive fails, and if there's a bios boot part on both drives, AND since the drives were mirrored, the system will boot with little or no intervention. Any info would be appreciated.
Reply With Quote
  #2  
Old 24th May 2012, 08:32 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: bios boot part on 2 disks

Are the drives larger than 2 TiB? Linux may still have some issues booting in UEFI mode.

With RAID 1 the second drive is automagically mirrored. You will only see one drive and you only have to create the partitions once.
Reply With Quote
  #3  
Old 24th May 2012, 01:33 PM
bouchemp Offline
Registered User
 
Join Date: May 2012
Location: US
Posts: 4
linuxfirefox
Re: bios boot part on 2 disks

The drives in question are only 160GB. This is an older mobo hence the need for a 'bios boot' partition. I've been through the install and set the drives up thus:

sda1 - bios boot
sda2 - swap
sda3 - raid part
sda4 - raid part

sdb - ditto

I then set up RAID 1 as such

md0 - sda3 sdb3 - ext4 - /boot
md1 - sda4 sdb4 - LVM

I don't think the 'bios boot' partition can (should?) be RAID'd (correct me if I'm wrong). Also, the installer only allows the boot blocks to be installed in the MBR of one drive. I either need to figure out a way to install boot blocks to the MBR's of both drives or install the boot blocks on md0 (that is an option). Don't know the ramifications of that. Please pardon my ignorance and thanks for you suggestions.

Last edited by bouchemp; 24th May 2012 at 01:35 PM. Reason: editorial changes
Reply With Quote
  #4  
Old 24th May 2012, 02:09 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: bios boot part on 2 disks

Actually, it would depend upon what type of RAID you are using.

If you have a hardware RAID controller, then it would mirror the drives automatically.

If you are using linux software RAID, then it won't mirror the bios_boot partition since those partitions don't actually get mounted.

You would need to manually mirror the bios_boot partition and banually install the bootloader onto the second drive if you are using software RAID.

You can use grub2-install to put it onto the other drive.

You could do this:

grub2-install /dev/sda
grub2-install /dev/sdb

That would put the bootloader onto both drives, and you could set you BIOS to boot from either one.

Edit:

The installer will only put the bootloader onto one drive. You go back and manually install the bootloader ot both drives after the install is finished. You can do it once you have your system booted up and running.

Last edited by DBelton; 24th May 2012 at 02:16 PM.
Reply With Quote
  #5  
Old 24th May 2012, 02:21 PM
bouchemp Offline
Registered User
 
Join Date: May 2012
Location: US
Posts: 4
linuxfirefox
Re: bios boot part on 2 disks

Thanks, DB. I'm using software RAID (too cheap to buy hardware RAID and have some problems with FakeRAID). I'll give the grub2_install /dev/sd[ab] a try. I'm wondering; should I do this periodically to keep things sycn'd up? Or, if there's an update to grub2? It shouldn't hurt anything.
Reply With Quote
  #6  
Old 24th May 2012, 02:37 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: bios boot part on 2 disks

The way things are currently, if there is an update to grub2, it doesn't automatically update the bootloader installed. You need to manually re-install it anyway. You just do 2 instead of 1

There really isn't a need to update it periodically, though. Once installed, it pretty much remains the same until you reinstall it (in case of an update, etc...)

But, no, it wouldn't hurt to periodically update them, though.

A lot (most) people don't realize that a normal update to grub2 doesn't update the installed bootloader on their system, and never go back and re-install the bootloader code, so are running with the same bootloader than was put there during the install.
Reply With Quote
  #7  
Old 24th May 2012, 03:02 PM
bouchemp Offline
Registered User
 
Join Date: May 2012
Location: US
Posts: 4
linuxfirefox
Re: bios boot part on 2 disks

Good information. This will increase the resiliency of my home server. Thanks again. Of note, I'm an old Solaris hack and am used to using SVM mirrored drives.
Reply With Quote
Reply

Tags
bios, boot, disks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardware virtualization : Is the BIOS playing it's part ? georgesgiralt Using Fedora 0 18th March 2009 10:59 AM
IDE disks should show in BIOS right? savage Wibble 5 29th December 2007 02:25 PM
freezes during boot Part II rp2002 Installation and Live Media 10 12th December 2005 09:27 PM


Current GMT-time: 00:24 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat