Difference between revisions of "Testing/Reports/livecd-iso-to-disk"

From Sugar Labs
Jump to navigation Jump to search
(Let's not use the obscure bit.ly link)
(no longer available EOL)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*Caution Use this '''tools_livecd-iso-to-disk''': http://git.fedorahosted.org/git/?p=hosted/livecd;a=blob;f=tools/livecd-iso-to-disk.sh;hb=HEAD
+
__TOC__
* http://git.fedorahosted.org/git/?p=livecd;a=blob_plain;f=tools/livecd-iso-to-disk.sh;hb=HEAD
+
<br clear=all>
  has a older command for parted, which will not work with f17.
+
===Note USB must be prepared first===
:https://bugzilla.redhat.com/show_bug.cgi?id=750228#c23
+
* '''use gparted: make new MBR/ format as fat / boot flag set / label="LIVE" '''
===Fedora-17-Beta-RC4-x86_64-Live-SoaS===
+
===Fedora-KDE-Live-x86_64-25-1.3.iso===
*http://dl.fedoraproject.org/pub/alt/stage/17-Beta.RC4/Live/x86_64/Fedora-17-Beta-x86_64-Live-SoaS.iso
+
  <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
====Transcript====
+
Verifying image...
  Desktop$ sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 700 --delete-home --unencrypted-home Fedora-17-Beta-x86_64-Live-SoaS.iso /dev/sdb1
+
/home/satellit/Downloads/Fedora-KDE-Live-x86_64-25-1.3.iso:   f840eea2674b3a3e21c6c563546eaa5f
[sudo] password for (user):
+
Fragment sums: 1044b689b78896fc5e5d13ae42c77c75e5b7aa2eb436be1e179c7927ac2f
Verifying image...
+
Fragment count: 20
./tools_livecd-iso-to-disk.sh: line 900: checkisomd5: command not found
+
Supported ISO: no
Are you SURE you want to continue?
+
Press [Esc] to abort check.
Press Enter to continue or ctrl-c to abort
+
Checking: 100.0%
 
Copying live image to target device.
 
squashfs.img
 
    500154368 100%    5.71MB/s    0:01:23 (xfer#1, to-check=0/1)
 
 
sent 500215497 bytes  received 31 bytes  5990605.13 bytes/sec
 
total size is 500154368  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, 105.866 s, 5.0 MB/s
 
Initializing persistent /home
 
700+0 records in
 
700+0 records out
 
734003200 bytes (734 MB) copied, 143.745 s, 5.1 MB/s
 
Formatting unencrypted /home
 
mke2fs 1.41.14 (22-Dec-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 30 mounts or
 
180 days, whichever comes first.  Use tune2fs -c or -i to override.
 
tune2fs 1.41.14 (22-Dec-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!
 
Desktop$
 
====USB Stick====
 
*EMTEC 4 GB
 
:'''Fat 16; boot flag set'''
 
:NOTE: use diskutility to unmount /dev/sdg1
 
*'''DO NOT TRY TO UPDATE''' Update is too large and will fill up disk
 
  
===[[Community/Distributions/Fedora-SoaS#Fedora-17-Beta-TC2-i686-Live-SoaS|Fedora-17-Beta-TC2-i686-Live-SoaS]]===
+
The media check is complete, the result is: PASS.
* link to testing ^
 
  
===Fedora-17-Beta-TC1-i686-Live-Desktop===
+
It is OK to use this media.
::Download link:http://dl.fedoraproject.org/pub/alt/stage/17-Beta.TC1/Live/i686/Fedora-17-Beta-TC1-i686-Live-Desktop.iso
+
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdc!!!
* TC2 Live Desktop is not available--[[User:Satellit|Satellit]] 04:45, 21 March 2012 (EDT)
+
Press Enter to continue or ctrl-c to abort
*Set the '''tools_livecd-iso-to-disk.sh''' script as executable (Properties)
 
::Download link: http://bit.ly/livecd-iso-to-disk
 
====USB Stick====
 
*EMTEC 4 GB
 
:'''Fat 16; boot flag set'''
 
:NOTE: use diskutility to unmount /dev/sdg1
 
:home 700 due to larger desktop live image
 
*'''DO NOT TRY TO UPDATE''' Update is too large and will fill up disk
 
  
====Command====
+
/dev/sdc: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
*/dev/sd(x)1    '''(x)''' is the device name: enter mount in terminal to what it is. eg: /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sdg1  '''be sure to add the partition number (1) to command'''
+
/dev/sdc: calling ioctl to re-read partition table: Success
  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
+
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
  
====Transcript====
+
Allocating group tables: done                           
:~/Desktop$  sudo ./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home Fedora-17-Beta-TC1-i686-Live-Desktop.iso /dev/sd(x)1
+
Writing inode tables: done                             
[sudo] password for(user:
+
Creating journal (4096 blocks): done
Verifying image...
+
Writing superblocks and filesystem accounting information: done  
./tools_livecd-iso-to-disk.sh: line 806: checkisomd5: command not found
+
 
Are you SURE you want to continue?
+
tune2fs 1.43.3 (04-Sep-2016)
Press Enter to continue or ctrl-c to abort
+
Setting maximal mount count to -1
+
Setting interval between checks to 0 seconds
There are differences between boot sector and its backup.
+
Installing boot loader
Differences: (offset:original/backup)
+
Target device is now set up with a Live image!
  71:54/20, 72:43/20, 73:31/20, 74:2d/20, 75:44/20, 76:45/20, 77:53/20
+
[root@localhost Downloads]#
  , 78:4b/20, 79:54/20, 80:4f/20, 81:50/20
+
</nowiki>
  Not automatically fixing this.
 
Copying live image to target device.
 
squashfs.img
 
    654290944 100%    6.33MB/s    0:01:38 (xfer#1, to-check=0/1)
 
 
sent 654370889 bytes  received 31 bytes  6643359.59 bytes/sec
 
total size is 654290944  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, 89.3586 s, 5.9 MB/s
 
Initializing persistent /home
 
900+0 records in
 
900+0 records out
 
943718400 bytes (944 MB) copied, 222.15 s, 4.2 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 30 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!
 
:~/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]#