Autor Tópico: Como criar um live-pendrive usando o remastersys no ubuntu 12.04  (Lida 1695 vezes)

Offline Homem_da_selva

  • Usuário Ubuntu
  • *
  • Mensagens: 211
    • Ver perfil
Como criar um live-pendrive usando o remastersys no ubuntu 12.04
« Online: 28 de Setembro de 2012, 21:07 »
Boa noite!...

Tenho o ubuntu 12.04: 64 bits na minha máquina e estou pretendendo fazer uma cópia do meu sistema para quaisquer problemas. Baseado no tópico abaixo baixei e instalei o remastersys.

http://ubuntuforum-br.org/index.php/topic,95700.0.html

Após os passo abaixo tentai criar a imagem do meu sistemas usando a opção DIST tanto usando a interdace gráfica do remastersys como também usando o comando: sudo remastersys dist. Nos dois casos não encontrei no diretório remastersys criado na minha home, nenhum arquivo com extensão iso.

Segue abaixo o conteúdo de um arquivo chamado remastersys.log

Creating the cd filesystem only
Distribution Mode Selected
Enabling remastersys-firstboot
Checking filesystem type of the Working Folder
/home/remastersys/remastersys is on a ext4 filesystem
Making sure popularity contest is not installed
Installing the Ubiquity GTK frontend
Checking if the /home/remastersys/remastersys folder has been created
Creating /home/remastersys/remastersys/ISOTMP folder tree
Copying /var and /etc to temp area and excluding extra files  ... this will take a while so be patient
Cleaning up files not needed for the live in /home/remastersys/remastersys/dummysys
Cleaning up passwd, group, shadow and gshadow files for the live system
Making sure adduser and autologin functions of casper are set properly
Copying memtest86+ for the live system
Creating isolinux setup for the live system
Checking the ARCH of the system and setting the README.diskdefines file
Creating filesystem.manifest and filesystem.manifest-desktop
Creating the casper.conf file.
Checking and setting user-setup-apply for the live system
Setting up casper and ubiquity options for dist mode
Creating a new initial ramdisk for the live system
Copying your kernel and initrd for the livecd
Creating filesystem.squashfs   ... this will take a while so be patient
Adding stage 1 files/folders that the livecd requires
Adding stage 2 files/folders that the livecd requires
------------------------------------------------------
Mount information
/dev/sda7 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda9 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/dunham/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=dunham)
/dev/sdb1 on /media/PATRIOT type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sda6 on /media/Novo volume type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
------------------------------------------------------
Disk size information
Sist. Arq.       Tam  Usad Dispon. Uso% Montado em
/dev/sda7        20G   11G    8,3G  56% /
udev            1,8G  4,0K    1,8G   1% /dev
tmpfs           740M  928K    739M   1% /run
none            5,0M  8,0K    5,0M   1% /run/lock
none            1,9G  304K    1,9G   1% /run/shm
/dev/sda9        42G   30G     11G  75% /home
/dev/sdb1        15G  2,2G     13G  15% /media/PATRIOT
/dev/sda6        98G   62G     37G  63% /media/Novo volume
------------------------------------------------------
Casper Script info
total 148
-rwxr-xr-x 1 root root  297 Abr 18 05:17 01integrity_check
-rwxr-xr-x 1 root root  467 Abr 18 05:17 05mountpoints
-rwxr-xr-x 1 root root  571 Abr 18 05:17 07remove_oem_config
-rwxr-xr-x 1 root root  400 Abr 18 05:17 12fstab
-rwxr-xr-x 1 root root  830 Abr 18 05:17 13swap
-rwxr-xr-x 1 root root 1221 Abr 18 05:17 14locales
-rwxr-xr-x 1 root root 2920 Abr 18 05:17 15autologin
-rwxr-xr-x 1 root root  577 Abr 18 05:17 18hostname
-rwxr-xr-x 1 root root 8878 Abr 18 05:17 19keyboard
-rwxr-xr-x 1 root root  546 Abr 18 05:17 20xconfig
-rwxr-xr-x 1 root root  624 Abr 18 05:17 22gnome_panel_data
-rwxr-xr-x 1 root root  867 Abr 18 05:17 22screensaver
-rwxr-xr-x 1 root root  577 Abr 18 05:17 22serialtty
-rwxr-xr-x 1 root root  410 Abr 18 05:17 22sslcert
-rwxr-xr-x 1 root root  380 Abr 18 05:17 23etc_modules
-rwxr-xr-x 1 root root 3786 Abr 18 05:33 23networking
-rwxr-xr-x 1 root root 2102 Abr 18 05:17 24preseed
-rwxr-xr-x 1 root root 3939 Abr 18 05:17 25adduser
-rwxr-xr-x 1 root root 1996 Abr 18 05:17 25configure_init
-rwxr-xr-x 1 root root  644 Abr 18 05:17 26disable_user_menu
-rwxr-xr-x 1 root root 1421 Abr 18 05:17 30accessibility
-rwxr-xr-x 1 root root 1152 Abr 18 05:17 31disable_update_notifier
-rwxr-xr-x 1 root root  463 Abr 18 05:17 32disable_hibernation
-rwxr-xr-x 1 root root  650 Abr 18 05:17 33enable_apport_crashes
-rwxr-xr-x 1 root root  928 Abr 18 05:17 34disable_kde_services
-rwxr-xr-x 1 root root  562 Abr 18 05:17 35fix_language_selector
-rwxr-xr-x 1 root root  407 Abr 18 05:17 36disable_trackerd
-rwxr-xr-x 1 root root  908 Abr 18 05:17 40install_driver_updates
-rwxr-xr-x 1 root root  561 Abr 18 05:17 41apt_cdrom
-rwxr-xr-x 1 root root  847 Abr 18 05:17 43disable_updateinitramfs
-rwxr-xr-x 1 root root  640 Abr 18 05:17 44pk_allow_ubuntu
-rwxr-xr-x 1 root root  594 Abr 18 05:17 45jackd2
-rwxr-xr-x 1 root root  215 Abr 18 05:17 48kubuntu_disable_restart_notifications
-rwxr-xr-x 1 root root  169 Abr 18 05:17 49kubuntu_mobile_session
-rwxr-xr-x 1 root root  346 Abr 18 05:17 50ubiquity-bluetooth-agent
------------------------------------------------------
/etc/remastersys.conf info

