Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub
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
fuzz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 93

PostPosted: Mon May 13, 2002 8:49 pm    Post subject: Grub Reply with quote

Right now I have gentoo on my 1st hd and nothing on my 2nd. I'm going to switch hd so linux is on my 2nd hd and install W2K on my 1st. My question is how can I remove and then put grub on to my new 1st hd
Back to top
View user's profile Send private message
svan9420
n00b
n00b


Joined: 24 Apr 2002
Posts: 51

PostPosted: Mon May 13, 2002 9:08 pm    Post subject: grub Reply with quote

I would imagine it would be the same as when you initially set up gentoo.

I would use the gentoo boot cd, chroot into your system after you have switched hard drives around. You will have to change your menu.lst file as well under /boot/grub/ and your /etc/fstab

machine name# grub

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

Until i started using gentoo, I had never chrooted into a linux box before. Now I believe it to be the cure-all for 95.9% of the problems I have had from fstab problems, file system corruption, to restoring complete systems.

I will monitor this post to see what other users have to say. This could be interesting.
_________________
svan9420
Back to top
View user's profile Send private message
fuzz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 93

PostPosted: Mon May 13, 2002 10:40 pm    Post subject: Reply with quote

how would I take it grub off my linux hd.
Back to top
View user's profile Send private message
betaphi1319
n00b
n00b


Joined: 29 Apr 2002
Posts: 25
Location: Denver, CO, US

PostPosted: Tue May 14, 2002 7:23 pm    Post subject: Reply with quote

fuzz wrote:
how would I take it grub off my linux hd.


It's kinda an out-of-the-way solution, but I've been able to accomplish this by using the Microsoft FDISK utility included with Windows 9x and DOS with the /MBR option.

Do this before switching the disks around:

Code:
fdisk /mbr


Sorry, I don't know a Linux solution!
Back to top
View user's profile Send private message
fuzz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 93

PostPosted: Tue May 14, 2002 7:34 pm    Post subject: Reply with quote

Thanks for the help
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