User:Az990tony/Customizing-SysRescCD-for-XS: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 1: Line 1:
= Customizing SysRescCD for use with XS School Server =
= Customizing SysRescCD for use with XS School Server =


There are several things you can do to customize the SysRescCD for use with an XS School Server.
There are several things you can do to customize
[[http://www.sysresccd.org | SysRescCD]] for use with an XS School Server.


* Configure the static IP addresses
* Configure the static IP addresses
Line 8: Line 9:
* Have ssh public keys to allow remote administration
* Have ssh public keys to allow remote administration
* Include backup or rescue files
* Include backup or rescue files

== Download and Burn original SysRescCD ==

The easiest way to do this is to perform "wget" for the iso file. I had to update my resolv.conf to a DNS nameserver I could access, and then do a wget for the URL involved.
The file is about 200MB and took me about 11 minutes to download on my system.

<tt>
[root ~]# echo "nameserver 205.171.3.65" >> /etc/resolv.conf
[root ~]# wget -c http://downloads.sourceforge.net/systemrescuecd/systemerscuecd-x86-1.0.3.iso
... systemrescuecd-x86-1.0.3.iso saved...
[root ~]# cdrecord -scanbus
scsibus6:
6,0,0 600) 'ATAPI ' 'DVD A DH20A4H ' 'QP53' Removable CD-ROM
[root ~]# cdrecord dev=6,0,0 -v systemerscuecd-x86-1.0.3.iso
</tt>

== Unpack the files ==

Boot from the SysRescueCD you just made, and hit enter at the "boot: " command prompt.
We are basically going to open up the CD, and put all the files on our hard-drive.
I will use /dev/sda3 as an example.

<tt>
[root@sysresccd /root] % mount /dev/sda3 /mnt/custom
[root@sysresccd /root] % /usr/sbin/sysresccd-custom extract
/mnt/custom is mounted -> ok
there is enough estimated free space here (25548 MB) -> ok
docache not used -> ok
</tt>

Revision as of 18:06, 27 June 2008

Customizing SysRescCD for use with XS School Server

There are several things you can do to customize [| SysRescCD] for use with an XS School Server.

  • Configure the static IP addresses
  • Configure the ethernet ports to specific MAC addresses
  • Define userids to be used with SSHD
  • Have ssh public keys to allow remote administration
  • Include backup or rescue files

Download and Burn original SysRescCD

The easiest way to do this is to perform "wget" for the iso file. I had to update my resolv.conf to a DNS nameserver I could access, and then do a wget for the URL involved. The file is about 200MB and took me about 11 minutes to download on my system.

[root ~]#  echo "nameserver 205.171.3.65" >> /etc/resolv.conf
[root ~]#  wget -c http://downloads.sourceforge.net/systemrescuecd/systemerscuecd-x86-1.0.3.iso
   ... systemrescuecd-x86-1.0.3.iso saved...
[root ~]#  cdrecord -scanbus
scsibus6:
       6,0,0   600) 'ATAPI   ' 'DVD A  DH20A4H  ' 'QP53' Removable CD-ROM
[root ~]#  cdrecord dev=6,0,0 -v systemerscuecd-x86-1.0.3.iso

Unpack the files

Boot from the SysRescueCD you just made, and hit enter at the "boot: " command prompt. We are basically going to open up the CD, and put all the files on our hard-drive. I will use /dev/sda3 as an example.

[root@sysresccd /root] % mount /dev/sda3 /mnt/custom
[root@sysresccd /root] % /usr/sbin/sysresccd-custom extract
/mnt/custom is mounted -> ok
there is enough estimated free space here (25548 MB) -> ok
docache not used -> ok