Пересборка LiveCD Ubuntu: различия между версиями
Перейти к навигации
Перейти к поиску
Gumanoed (обсуждение | вклад) |
Gumanoed (обсуждение | вклад) |
||
Строка 20: | Строка 20: | ||
echo "nameserever 192.168.10.1" >> /etc/resolv.conf | echo "nameserever 192.168.10.1" >> /etc/resolv.conf | ||
− | |||
aptitude purge language-pack-ar language-pack-bn language-pack-de language-pack-es language-pack-fr language-pack-hi language-pack-pt language-pack-xh language-pack-ar-base language-pack-bn-base language-pack-de-base language-pack-es-base language-pack-fr-base language-pack-hi-base language-pack-pt-base language-pack-xh-base language-pack-gnome-ar language-pack-gnome-bn language-pack-gnome-de language-pack-gnome-es language-pack-gnome-fr language-pack-gnome-hi language-pack-gnome-pt language-pack-gnome-xh language-pack-gnome-ar-base language-pack-gnome-bn-base language-pack-gnome-de-base language-pack-gnome-es-base language-pack-gnome-fr-base language-pack-gnome-hi-base language-pack-gnome-pt-base language-pack-gnome-xh-base | aptitude purge language-pack-ar language-pack-bn language-pack-de language-pack-es language-pack-fr language-pack-hi language-pack-pt language-pack-xh language-pack-ar-base language-pack-bn-base language-pack-de-base language-pack-es-base language-pack-fr-base language-pack-hi-base language-pack-pt-base language-pack-xh-base language-pack-gnome-ar language-pack-gnome-bn language-pack-gnome-de language-pack-gnome-es language-pack-gnome-fr language-pack-gnome-hi language-pack-gnome-pt language-pack-gnome-xh language-pack-gnome-ar-base language-pack-gnome-bn-base language-pack-gnome-de-base language-pack-gnome-es-base language-pack-gnome-fr-base language-pack-gnome-hi-base language-pack-gnome-pt-base language-pack-gnome-xh-base | ||
Строка 29: | Строка 28: | ||
mksquashfs ubuntu-source/ ubuntu-rebuild/casper/filesystem.squashfs -noappend | mksquashfs ubuntu-source/ ubuntu-rebuild/casper/filesystem.squashfs -noappend | ||
− | |||
− | |||
mkisofs --iso-level 4 -r -V "Ubuntu-9.04-NRTC-Edition" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /media/ubuntu-9.04-NRTC-edition.iso ubuntu-rebuild | mkisofs --iso-level 4 -r -V "Ubuntu-9.04-NRTC-Edition" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /media/ubuntu-9.04-NRTC-edition.iso ubuntu-rebuild |
Версия 14:33, 13 октября 2009
mount -o loop feisty.iso loop/ rsync -ax loop/. ubuntu-rebuild/
umount loop
mount ubuntu-rebuild/casper/filesystem.squashfs loop -t squashfs -o loop rsync -av loop/. ubuntu-source
umount loop
nano ubuntu-source/etc/apt/sources.list
mount --bind /dev/ /media/ubuntu-source/dev mount -t proc /proc /media/ubuntu-source/proc mount -t sysfs /sys /media/ubuntu-source/sys
chroot ubuntu-source
echo "nameserever 192.168.10.1" >> /etc/resolv.conf
aptitude purge language-pack-ar language-pack-bn language-pack-de language-pack-es language-pack-fr language-pack-hi language-pack-pt language-pack-xh language-pack-ar-base language-pack-bn-base language-pack-de-base language-pack-es-base language-pack-fr-base language-pack-hi-base language-pack-pt-base language-pack-xh-base language-pack-gnome-ar language-pack-gnome-bn language-pack-gnome-de language-pack-gnome-es language-pack-gnome-fr language-pack-gnome-hi language-pack-gnome-pt language-pack-gnome-xh language-pack-gnome-ar-base language-pack-gnome-bn-base language-pack-gnome-de-base language-pack-gnome-es-base language-pack-gnome-fr-base language-pack-gnome-hi-base language-pack-gnome-pt-base language-pack-gnome-xh-base
aptitude install ubuntu-restricted-extras language-support-ru language-support-extra-ru language-pack-ru language-pack-gnome-ru language-support-translations-ru
aptitude clean
mksquashfs ubuntu-source/ ubuntu-rebuild/casper/filesystem.squashfs -noappend
mkisofs --iso-level 4 -r -V "Ubuntu-9.04-NRTC-Edition" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /media/ubuntu-9.04-NRTC-edition.iso ubuntu-rebuild