ResourcesMark: Difference between revisions

From MDWiki
Jump to navigationJump to search
No edit summary
Line 28: Line 28:
== How to build a Live CD ==
== How to build a Live CD ==
  Get Gentoo Linux distribution, e.g. http://www.sabayonlinux.org/ (e.g. miniCD)
  Get Gentoo Linux distribution, e.g. http://www.sabayonlinux.org/ (e.g. miniCD)
  [http://www.sysresccd.org/Sysresccd-manual-en_How_to_personalize_SystemRescueCd#Procedure_for_SystemRescueCd-1.1.0_and_newer Adding custom packages to Sysrescd]
  [http://www.sysresccd.org/Sysresccd-manual-en_How_to_personalize_SystemRescueCd#Procedure_for_SystemRescueCd-1.1.0_and_newer Adding custom packages to Sysrescd], in summary:  
In summary:
expand the sysrcd.dat in /mnt/custom
1. expand the sysrcd.dat in /mnt/custom
mount -o bind /proc /mnt/custom/proc
2. mount -o bind /proc /mnt/custom/proc
extract a recent gentoo portage in /mnt/custom/files/usr/portage
3. extract a recent gentoo portage in /mnt/custom/files/usr/portage
chroot /mnt/custom
4. chroot /mnt/custom
install new packages using the gentoo commands (emerge yourpkg)
5. install new packages using the gentoo commands (emerge yourpkg)
umount everything properly
6. umount everything properly
clean /usr/portage
7. clean /usr/portage
recreate sysrcd.dat with mksquashfs
8. recreate sysrcd.dat with mksquashfs
recreate the iso image
9. recreate the iso image

Revision as of 01:57, 29 July 2008

System Configuration (workstations, grape)

Alarm handling/Shutting down the rack

System Configuration (windows and Linux laptop)

System Configuration (CCMS Blackhole)

Grape queueing system

Add new user (LDAP)

Add new user (grape)

Create account in /etc/passwd

useradd -u NEWUID -g md NAME

Update NIS (for cluster authentication)

cd /var/yp/
make

How to build a Live CD

Get Gentoo Linux distribution, e.g. http://www.sabayonlinux.org/ (e.g. miniCD)
Adding custom packages to Sysrescd, in summary: 
expand the sysrcd.dat in /mnt/custom
mount -o bind /proc /mnt/custom/proc
extract a recent gentoo portage in /mnt/custom/files/usr/portage
chroot /mnt/custom
install new packages using the gentoo commands (emerge yourpkg)
umount everything properly
clean /usr/portage
recreate sysrcd.dat with mksquashfs
recreate the iso image