Jump to content

Testing/Reports/livecd-iso-to-disk: Difference between revisions

From Sugar Labs
Satellit (talk | contribs)
m USB Stick: DO NOT TRY UPDATE
Satellit (talk | contribs)
no longer available EOL
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Fedora-17-Alpha-RC4-i686-Live-Desktop===
__TOC__
*Set the '''tools_livecd-iso-to-disk.sh''' script as executable (Properties)
<br clear=all>
::Download link: http://bit.ly/livecd-iso-to-disk
===Note USB must be prepared first===
====USB Stick====
* '''use gparted: make new MBR/ format as fat / boot flag set / label="LIVE" '''
*Verbatum 2 GB USB-stick (size=1900)
===Fedora-KDE-Live-x86_64-25-1.3.iso===
:'''Fat 16; boot flag set'''
<nowiki>[root@localhost Downloads]# livecd-iso-to-disk --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-KDE-Live-x86_64-25-1.3.iso /dev/sdc
:NOTE: use diskutility to unmount /dev/sdg1
Verifying image...
:home 700 due to larger desktop live image
/home/satellit/Downloads/Fedora-KDE-Live-x86_64-25-1.3.iso:  f840eea2674b3a3e21c6c563546eaa5f
*'''DO NOT TRY TO UPDATE''' Update is too large and will fill up disk
Fragment sums: 1044b689b78896fc5e5d13ae42c77c75e5b7aa2eb436be1e179c7927ac2f
Fragment count: 20
Supported ISO: no
Press [Esc] to abort check.
Checking: 100.0%


====Command====
The media check is complete, the result is: PASS.
sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 700 --delete-home --unencrypted-home Fedora-17-Alpha-RC4-i686-Live-Desktop.iso /dev/sd(x)1
====Transcript====


