The step “ssh -X access.grid5000.fr 'ssh -X SITE'” has to be done from another console on your local laptop
Inside these console run command “ssh -X root@NODE “vncviewer :1””
(If CentOS: you get desktop, double-clic to install on hard drive)
You arrive to installation procedure: use “custom installation” so that you can choose to install on “/dev/sda3” and choose “/dev/sda3” to install grub/boot.
You should get the desktop of redhat/centos, so you can save the image now follow these steps
On this desktop, open a console and you just have to make a “mkdir -p /mnt/myos” and “mount /dev/sda3 /mnt/myos”
Open a new console, connect to the site of grid5000 and launch the save “ssh root@NODE 'tgz-g5k –root /mnt/myos' > IMAGE_FILE.tgz”
Verify the size by “ls -l” (example: -rw-r–r– 1 lcloatre users 281601076 Aug 5 17:22 myredhat62.tgz)
Create an environment file an test a deployment.
tutorial/how_to_build_an_basic_image_of_redhat_centos_on_grid5000_from_an_iso.txt · Last modified: 2014/12/17 09:29 (external edit)