#Remastersys Global Configuration File


# This is the temporary working directory and won't be included on the cd/dvd
WORKDIR="/home/remastersys"


# Here you can add any other files or directories to be excluded from the live filesystem
# Separate each entry with a space
EXCLUDES=""


# Here you can change the livecd/dvd username
LIVEUSER="custom"


# Here you can change the name of the livecd/dvd label
LIVECDLABEL="Custom Live CD"


# Here you can change the name of the ISO file that is created
CUSTOMISO="custom-$1.iso"

# Here you can change the mksquashfs options
SQUASHFSOPTS="-no-recovery -always-use-fragments -b 1M -no-duplicates"


# Here you can prevent the Install icon from showing up on the desktop in backup mode. 0 - to not show 1 - to show
BACKUPSHOWINSTALL="1"


# Here you can change the url for the usb-creator info
LIVECDURL="http://www.remastersys.com"
------------------------------------------------------
/etc/casper.conf info
# This file should go in /etc/casper.conf
# Supported variables are:
# USERNAME, USERFULLNAME, HOST, BUILD_SYSTEM

export USERNAME="custom"
export USERFULLNAME="Live session user"
export HOST="custom"
export BUILD_SYSTEM="Ubuntu"
export FLAVOUR="custom"
------------------------------------------------------
/etc/passwd info
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
messagebus:x:102:105::/var/run/dbus:/bin/false
colord:x:103:108:colord colour management daemon,,,:/var/lib/colord:/bin/false
lightdm:x:104:111:Light Display Manager:/var/lib/lightdm:/bin/false
whoopsie:x:105:114::/nonexistent:/bin/false
avahi-autoipd:x:106:117:Avahi autoip daemon,,,:/var/lib/avahi-autoipd:/bin/false
avahi:x:107:118:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
usbmux:x:108:46:usbmux daemon,,,:/home/usbmux:/bin/false
kernoops:x:109:65534:Kernel Oops Tracking Daemon,,,:/:/bin/false
pulse:x:110:119:PulseAudio daemon,,,:/var/run/pulse:/bin/false
rtkit:x:111:122:RealtimeKit,,,:/proc:/bin/false
speech-dispatcher:x:112:29:Speech Dispatcher,,,:/var/run/speech-dispatcher:/bin/sh
hplip:x:113:7:HPLIP system user,,,:/var/run/hplip:/bin/false
saned:x:114:123::/home/saned:/bin/false
guest-wxKqst:x:115:125:Guest,,,:/tmp/guest-wxKqst:/bin/bash
guest-eStQ6V:x:116:126:Guest,,,:/tmp/guest-eStQ6V:/bin/bash
guest-mMg946:x:117:129:Guest,,,:/tmp/guest-mMg946:/bin/bash
debian-xfs:x:118:130::/nonexistent:/bin/false
haldaemon:x:119:131:Hardware abstraction layer,,,:/var/run/hald:/bin/false
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
------------------------------------------------------
/etc/group info
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:pulse
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:
staff:x:50:
games:x:60:
users:x:100:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
messagebus:x:105:
bluetooth:x:106:
scanner:x:107:
colord:x:108:
lpadmin:x:109:
ssl-cert:x:110:
lightdm:x:111:
nopasswdlogin:x:112:
netdev:x:113:
whoopsie:x:114:
mlocate:x:115:
ssh:x:116:
avahi-autoipd:x:117:
avahi:x:118:
pulse:x:119:
pulse-access:x:120:
utempter:x:121:
rtkit:x:122:
saned:x:123:
sambashare:x:124:
guest-wxKqst:x:125:
guest-eStQ6V:x:126:
winbindd_priv:x:127:
guest-q06Q7m:x:128:
guest-mMg946:x:129:
debian-xfs:x:130:
haldaemon:x:131:
powerdev:x:132:
nogroup:x:65534:
------------------------------------------------------
/etc/X11/default-display-manager info
/usr/sbin/lightdm
------------------------------------------------------
/etc/skel info
/etc/skel
/etc/skel/.bashrc
/etc/skel/.bash_logout
/etc/skel/examples.desktop
/etc/skel/.profile
------------------------------------------------------
lsb-release info
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.1 LTS"
------------------------------------------------------
remastersys version info
REMASTERSYSVERSION="3.0.3-1"
 