Desktop$ sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 700 --delete-home --unencrypted-home Fedora-17-Alpha-RC4-i686-Live-Desktop.iso /dev/sdg1
It is OK to use this media.
Verifying image...
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
./tools_livecd-iso-to-disk.sh: line 806: checkisomd5: command not found
Press Enter to continue or ctrl-c to abort
Are you SURE you want to continue?
Press Enter to continue or ctrl-c to abort
Copying live image to target device.
squashfs.img
    653074432 100%    6.26MB/s    0:01:39 (xfer#1, to-check=0/1)
sent 653154229 bytes  received 31 bytes  6564364.42 bytes/sec
total size is 653074432  speedup is 1.00
osmin.img
          8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
 
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
total size is 8192  speedup is 0.99
Updating boot config file
Initializing persistent overlay file
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 77.6806 s, 6.7 MB/s
Initializing persistent /home
700+0 records in
700+0 records out
734003200 bytes (734 MB) copied, 154.004 s, 4.8 MB/s
Formatting unencrypted /home
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
44832 inodes, 179200 blocks
8960 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=184549376
6 block groups
32768 blocks per group, 32768 fragments per group
7472 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840
Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.11 (14-Mar-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
Target device is now set up with a Live image!
$


===Fedora-17-Nightly-20120221.07-i686-Live-soas===
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
*'''Fedora 17 SoaS Writing of a 2 GB Firefly USB with persistence'''
/dev/sdc: calling ioctl to re-read partition table: Success
*Set the '''tools_livecd-iso-to-disk.sh''' script as executable (Properties)
Waiting for devices to settle...
::Download link: http://bit.ly/livecd-iso-to-disk
mkfs.fat 4.0 (2016-05-06)
====USB Stick====
Copying live image to target device.
2GB USB
squashfs.img
Fat 16
  1,319,231,488 100% 281.89MB/s    0:00:04 (xfr#1, to-chk=0/1)
boot flag
Setting up /EFI/BOOT
*Root Desktop
Updating boot config file
====Command====
Initializing persistent overlay file
sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home Fedora-17-Nightly-20120221.07-i686-Live-soas.iso /dev/sd(x)1
300+0 records in
====Transcript====
300+0 records out
root@ubuntu520:/home/(user)/Desktop# sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home Fedora-17-Nightly-20120221.07-i686-Live-soas.iso /dev/sdg1
314572800 bytes (315 MB, 300 MiB) copied, 0.297588 s, 1.1 GB/s
Verifying image...
Initializing persistent /home
./tools_livecd-iso-to-disk.sh: line 806: checkisomd5: command not found
175+0 records in
Are you SURE you want to continue?
175+0 records out
Press Enter to continue or ctrl-c to abort
183500800 bytes (184 MB, 175 MiB) copied, 0.157262 s, 1.2 GB/s
Formatting unencrypted /home
Copying live image to target device.
mke2fs 1.43.3 (04-Sep-2016)
squashfs.img
Creating filesystem with 179200 1k blocks and 44880 inodes
    489586688 100%    8.28MB/s    0:00:56 (xfer#1, to-check=0/1)
Filesystem UUID: e953f0e8-2a2c-4598-a69c-9cc7a056a512
Superblock backups stored on blocks:  
sent 489646525 bytes  received 31 bytes  8515592.28 bytes/sec
8193, 24577, 40961, 57345, 73729
total size is 489586688  speedup is 1.00
 
osmin.img
Allocating group tables: done                           
        8192 100%   0.00kB/s    0:00:00 (xfer#1, to-check=0/1)
Writing inode tables: done                             
Creating journal (4096 blocks): done
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec
Writing superblocks and filesystem accounting information: done  
total size is 8192  speedup is 0.99
 
Updating boot config file
tune2fs 1.43.3 (04-Sep-2016)
Initializing persistent overlay file
Setting maximal mount count to -1
500+0 records in
Setting interval between checks to 0 seconds
500+0 records out
Installing boot loader
524288000 bytes (524 MB) copied, 60.5367 s, 8.7 MB/s
Target device is now set up with a Live image!
Initializing persistent /home
[root@localhost Downloads]#
900+0 records in
</nowiki>
900+0 records out
943718400 bytes (944 MB) copied, 137.359 s, 6.9 MB/s
Formatting unencrypted /home
mke2fs 1.41.11 (14-Mar-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
57600 inodes, 230400 blocks
11520 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=239075328
8 block groups
32768 blocks per group, 32768 fragments per group
7200 inodes per group
Superblock backups stored on blocks:  
32768, 98304, 163840, 229376
Writing inode tables: done                             
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 37 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
tune2fs 1.41.11 (14-Mar-2010)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
Target device is now set up with a Live image!
root@ubuntu520:/home/(user)/Desktop#

Latest revision as of 21:25, 9 December 2016


Note USB must be prepared first

  • use gparted: make new MBR/ format as fat / boot flag set / label="LIVE"

Fedora-KDE-Live-x86_64-25-1.3.iso

[root@localhost Downloads]# livecd-iso-to-disk --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-KDE-Live-x86_64-25-1.3.iso /dev/sdc
Verifying image...
/home/satellit/Downloads/Fedora-KDE-Live-x86_64-25-1.3.iso:   f840eea2674b3a3e21c6c563546eaa5f
Fragment sums: 1044b689b78896fc5e5d13ae42c77c75e5b7aa2eb436be1e179c7927ac2f
Fragment count: 20
Supported ISO: no
Press [Esc] to abort check.
Checking: 100.0%

The media check is complete, the result is: PASS.

It is OK to use this media.
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
Press Enter to continue or ctrl-c to abort

/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Waiting for devices to settle...
mkfs.fat 4.0 (2016-05-06)
Copying live image to target device.
squashfs.img
  1,319,231,488 100%  281.89MB/s    0:00:04 (xfr#1, to-chk=0/1)
Setting up /EFI/BOOT
Updating boot config file
Initializing persistent overlay file
300+0 records in
300+0 records out
314572800 bytes (315 MB, 300 MiB) copied, 0.297588 s, 1.1 GB/s
Initializing persistent /home
175+0 records in
175+0 records out
183500800 bytes (184 MB, 175 MiB) copied, 0.157262 s, 1.2 GB/s
Formatting unencrypted /home
mke2fs 1.43.3 (04-Sep-2016)
Creating filesystem with 179200 1k blocks and 44880 inodes
Filesystem UUID: e953f0e8-2a2c-4598-a69c-9cc7a056a512
Superblock backups stored on blocks: 
	8193, 24577, 40961, 57345, 73729

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done 

tune2fs 1.43.3 (04-Sep-2016)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Installing boot loader
Target device is now set up with a Live image!
[root@localhost Downloads]#