Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing from an existing RH system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zarick
n00b
n00b


Joined: 10 May 2003
Posts: 10

PostPosted: Mon May 12, 2003 6:46 pm    Post subject: Installing from an existing RH system Reply with quote

After I have installed / configured my first gentoo, I love it 8)
Now, I'm going to install it to my server, but this time, I can't use the liveCd to install, as my (home) server is working, I don't want it to offline too long. Hence I'd like to install from an exisiting setup.

However, I don't find any info for this kind of setup...
IMO, is it possible to do so?

Code:

1. mkdir /mnt/gentoo
2. mount the partition to /mnt/gentoo
3. mkdir /mnt/gentoo/boot
4. mount the partition to /mnt/gentoo/boot
5. cd /mnt/gentoo
6. tar xjpvf /somewhere/stage1.*bz
7. mount -t proc proc  /mnt/gentoo/proc
8. cp /etc/resolv.conf /mnt/gentoo/etc/
9. chroot /mnt/gentoo /bin/bash
10. env-update
11. source /etc/profile
...... and following the remaining step in the installation guide.


If I haven't anything missed, after configuring grub, and reboot,
I will change my existing RH system to Gentoo, right?

At this point, I still have a small question, in my present config,
My current configuration has used up nearly all the partition, among them,
I have one /boot, /var, /tmp, etc.
Is it ok to mount --bind these dirs to /mnt/gentoo/..., and then chroot.

Or there is any other better method for my situation?
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Mon May 12, 2003 8:32 pm    Post subject: Reply with quote

Do you want to dual boot gentoo with redhat or completly erase redhat.
I'm under the impression that you want to completly erase and replace with gentoo with the minimal down time.

If so you would be better to setup a gentoo on a similar system than make an image and apply over your server.
Back to top
View user's profile Send private message
abysed
n00b
n00b


Joined: 06 Mar 2003
Posts: 39
Location: Lynnwood, Washington

PostPosted: Mon May 12, 2003 9:09 pm    Post subject: Reply with quote

I'm interested in this too (well actually, my friend is).. He currently has a trashed redhat box and I'm trying to get him to put gentoo on it. We're about to try using a slackware boot disk (bare.i) to get to the cd, but other than that, the cd-rom drive isn't able to boot off of cds, and this is the only box of its type (P166, 2Gb HD+1Gb HD) at his house.

I don't see how it would be possible to chroot into itself, while wiping the redhat junk.
Back to top
View user's profile Send private message
zarick
n00b
n00b


Joined: 10 May 2003
Posts: 10

PostPosted: Wed May 14, 2003 2:03 pm    Post subject: Reply with quote

Right, my intention is to use Gentoo to replace my RH completely.

But just wonder what is the most elegant way to do so.
As I would, to install Gentoo, from stage1, my pretty old box is using K6-2 300, with ~512M. If I just shutdown and boot with LiveCD (the most common way), the turnover time will be extremely long.

That is not affordable :(
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Wed May 14, 2003 5:25 pm    Post subject: Reply with quote

if you have a spare partition installation is quite easy. You don't need a livecd - just grab a tarball with wget.
You shouldn't experience any problems if you do it the way you described yourself.

[/list]
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Wed May 14, 2003 5:25 pm    Post subject: Reply with quote

if you have a spare partition installation is quite easy. You don't need a livecd - just grab a tarball with wget.
You shouldn't experience any problems if you do it the way you described yourself.


[edit] oops, the forum is kinda slow today and I hit the submit button more than once... sorry
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Thu May 15, 2003 4:24 am    Post subject: Reply with quote

nerbert ! you know you can actually delete your posts. So you can delete a double ;)
Back to top
View user's profile Send private message
zarick
n00b
n00b


Joined: 10 May 2003
Posts: 10

PostPosted: Thu May 15, 2003 4:33 am    Post subject: Reply with quote

That's great! 8)
Thanks very much!!
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Thu May 15, 2003 7:21 am    Post subject: Reply with quote

[ot]
jlg wrote:
nerbert ! you know you can actually delete your posts. So you can delete a double ;)


tell me how and I'll do it
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Thu May 15, 2003 5:14 pm    Post subject: Reply with quote

there should be a delete button on the upper right corner of your post!

uhm! I'm not sure but that may just apply to your last post. So you probably have to delete a dub just after posting it.
Back to top
View user's profile Send private message
nerdbert
l33t
l33t


Joined: 09 Feb 2003
Posts: 981
Location: Berlin

PostPosted: Thu May 15, 2003 11:16 pm    Post subject: Reply with quote

jlg wrote:
there should be a delete button on the upper right corner of your post!

uhm! I'm not sure but that may just apply to your last post. So you probably have to delete a dub just after posting it.


ok, look at my post count and then try to think of me not knowing what this tiny "X" means... :oops:

thanks for pointing me into the right direction, but it's too late now (in this case).
Back to top
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Thu May 15, 2003 11:52 pm    Post subject: Reply with quote

well look at my joined date and I noticed that not too long ago ;) LOL!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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