------------------------------------------------------
ISOTMP info
/home/remastersys/remastersys/ISOTMP:
total 20
drwxr-xr-x 2 root root 4096 Set 28 09:41 casper
drwxr-xr-x 2 root root 4096 Set 28 08:57 install
drwxr-xr-x 2 root root 4096 Set 28 09:41 isolinux
drwxr-xr-x 2 root root 4096 Set 28 08:57 preseed
-rw-r--r-- 1 root root  197 Set 28 09:41 README.diskdefines

/home/remastersys/remastersys/ISOTMP/casper:
total 4054164
-rw-r--r-- 1 root root      80150 Set 28 09:41 filesystem.manifest
-rw-r--r-- 1 root root      80086 Set 28 09:41 filesystem.manifest-desktop
-rw-r--r-- 1 root root 4125339648 Set 28 10:18 filesystem.squashfs
-rw-r--r-- 1 root root   20984644 Set 28 09:41 initrd.gz
-rw-r--r-- 1 root root        197 Set 28 09:41 README.diskdefines
-rw------- 1 root root    4963792 Set 28 09:41 vmlinuz

/home/remastersys/remastersys/ISOTMP/install:
total 176
-rw-r--r-- 1 root root 176764 Set 28 09:39 memtest

/home/remastersys/remastersys/ISOTMP/isolinux:
total 400
-rw-r--r-- 1 root root  24576 Set 28 09:40 isolinux.bin
-rw-r--r-- 1 root root    896 Set 28 09:41 isolinux.cfg
-rwxr-xr-x 1 root root 220583 Set 28 09:41 splash.png
-rw-r--r-- 1 root root 155792 Set 28 09:41 vesamenu.c32

/home/remastersys/remastersys/ISOTMP/preseed:
total 4
-rwxr-xr-x 1 root root 212 Set 28 09:39 custom.seed
------------------------------------------------------
/home/remastersys/remastersys/tmpusers info
dunham
------------------------------------------------------
Command-line options = dist cdfs
------------------------------------------------------
Removing the ubiquity frontend as it has been included and is not needed on the normal system
The compressed filesystem is larger than genisoimage allows for a single file. You must try to reduce the amount of data you are backing up and try again.