Post rapido rapido post vacanze:
Rientrato dalle vacanze domenica sera, ho prontamente deciso di dedicare il lunedì alla migrazione di un paio di pc a debian.
Infatti sul barebone, quasi due anni fa, non ero riuscito ad installare debian amd64, ai tempi troppo arretrata per supportare un pc problematico come quello (scheda madre nvidia).
ci avevo bestemmiato sopra davvero un sacco e alla fine avevo messo una versione di ubuntu. Ogni tentativo di aggiornare il sistema alla release successiva di ubuntu terminava in un disastro di proporzioni inaudite, alimentando il mio odio per l'architettura a 64bit ed il suo supporto inadeguato.
A gennaio compravo in fretta e furia il portatile nuovo, causa cedimento hardware (i sostegni dello schermo) del precedente. Dopo un paio di tentativi andati a vuoto di installare debian e ubuntu, non potendo permettermi il lusso di perdere troppo tempo ho messo su fedora 8 (parlo sempre di x86_64, eh).
Fedora è stata una piacevole sopresa, dai tempi della Fedora Core 3, che avevo usato per un po', hanno migliorato tantissimo la gestione dei pacchetti e hanno alleggerito il sistema. Aggiungeteci anche la semplicità di configurazione ed installazione e capirete perchè stia crescendo l'interesse intorno a questo progetto, prima davvero inutilizzabile, secondo me.
Però la voglia di tornare a debian è cresciuta dopo aver messo su un Pentium III in università una "lenny". Quindi approfittando del fatto che per un paio di giorni riesco a lavorare su un altro pc, ho raso al suolo entrambi mettendo la testing a 64bit. Incredibilmente è andato tutto a buon fine al primo colpo.. back to debian, quindi.. and back to work
Visualizzazione post con etichetta fedora. Mostra tutti i post
Visualizzazione post con etichetta fedora. Mostra tutti i post
martedì 26 agosto 2008
giovedì 5 giugno 2008
[Howto] create fedora 9 xen images (on fedora)
A little howto on creating xen images (using torrent to download the iso instead of using http/ftp during installation).
**On Domain-0**
Get DVD iso
-----------
retrieve the .torrent
> wget http://torrent.fedoraproject.org/torrents/Fedora-9-x86_64-DVD.torrent
download the image with rtorrent (text-based) or any other bittorrent client
> rtorrent Fedora-9-x86_64-DVD.torrent
check the file
> sha1sum -c Fedora-9-x86_64-DVD/SHA1SUM
Mount the image and "create" a repository
--------
Mount the iso image using loop device
> mkdir /mnt/fedora_loop/
> mount -o loop Fedora-9-x86_64-DVD/Fedora-9-x86_64-DVD.iso /mnt/fedora_loop/
Make a symlink in apache (so http://localhost/fedora will be the content of the iso image
this is also helpful if you don't have internet connection here but only the dvd: you can link directly the dvd content and proceed ahead
> ln -s /mnt/fedora_loop/ /var/www/html/fedora
Start httpd service
> service httpd start
Install
-------
Start the install process with virt-install (parameters are optional)
> virt-install -b xenbr1 -s 16 -f /xen/fedora9.img -n fedora9 -r 256 --nographics -l http://192.168.1.1/fedora
*where 192.168.1.1 is Domain-0's IP address*
**On Domain-0**
Get DVD iso
-----------
retrieve the .torrent
> wget http://torrent.fedoraproject.org/torrents/Fedora-9-x86_64-DVD.torrent
download the image with rtorrent (text-based) or any other bittorrent client
> rtorrent Fedora-9-x86_64-DVD.torrent
check the file
> sha1sum -c Fedora-9-x86_64-DVD/SHA1SUM
Mount the image and "create" a repository
--------
Mount the iso image using loop device
> mkdir /mnt/fedora_loop/
> mount -o loop Fedora-9-x86_64-DVD/Fedora-9-x86_64-DVD.iso /mnt/fedora_loop/
Make a symlink in apache (so http://localhost/fedora will be the content of the iso image
this is also helpful if you don't have internet connection here but only the dvd: you can link directly the dvd content and proceed ahead
> ln -s /mnt/fedora_loop/ /var/www/html/fedora
Start httpd service
> service httpd start
Install
-------
Start the install process with virt-install (parameters are optional)
> virt-install -b xenbr1 -s 16 -f /xen/fedora9.img -n fedora9 -r 256 --nographics -l http://192.168.1.1/fedora
*where 192.168.1.1 is Domain-0's IP address*
Iscriviti a:
Post (Atom)