La inghetat nasu

Salutare

Ca tot am terminat sesiunea (ca ea nu s-a terminat) am hotarat sa dau o fuga prin Brasov sa merg pe munte si cum se anuntase vreme frumoasa, sambata seara m-am si urcat in tren.Tata ma astepta sa ajung prin Brasov pentru ca avea cu cine sa mearga.

Duminica dimineata era planificat sa mergem in Piatra Mare, dar cum peste noapte au fost -18grd celsius am abandonat ideea si am asteptat sa se mai incalzeasca. Pana ne-am impachetat s-a facut ora 11 asa ca o excursie in Postavaru era suficienta avand in vedere timpul pe care il aveam la dispozitie.

Ajungem intr-un final in Poiana Brasov cu autobuzul 20, ce avea cutie de viteze automata si care schimba total aiurea. In fine, traseul pe care vroiam sa il facem incepe de la cariera pe bulina albastra, pestera de lapte, leman, poiana ruia, cabana postavaru. Traseul parea batut asa ca ne-am apucat de escaladat.

Si mergem ce mergem si poteca se termina. Probabil cei care au mers inainte noastra au facut pana in punctul acela febra musculara si au renuntat. Ne punem frumos parazapezile si dai la inotat in zapada. De unde, dupa cativa pasi pana la genunchi (intram noi, batul de schi intra de tot) ne dam seama ca nu prea avem ce face si ne-am intors cu ideea sa mergem pana la statia de epurare sa vedem ce telescaun au facut pe partia Lupului.

In drum trecem si pe langa vechea trambulina mica, partie care era animata mai acum cativa ani, azi un singur schior a batut partia.

Intr-adevar, avand in vedere ca in viitorul apropiat se va desfasura in zona Brasov olimpiada de iarna de tineret autoritatile s-au apucat si au mai amenajat lucrurile. Pe partia lupului au facut un telescaun pe intreaga lungime a sa: telescaun clasic cu 4 locuri in care mai si tremuri putin, numa’ bun sa te racoresti dupa o tura. Cu prima ocazie o sa il incerc.

Poze nu prea am facut pentru ca nici bine nu scoteam aparatul, imi si ingheta mana pe el, so aveti mai jos ce a iesit.

Iarna in izvor

Ca tot am scapat de examene am zis sa ies o poza mica in parcul Izvor. Zis si facut: am tras cu fratele meu mai intai la cantina la drept si pe urma am mers in parc. Ce a urmat vedeti mai jos.

Auto dual boot (windows – linux)

Hello

Long time no write, again. Shame on me. Anyway…

Recently I had the opportunity to work for INCAS, which is a research institute for aerospace vehicles. They bought a cluster, a Super Micro chassis to be more specific, and needed a sysadmin to put it alltogether: install the operating systems, configure the networking, storage and all the necessary things. After 2 versions, I finally understood what they needed: they have codes written by themselves in Fortran using Linux development tools and they also have commercial Windows applications. So basically they needed both the operating systems on the nodes. After I tried to use virtualization tools to configure an easy mode to switch between them, I reached a scalability issue: KVM supports only 2 cores (tested on RHEL5) and ESXi 5 is also limited to 8 cpus and the network latency is quite high.

So the conclusion was: dual boot. So far so good but there are 20 blade servers to dual boot. The Super Micro chassis has indeed a great tool for remote management but it’s not funny to wait for every server to POST and then select witch OS to boot.

After I searched the web, I found that grub supports FAT32 file system witch means that the /boot partition can be written on a vfat partition. This was exactly what I needed because the FAT32 file system can be written from both operating systems.

To implement this all you have to do is this (for clean install):

  1. create a partition for /boot and write an ext3/4 file system to it (the Scientific Linux 6.1 Installer won’t let you install /boot on a vfat file system)
  2. create the rest of the partitions: / and swap
  3. install the Linux operating system

After the server is up and running do the following:

  1. copy the /boot to a temporary folder: mkdir /root/boot-tmp; cp -ar /boot /root/boot-tmp
  2. umount /boot
  3. mkfs.vfat /dev/sda3 (the /boot partition)
  4. update the partition type (c is for FAT32): fdisk /dev/sda -> t 3 -> c
  5. update /etc/fstab (if you are using UUID then the blkid will tell you the new UUID, else just replace it with the /dev/sda3) and don’t forget to update the file system from ext3/4 to vfat
  6. mount /boot ; cp -ar /root/boot-tmp /boot
  7. reboot the system and cross your fingers

Almost done. To automate the switch between Windows and Linux you need to install Cygwin on Windows to be able to run a SSH server on Windows and to have a grub.conf configuration file on the management node: if you need Linux the update the default entry in grub.conf to point to the Linux OS, if you want Windows the do the same for Windows. After the grub.conf is correct (usually the root partition is specified by its UUID, which is different from server to server, just replace that with the actual partition name), you just simply scp it to the server and then reboot. It should boot to the operating system where the default entry in grub.conf points to. This was done using grub 1 but should be the quite the same on grub 2.

Good luck.