Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] duplicating grub on another hdd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 585

PostPosted: Wed Aug 24, 2011 6:26 pm    Post subject: [solved] duplicating grub on another hdd Reply with quote

I have grub in sda mbr. I want to duplicate sda:/boot to my backup sdc so that if/when sda fails, I can more or less switch over to booting/running my system from sdc.

I suspect all I need to do is "grub-install /dev/sdc" to get grub loaded into sdc's mbr? but then this will update files in sda:/boot/grub correct? would doing "grub-install /dev/sdc" in any way interfere with continuing to use sda for booting/running my system? I wanted to check before I royally mess something up like unknowingly transferring grub from sda to sdc :)

thanks.


Last edited by nordic bro on Mon Aug 29, 2011 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9883
Location: almost Mile High in the USA

PostPosted: Wed Aug 24, 2011 7:00 pm    Post subject: Reply with quote

normally I mount the disk that I want to install grub on, and use --root-directory=/that/mountpoint to make sure a copy of the second stage loader gets put on the right device...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum