As duas ISOs remasterizadas descritas na página 2 foram feitas (XFCE e ambientes gráficos pequenos e a GNOME+KDE) usando uma modificação do método original.
Este método original usava apenas arquivos do tipo "spec":
Neste processo modificado, o arquivo Spec é simplificado e generalizado e o que dirige a remasterização, o que o pacote Molecule deve fazer, é um arquivo adicional de extensão "common".
f) Preparando para remasterizar:
Abra seu Sabayon normal, instalado no HDD. Atualize completamente e instale o pacote Molecule:
# equo update --force
# equo upgrade
# equo install --verbose molecule
Crie uma pasta no Desktop, e chame-a molecule. Ela deverá ser seu diretório de trabalho de remasterização. Pelas características dos arquivos e das ISOs, os nomes e localizações (caminhos) não devem ser mudados:
cd /
$ cd /home/seu nome de usuário/Desktop
$ sudo mkdir molecule
g) Baixando a ISO a ser remasterizada:
A partir do servidor principal Sabayon (Garr IT) , ou de um de seus espelhos (ex., pela localização geográfica mais próxima, Você pode tentar um dos espelhos Norte-Americanos), baixe a ISO QUE VAI USAR COMO GABARITO PARA A REMASTERIZAÇÃO.
Link para a lista completa do espelhos Sabayon:
http://www.sabayon.org/mirrors
Qualquer uma serve, mas é mais prático usar a que já tem um dos ambientes gráficos que queira instalar, de preferência uma em versão instável, "Daily Build", porque é mais nova.
Você também pode baixa-la com RSYNC (página 5). Se já a tiver, ao invés de baixá-la novamente, pode apenas atualiza-la com o rsync.
Em nossos testes, a versão usada foi KDE, de 64 Bits. Salve, copie ou mova a ISO baixada para o diretório "molecule" e para facilitar, renomeie-a simplesmente para "sabayon.iso".
cd /
$ cd /home/seu nome de usuário/Desktop/molecule
# rename (ou mv) Sabayon_Linux_DAILY_amd64_K.iso sabayon.iso
h) Preparando os arquivos que especificam a remasterização:
Usando editor de texto em modo root, crie o arquivo remasterizar.spec. Ele será usado EM TODAS AS REMASTERIZAÇÕES QUE FIZER, sem mais modificações:
cd /
$ cd /home/seu nome de usuário/Desktop/molecule
$ sudo kwrite (ou gedit, kate, nano, vim etc...) remasterizar.spec
Copie e cole as linhas abaixo, modifique, coloque o seu nome de usuário, e depois salve no arquivo:
# File "remasterizar.spec" modified by Alberto Federman Neto, 2010
# Substitua "albfneto" pelo seu NOME DE USUÁRIO
# Use abs path, otherwise daily builds automagic won't work
%import /home/albfneto/Desktop/molecule/remasterizar.common
# Apenas para criar ISO de 32 Bits, usando computador de 64 Bits, descomente,
# pre chroot command, example, for 32bit chroots on 64bit system
# you always have to append "linux32" this is useful for inner_chroot_script
# prechroot: linux32
# Release Version. Should not be modified
release_version: 5.3
# Release Version string description
release_desc: Sabayon Remasterizada
# Path to source ISO file (MANDATORY).
# Substitua "albfneto" pelo seu NOME DE USUÁRIO
source_iso: /home/albfneto/Desktop/molecule/sabayon.iso
# Destination ISO image name, call whatever you want.iso, not mandatory
destination_iso_image_name: remasterizada.iso
Agora crie o outro arquivo, o remasterizar.common. Modifique, adicionando ou removendo os pacotes que quiser. Atenção para os pacotes necessários para remasterizar a versão com KDE+GNOME ou a versão com ambientes gráficos mais simples.
Atenção para editar corretamente os itens de 1 a 5. Lendo o arquivo você perceberá como deve ser editado.
# File "remasterizar.common" for remasterize Sabayon Linux ISO. modified by:
# Alberto Federman Neto, 2010.
# Define an alternative execution strategy, in this case, the value must be
# "iso_remaster"
execution_strategy: iso_remaster
# Release string. for correctness, dont change
release_string: Sabayon Linux
# File to write release string. Do not change
release_file: /etc/sabayon-edition
# ISO Image title
iso_title: remasterizada.iso
# Extra mkisofs parameters, perhaps something to include/use your bootloader. Simply, use default
extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat
# TROQUE "albfneto" PARA SEU NOME USUÁRIO:
# Destination directory for the ISO image path (MANDATORY)
destination_iso_directory: /home/albfneto/Desktop/molecule
# ADICIONE AQUI OS PACOTES DA ISO ORIGINAL QUE QUEIRA REMOVER E DESCOMENTE, OU DEIXE COMO ESTÁ:
# List of packages that would be removed from chrooted system (comma separated)
# packages_to_remove:
# LINHA PARA ADICIONAR OS PACOTES. NÃO COMENTE!
# List of packages that would be added from chrooted system (comma separated)a packages_to_add:
# 1 - PACOTES GNOME. SE ESTIVER REMASTERIZANDO A PARTIR DA ISO COM KDE, USE ESTAS LINHAS E APAGUE
# AS DE KDE (2), ABAIXO. TAMBÉM APAGUE 4 E 5:
@gnome,
app-admin/gnome-system-tools,
app-admin/packagekit-base,
app-admin/packagekit-gtk,
app-admin/system-tools-backends,
app-dicts/aspell-pt,
app-dicts/myspell-pt_BR,
app-editors/gedit,
app-emulation/virtualbox-guest-additions,
app-emulation/wine,
app-misc/anaconda-runtime-gui,
app-misc/gnote,
app-misc/sabayon-version,
app-misc/sabayon-music,
app-misc/sabayon-mce,
app-misc/sabayon-skel,
app-text/gnome-spell,
app-text/pastebunz,
dev-java/sun-jre-bin,
gnome-base/gnome-shell,
gnome-base/gnome-applets,
gnome-extra/deskbar-applet,
gnome-extra/fast-user-switch-applet,
gnome-extra/gcalctool,
gnome-extra/gconf-editor,
gnome-extra/gnome-games,
gnome-extra/gnome-power-manager,
gnome-extra/gnome-screensaver,
gnome-extra/gnome-utils,
gnome-extra/gucharmap,
gnome-extra/nautilus-open-terminal,
gnome-extra/nautilus-sendto,
gnome-extra/nm-applet,
gnome-extra/polkit-gnome,
mail-client/evolution,
media-fonts/ttf-bitstream-vera,
media-fonts/dejavu,
media-fonts/corefonts,
media-gfx/shotwell,
media-gfx/gimp,
media-libs/libdvdread,
media-libs/libdvdcss,
media-libs/libdvdplay,
media-libs/libdvdnav,
media-plugins/alsa-plugins,
media-sound/audacious,
media-sound/padevchooser,
media-sound/paman,
media-sound/pavucontrol,
media-sound/pavumeter,
media-tv/afatech9005-firmware,
media-tv/ivtv-firmware,
media-tv/xbmc,
media-video/mplayer,
media-video/totem,
net-analyzer/gnome-netstatus,
net-dialup/globespan-adsl,
net-dialup/gnome-ppp,
net-dialup/ppp,
net-dialup/rp-pppoe,
net-fs/samba,
net-im/pidgin,
net-irc/xchat,
net-misc/networkmanager,
net-misc/networkmanager-openvpn,
net-misc/networkmanager-pptp,
net-misc/networkmanager-vpnc,
net-misc/ntp,
net-p2p/deluge,
net-print/cups,
net-print/gnome-cups-manager,
net-print/foomatic-db,
net-print/foomatic-db-ppds,
net-print/foomatic-filters,
net-print/foomatic-filters-ppds,
net-print/gutenprint,
net-wireless/acx-firmware,
net-wireless/atmel-firmware,
net-wireless/b43-firmware,
net-wireless/b43-fwcutter,
net-wireless/bcm43xx-firmware,
net-wireless/bcm43xx-fwcutter,
net-wireless/bluez,
net-wireless/bluez-firmware,
net-wireless/bluez-hcidump,
net-wireless/broadcom-sta,
net-wireless/gnome-bluetooth,
net-wireless/ipw2200-firmware,
net-wireless/ipw3945-ucode,
net-wireless/ipw3945d,
net-wireless/iwl3945-ucode,
net-wireless/iwl3945-ucode,
net-wireless/iwl4965-ucode,
net-wireless/iwl4965-ucode,
net-wireless/iwl5000-ucode,
net-wireless/iwl5000-ucode,
net-wireless/iwl5150-ucode,
net-wireless/iwl6000-ucode,
net-wireless/libertas-firmware,
net-wireless/linux-wlan-ng-firmware,
net-wireless/linux-wlan-ng-utils,
net-wireless/ndiswrapper,
net-wireless/prism54-firmware:0,
net-wireless/prism54-usb-firmware,
net-wireless/rt61-firmware,
net-wireless/rt73-firmware,
net-wireless/zd1201-firmware,
net-wireless/zd1211-firmware,
sys-apps/gpu-detector,
sys-apps/entropy-client-services,
sys-apps/gnome-disk-utility,
sys-apps/hal,
sys-apps/hdparm,
sys-apps/sdparm,
sys-apps/tuxonice-userui,
sys-block/gparted,
sys-fs/dmraid,
sys-fs/ntfs3g,
sys-power/acpid,
www-client/mozilla-firefox,
www-plugins/adobe-flash,
www-plugins/nspluginwrapper,
x11-apps/xdm,
x11-terms/guake,
x11-terms/xterm,
x11-drivers/xf86-video-virtualbox,
x11-drivers/ati-drivers,
x11-drivers/nvidia-drivers,
x11-misc/alacarte,
x11-misc/desktop-acceleration-helpers,
x11-misc/magneto-gtk,
x11-misc/xvkbd,
x11-plugins/compiz-plugins-extra,
x11-plugins/compiz-plugins-main,
x11-plugins/compiz-plugins-unsupported,
x11-terms/gnome-terminal,
x11-themes/emerald-themes,
x11-themes/gnome-backgrounds,
x11-themes/gnome-colors-common,
x11-themes/gnome-colors-themes,
x11-themes/gnome-icon-theme,
x11-themes/gnome-themes,
x11-themes/gtk-engines,
x11-themes/gtk-engines-murrine,
x11-themes/hicolor-icon-theme,
x11-themes/murrine-themes,
x11-themes/sabayon-artwork-extra,
x11-themes/sabayon-artwork-gnome,
x11-themes/sabayon-artwork-ooo,
x11-themes/sound-theme-freedesktop,
x11-themes/xcursor-themes,
x11-wm/compiz,
x11-wm/fluxbox,
x11-wm/twm,
# 2 - PACOTES KDE - SE ESTIVER REMASTERIZANDO A PARTIR DO SABAYON COM GNOME,USE ESTAS LINHAS E APAGUE AS DE GNOME (1), ACIMA E TAMBÉM APAGUE 4 E 5:
app-admin/packagekit-base,
app-admin/packagekit-qt4,
app-admin/sulfur,
app-cdr/k3b,
app-crypt/gnupg,
app-dicts/aspell-pt,
guest-additions,
app-emulation/wine,
app-misc/anaconda-runtime-gui,
app-misc/sabayon-version,
app-misc/sabayon-music,
app-misc/sabayon-mce,
app-misc/sabayon-skel,
app-text/pastebunz,
app-office/openoffice,
app-office/openoffice-l10n-pt_BR,
dev-java/sun-jre-bin,
kde-base/kde-l10n-pt_BR,
kde-base/akregator,
kde-base/ark,
kde-base/bomber,
kde-base/bovo,
kde-base/dolphin,
kde-base/kabcclient,
kde-base/kalarm,
kde-base/kamera,
kde-base/kapman,
kde-base/kappfinder,
kde-base/kcalc,
kde-base/kcharselect,
kde-base/kcheckpass,
kde-base/kcminit,
kde-base/kde-env,
kde-base/kdeaccessibility-colorschemes,
kde-base/kdeadmin-meta,
kde-base/kdeartwork-colorschemes,
kde-base/kdeartwork-desktopthemes,
kde-base/kdeartwork-emoticons,
kde-base/kdeartwork-iconthemes,
kde-base/kdeartwork-kscreensaver,
kde-base/kdeartwork-sounds,
kde-base/kdeartwork-styles,
kde-base/kdeartwork-wallpapers,
kde-base/kdeartwork-weatherwallpapers,
kde-base/kdebase-cursors,
kde-base/kdebase-runtime-meta,
kde-base/kdebase-startkde,
kde-base/kdebase-wallpapers,
kde-base/kdegraphics-strigi-analyzer,
kde-base/kdelibs,
kde-base/kdemultimedia-kioslaves,
kde-base/kdenetwork-filesharing,
kde-base/kdepasswd,
kde-base/kdepimlibs,
kde-base/kdeplasma-addons,
kde-base/kdf,
kde-base/kdialog,
kde-base/kdm,
kde-base/kdnssd,
kde-base/keditbookmarks,
kde-base/kephal,
kde-base/kfind,
kde-base/kfmclient,
kde-base/kfourinline,
kde-base/kgpg,
kde-base/khotkeys,
kde-base/killbots,
kde-base/kinfocenter,
kde-base/kiriki,
kde-base/kjots,
kde-base/klines,
kde-base/klipper,
kde-base/kmag,
kde-base/kmahjongg,
kde-base/kmenuedit,
kde-base/kmines,
kde-base/kmix,
kde-base/kmousetool,
kde-base/kmouth,
kde-base/knetwalk,
kde-base/knotes,
kde-base/knotify,
kde-base/kolf,
kde-base/kollision,
kde-base/konquest,
kde-base/konsole,
kde-base/konsolekalendar,
kde-base/kontact,
kde-base/kopete,
kde-base/korganizer,
kde-base/kpat,
kde-base/kppp,
kde-base/kreadconfig,
kde-base/kreversi,
kde-base/krosspython,
kde-base/krunner,
kde-base/ksame,
kde-base/ksaneplugin,
kde-base/kscd,
kde-base/kscreensaver,
kde-base/kshisen,
kde-base/ksmserver,
kde-base/ksnapshot,
kde-base/kspaceduel,
kde-base/ksplash,
kde-base/ksquares,
kde-base/kstartupconfig,
kde-base/ksudoku,
kde-base/ksysguard,
kde-base/ksystraycmd,
kde-base/ktron,
kde-base/kubrick,
kde-base/kwallet,
kde-base/kwin,
kde-base/kwrite,
kde-base/kwrited,
kde-base/libkcddb,
kde-base/libkcompactdisc,
kde-base/libkdcraw,
kde-base/libkdeedu,
kde-base/libkdegames,
kde-base/libkdepim,
kde-base/libkexiv2,
kde-base/libkipi,
kde-base/libkleo,
kde-base/libkmahjongg,
kde-base/libkonq,
kde-base/libkpgp,
kde-base/libksane,
kde-base/libkworkspace,
kde-base/libplasmaclock,
kde-base/libplasmagenericshell,
kde-base/libtaskmanager,
kde-base/mplayerthumbs,
kde-base/okular,
kde-base/oxygen-icons,
kde-base/phonon-kde,
kde-base/plasma-apps,
kde-base/plasma-workspace,
kde-base/policykit-kde,
kde-base/powerdevil,
kde-base/pykde4,
kde-base/qguiplatformplugin_kde,
kde-base/solid,
kde-base/svgpart,
kde-base/systemsettings,
kde-base/thumbnailers,
kde-misc/kcm_gtk,
kde-misc/kio-sysinfo,
kde-misc/magneto-kde,
kde-misc/yakuake,
media-fonts/ttf-bitstream-vera,
media-fonts/dejavu,
media-fonts/corefonts,
media-libs/libdvdread,
media-libs/libdvdcss,
media-libs/libdvdplay,
media-libs/libdvdnav,
media-plugins/alsa-plugins,
media-sound/clementine,
media-sound/padevchooser,
media-sound/paman,
media-sound/pavucontrol,
media-sound/pavumeter,
media-tv/afatech9005-firmware,
media-tv/ivtv-firmware,
media-tv/xbmc,
media-video/vlc,
net-analyzer/gnome-netstatus,
net-dialup/globespan-adsl,
net-dialup/gnome-ppp,
net-dialup/ppp,
net-dialup/rp-pppoe,
net-fs/samba,
net-irc/konversation,
net-misc/networkmanager,
net-misc/networkmanager-openvpn,
net-misc/networkmanager-pptp,
net-misc/networkmanager-vpnc,
net-misc/ntp,
net-print/cups,
net-print/foomatic-db,
net-print/foomatic-db-ppds,
net-print/foomatic-filters,
net-print/foomatic-filters-ppds,
net-print/gutenprint,
net-wireless/acx-firmware,
net-wireless/atmel-firmware,
net-wireless/b43-firmware,
net-wireless/b43-fwcutter,
net-wireless/bcm43xx-firmware,
net-wireless/bcm43xx-fwcutter,
net-wireless/bluez,
net-wireless/bluez-firmware,
net-wireless/bluez-hcidump,
net-wireless/broadcom-sta,
net-wireless/gnome-bluetooth,
net-wireless/ipw2200-firmware,
net-wireless/ipw3945-ucode,
net-wireless/ipw3945d,
net-wireless/iwl3945-ucode,
net-wireless/iwl3945-ucode,
net-wireless/iwl4965-ucode,
net-wireless/iwl4965-ucode,
net-wireless/iwl5000-ucode,
net-wireless/iwl5000-ucode,
net-wireless/iwl5150-ucode,
net-wireless/iwl6000-ucode,
net-wireless/libertas-firmware,
net-wireless/linux-wlan-ng-firmware,
net-wireless/linux-wlan-ng-utils,
net-wireless/ndiswrapper,
net-wireless/prism54-firmware:0,
net-wireless/prism54-usb-firmware,
net-wireless/rt61-firmware,
net-wireless/rt73-firmware,
net-wireless/zd1201-firmware,
net-wireless/zd1211-firmware,
sys-auth/policykit,
sys-auth/policykit-qt,
sys-auth/polkit,
sys-auth/polkit-kde,
sys-auth/polkit-qt,
sys-apps/gpu-detector,
sys-apps/entropy-client-services,
sys-apps/gnome-disk-utility,
sys-apps/hal,
sys-apps/hdparm,
sys-apps/sdparm,
sys-apps/tuxonice-userui,
sys-block/gparted,
sys-fs/dmraid,
sys-fs/ntfs3g,
sys-power/acpid,
www-client/mozilla-firefox,
www-plugins/adobe-flash,
www-plugins/nspluginwrapper,
x11-apps/xdm,
x11-terms/xterm,
x11-drivers/xf86-video-virtualbox,
x11-drivers/ati-drivers,
x11-drivers/nvidia-drivers,
x11-misc/desktop-acceleration-helpers,
x11-misc/xvkbd,
x11-themes/gtk-engines,
x11-themes/gtk-engines-murrine,
x11-themes/sabayon-artwork-extra,
x11-themes/sabayon-artwork-kde,
x11-themes/sabayon-artwork-ooo,
x11-themes/sound-theme-freedesktop,
x11-themes/xcursor-themes,
# 3 - PACOTES ADICIONAIS PARA KDE COM GNOME - COLOQUE AQUI, OS PACOTES ADICIONAIS A SEREM
# INSTALADOS NO SABAYON, PARA XFCE, LXDE ETC... REMOVA.
krusader, epiphany, scribus, opera, seamonkey, autounmask, autoconf, automake, make, cmake, mirrorselect,lm_sensors, filezilla, simple-ccsm, ccsm, fusion-icon, xchat, evolution, transmission, vuze,vuze-coreplugins, eterm, fish, zsh, evince, guake, avidemux, k9copy, amarok, exaile, kaffeine, totem, vlc, dragonplayer, audacity, audacious-plugins, emerald, file-roller, ark, cheese, cinelerra, kopete, amsn, emesene,pidgin, kmess, gget, kget, gwget, wireshark, frostwire, amule, amuleadu, livestation, mplayer, smplayer, googleearth, nvclock, devede, gimp, inkscape, portato, emerald, fluxbox-styles-fluxmod,fluxbox-syntax,brasero, gnomebaker, mplayer-skins, xine-ui, konversation, eix, cvs, subversion, git, net-misc/curl, aria2, axel, bash-completion, zsh-completion, webmin, miro, www-client/chromium, banshee, rhythmbox, gkrellm, gkrellm-themes, opera, xmms2, bleachbit, songbird-bin, superkaramba, cairo-dock, conky, gnome-mplayer,
# 4 - PACOTES PARA REMASTERIZAR A SABAYON COM AMBIENTES GRÁFICOS PEQUENOS. PARTA DA SABAYON COM # XFCE E APAGUE OS ITENS ACIMA EM 1, 2 E 3. PARA SOMENTE KDE E GNOME, REMOVA.
@X,
@lxde,
app-emulation/virtualbox-guest-additions,
app-misc/anaconda-runtime-gui,
app-text/pastebunz,
gnome-extra/nm-applet,
xterm,
media-gfx/feh,
sys-apps/gpu-detector,
x11-drivers/xf86-video-virtualbox,
# 5-PACOTES ADICIONAIS PARA XFCE, LXDE, WINDOWMAKER, E17, MATCHBOX, BLACKBOX, OPENBOX,
# FLUXBOX ETC...PARA SOMENTE KDE E GNOME, REMOVA.
@E17, icewm, icewm-themes, icewmcp, fvwm, fvwm-crystal, fvwm-themes, fvwm-themes-extra, fvwm_icons, wmmisc, wmmon, wmmon+smp, fvwm_sounds, matchbox, matchbox-common, matchbox-desktop, matchbox-panel, matchbox-window-manager, wmsound-data, wmmemmon, wmmenu, wmakerconf, windowmaker, windowmaker-themes, wmCalClock, wmDownload, wmMatrix, wmMoonClock, wmSMPmon, wmSpaceWeather, wmmemload, wmSun, wmacpi, wmacpiload-ac, wmapm, wmapmload, wmappl, wmbiff, wmbinclock, wmbio, wmblob, wmbluecpu, wmbutton, wmcalc, wmcalendar, wmcliphist, wmclock, wmclockmon, wmcms, wmcoincoin, wmcp, wmcpuload, wmcube, wmdate, wmdiskmon, wmdl, wmdots, wmdrawer, wmfire, wmfishtime, wmfortune, wmfrog, wmfsm, wmget, wmhdplop, wmifinfo, wmifs, wminet, wmitime, wmix, wmlaptop, wmlife, wmload, wmmaiload, wmmand, wmmemfree, wmmp, wmmp3, wmmsg, wmnd, wmnet, wmnetload, wmnetmon, wmnetselect, wmpager, wmpasman, wmpinboard, wmping, wmpop3, wmpop3lb, wmpower, wmppp, wmrack, wmsmixer, wmswallow, wmsysmon, wmsystray, wmtime, wmtop, wmtz, wmupmon, wmvolman, wmweather, wmweather+, wmwifi, wmwork, wmxkb, wmxres, wm-icons, blackbox, openbox, fluxbox, fluxter, fluxbox-syntax, fluxbox-styles-fluxmod, autoconf, automake, make, mirrorselect, eix, esearch, eterm, autounmask, etc-proposals, portato,
# 6 - INSTALA E CONFIGURA SUPORTE NVIDIA, CUDA E GPU. MODIFIQUE SE TIVER PLACA DE VÍDEO
# ATI OU INTEL:
nvidia-drivers, nvidia-settings, nvidia-cuda-toolkit, nvidia-cuda-sdk
# Determine whether repositories update should be run (if packages_to_add is set)
# (default is: no), values are: yes, no.
execute_repositories_update: yes
Se fez tudo corretamente, agora você deve ter uma pasta no seu Desktop chamada "molecule" (item f) e dentro dela, a ISO de partida, que vai ser remasterizada, chamada 'sabayon.iso" (item g), os arquivos remasterizar.spec e remasterizar.common (item h).
Passe para a página 4.