Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remotely Installing gentoo
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
rech
n00b
n00b


Joined: 01 Dec 2004
Posts: 53

PostPosted: Sun Apr 03, 2005 11:58 pm    Post subject: Remotely Installing gentoo Reply with quote

I have a dedicated server in a datacenter which i live no where near to. It has redhat enterprise 3 es installed on it and i would like to "upgrade" ;) it to gentoo. I found these guides but they don't address my situation exactly:
https://forums.gentoo.org/viewtopic.php?t=8884&highlight=remote
http://www.darkridge.com/~jpr5/doc/rh-gentoo.html

My plan is to install gentoo on sdb, and use the boot and swap partition that is on sda. After gentoo is up and running i would erase the rhe3 partition on sda and use it for home directorys. I believe this is possible but im not sure. I am also having trouble picturing how i would go about doing this.

Here is my fdisk for sda:
Disk /dev/sda: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 267 2040255 82 Linux swap
/dev/sda3 268 8924 69537352+ 83 Linux


Here is my fdisk for /dev/sdb:
Disk /dev/sdb: 73.4 GB, 73407820800 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8924 71681998+ 83 Linux

Here is the systems specs incase it helps:
Dell PowerEdge 1800
Dual xeon 2.8 w/HT
2 x 73 gb scsi drives
2GB RAM

I have installed gentoo on local machines a total of around 5 times so i am pretty familure with gentoo installation using a live cd.
Back to top
View user's profile Send private message
ecoffey
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2004
Posts: 122
Location: Colorado

PostPosted: Mon Apr 04, 2005 12:03 am    Post subject: Reply with quote

The way I setup my headless system a while ago, was to attach my monitor to the machine, boot from the LiveCD, set the root password, and then start sshd. Move the monitor back to my real machine and just ssh into the headless one.

So if you could convince someone at the datacenter to put in a Gentoo LiveCD, set the root password, and start sshd then you'll be fine :-D
Back to top
View user's profile Send private message
rech
n00b
n00b


Joined: 01 Dec 2004
Posts: 53

PostPosted: Mon Apr 04, 2005 12:06 am    Post subject: Reply with quote

Not a bad idea as long as it doesn't cost me anything. Ill see if they will.
Back to top
View user's profile Send private message
rech
n00b
n00b


Joined: 01 Dec 2004
Posts: 53

PostPosted: Mon Apr 04, 2005 7:03 pm    Post subject: Reply with quote

Well i asked them and they wont do it since they don't support gentoo. They are ok with me remotly installing it though.
Back to top
View user's profile Send private message
rech
n00b
n00b


Joined: 01 Dec 2004
Posts: 53

PostPosted: Mon Apr 04, 2005 11:15 pm    Post subject: Reply with quote

Here is how my drives are setup right now:

mount
/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sdb1 on /backup type ext3 (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 66G 3.1G 59G 5% /
/dev/sdb1 68G 33M 64G 1% /backup
/dev/sda1 99M 26M 69M 27% /boot
none 1004M 0 1004M 0% /dev/shm

Can someone please give me at least a hint as to what to do? I think i need to extract stage2-pentium4-2005.0.tar.bz2 to /backup and somehow proceed from there. So confusing :(
Back to top
View user's profile Send private message
Bob P
Advocate
Advocate


Joined: 20 Oct 2004
Posts: 3355
Location: Jackass! Development Labs

PostPosted: Mon Apr 04, 2005 11:34 pm    Post subject: Reply with quote

ecoffey wrote:
The way I setup my headless system a while ago, was to attach my monitor to the machine, boot from the LiveCD, set the root password, and then start sshd. Move the monitor back to my real machine and just ssh into the headless one.

So if you could convince someone at the datacenter to put in a Gentoo LiveCD, set the root password, and start sshd then you'll be fine :-D

don't forget to look at the bios settings for the headless machine while you've still got a monitor attached to it. you probably want to remove the bios settings that say things like "halt on KB error," "hald on video error," etc., and change them to "halt on none". that way, if you have to reboot your healess machine, it doesn't stop at the POST when it realizes that there is no video card in it, or no KB attached.
_________________
.
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks
Back to top
View user's profile Send private message
rech
n00b
n00b


Joined: 01 Dec 2004
Posts: 53

PostPosted: Tue Apr 05, 2005 12:16 am    Post subject: Reply with quote

Here is what i have done so far:
fdisk /dev/sdb
deleted partition
recreated it

mke2fs -j /dev/sdb1

mounted /dev/sdb1 as /mnt/gentoo

I am now up to this point in the guide and im not sure if i need to do it or not:
Quote:

Note: If you want your /tmp to reside on a separate partition, be sure to change its permissions after mounting: chmod 1777 /mnt/gentoo/tmp. This also holds for /var/tmp.
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