Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Grub Installation On Second Hard Drive, grub install
chrisw
post May 5 2005, 06:06 PM
Post #1


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



i am currently running centOS 3.3 on a single hard drive in my server.

it is a 40 gig hard drive...

i have another ~41 gig hard drive which i will put in it...

of which i will rsync my main 40gig hard drive to for backup purposes...

that way if my main drive fails i have a sorta mirrored hard drive to boot from....

how do i install grub to the mbr of the second hard, without affecting the
grub install on my main hard drive if i have to reboot it for kernel updates and such.
that way if something happens i can change the boot sequence in my bios to boot to the second hard drive

the thing is i dont want to reload just to do software mirroring......

any suggestions....


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

Chris W.
Go to the top of the page
 
+Quote Post
Jim
post May 6 2005, 12:36 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



you chould just chroot into that driver and install grub like you normally would.

Just boot up the primary system. Mount the second hard drive into a folder and mout all the sub directories, then just chroot to the other system. Then you can install grub and everything will be peachy keen. Try that.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
chrisw
post May 6 2005, 09:33 AM
Post #3


RMS is my Hero
******

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5



how do i mount the directories after i mount the hard drive to a folder?

i really dont understand....


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

Chris W.
Go to the top of the page
 
+Quote Post
Termina
post May 6 2005, 09:28 PM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404



QUOTE
mout all the sub directories


I assume he means things like /home, /boot, etc. that you might have seperate partitions for.

For example, assume that:

hdb1 = /
hdb2 = /home
hdb3 = swap
hdb4 = /usr

So, you'd:

mkdir /mnt/hdb
mkdir /mnt/hdb/home
mkdir /mnt/hdb/usr

mount /dev/hdb1 /mnt/hdb
mount /dev/hdb2 /mnt/hdb/home
mount /dev/hdb4 /mnt/hdb5/usr


--------------------
*Points finger at the author above him* They're a witch! Burn them!
---
Vist my website!
Join me in IRC! Server: st0rage.org Channel: #UnhandledExceptions
Go to the top of the page
 
+Quote Post
Jim
post May 7 2005, 01:27 AM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,280
Joined: 19-November 03
From: University of Minnesota- TC
Member No.: 1,828



Ya Termina got it. Any directories that are stored on the partition will come along for the ride by default, its only if you have folders that are seperate partitions. Sorry for the confusion.


--------------------
--Jim Lester
jim@linuxhelp.net

Distro: Gentoo
System: AMD Athlon 3000+ XP 2.166 GHz
NVIDIA nForce2 IGP Chipset
1GB 333 MHz DDR SDRAM
NVIDIA nForce2 Dual Head 64 MB Graphics

Server Distro: CentOS
Go to the top of the page
 
+Quote Post
Rathish
post May 23 2005, 08:12 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 17
Joined: 4-April 05
Member No.: 4,822



Hi,
I believe that you are trying to install the grub on a different part of the hard disk drive.
just execute the command grub-install /dev/partition(place where you have the second MBR). well the command i said works with redhat linux !!!


Regards,
Rathish.K
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 07:52 PM