Hello, I'm wanting to install centos via serial terminal on to a box without monitor. It will be administered remotely via ssh. I've got two disks in it and would like to use raid1 with this system, but i'd like to get this going preferably during or immediately after the install. My problem as i see it is installing grub on to both hard disks, you have to get a shell window during the install for that otherwise the box won't boot. Does anyone have this working? Thanks. Dave.
Dave wrote:
Hello, I'm wanting to install centos via serial terminal on to a box without monitor. It will be administered remotely via ssh. I've got two disks in it and would like to use raid1 with this system, but i'd like to get this going preferably during or immediately after the install. My problem as i see it is installing grub on to both hard disks, you have to get a shell window during the install for that otherwise the box won't boot. Does anyone have this working? Thanks. Dave.
Yes. PXE + dhcp + pxegrub + tftp + installation image and initrd.
Rebuilt grub to enable network support and to stuff in a default menu that makes it let you use grub over the serial terminal.
If you must use the CD, then you need to pass something like 'console=ttyS0,9600' to the kernel.
After installation, anaconda should create appropriate grub menu entries. If not, look at the sample below.
serial --unit=0 --speed=9600 terminal --timeout=2 serial console
However, what do you mean by 'installing grub on to both disks, you have to get a shell window during the install'?
Are you trying to get around the first disk fails and the system does not boot up any more problem? That is fixed on Centos 5/RHEL 5.
Hi, Thanks, yes that was the problem i was trying to get around. I can get a serial terminal install, but i thought that doing a raid install via serial terminal would give errors that the disk couldn't boot anymore. Do you know if this is planned to be backwards compatible with 4.4? Thanks. Dave.
----- Original Message ----- From: "Feizhou" feizhou@graffiti.net To: "CentOS mailing list" centos@centos.org Sent: Saturday, April 28, 2007 7:46 PM Subject: Re: [CentOS] installing raid1 via serial terminal during install
Dave wrote:
Hello, I'm wanting to install centos via serial terminal on to a box without monitor. It will be administered remotely via ssh. I've got two disks in it and would like to use raid1 with this system, but i'd like to get this going preferably during or immediately after the install. My problem as i see it is installing grub on to both hard disks, you have to get a shell window during the install for that otherwise the box won't boot. Does anyone have this working? Thanks. Dave.
Yes. PXE + dhcp + pxegrub + tftp + installation image and initrd.
Rebuilt grub to enable network support and to stuff in a default menu that makes it let you use grub over the serial terminal.
If you must use the CD, then you need to pass something like 'console=ttyS0,9600' to the kernel.
After installation, anaconda should create appropriate grub menu entries. If not, look at the sample below.
serial --unit=0 --speed=9600 terminal --timeout=2 serial console
However, what do you mean by 'installing grub on to both disks, you have to get a shell window during the install'?
Are you trying to get around the first disk fails and the system does not boot up any more problem? That is fixed on Centos 5/RHEL 5. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dave wrote:
Hi, Thanks, yes that was the problem i was trying to get around. I can get a serial terminal install, but i thought that doing a raid install via serial terminal would give errors that the disk couldn't boot anymore. Do you know if this is planned to be backwards compatible with 4.4?
Well, that would mean updating/modifying anaconda for centos 4.4...
You should be able to get a running box after the installation. The problem should only manifest itself if the first disk goes.
I have used kickstart, serial console and vnc...but not for centos 4.4 though. It was with FC2. have you tried the serial console install?
the box should come up and let you get in to fix the grub installation on disk two.
Hi, Ok, i've thought about this, and since i have to redo the box anyway i will go with 5.0. So, i start the install via serial console, how do i then make it go raid? Thanks. Dave.
----- Original Message ----- From: "Feizhou" feizhou@graffiti.net To: "CentOS mailing list" centos@centos.org Sent: Sunday, April 29, 2007 12:47 PM Subject: Re: [CentOS] installing raid1 via serial terminal during install
Dave wrote:
Hi, Thanks, yes that was the problem i was trying to get around. I can get a serial terminal install, but i thought that doing a raid install via serial terminal would give errors that the disk couldn't boot anymore. Do you know if this is planned to be backwards compatible with 4.4?
Well, that would mean updating/modifying anaconda for centos 4.4...
You should be able to get a running box after the installation. The problem should only manifest itself if the first disk goes.
I have used kickstart, serial console and vnc...but not for centos 4.4 though. It was with FC2. have you tried the serial console install?
the box should come up and let you get in to fix the grub installation on disk two. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dave wrote:
Hi, Ok, i've thought about this, and since i have to redo the box anyway i will go with 5.0. So, i start the install via serial console, how do i then make it go raid?
when you get to the disk configuration. you did put ask for a text installation too right? otherwise, it will happily go into gui mode :D
sorry, i forgot to warn you about that. you tell it to use a text installation mode by adding text as one of the parameters (or you could go for vnc :P)