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

From Sugar Labs
Jump to navigation Jump to search
(no longer available EOL)
 
Line 55: Line 55:
 
[root@localhost Downloads]#  
 
[root@localhost Downloads]#  
 
</nowiki>
 
</nowiki>
 
===f18 x86-64 Fedora-18-x86_64-Live-SoaS Li-t-d Install to USB===
 
;Installed in fedora 18
 
yum install livecd-tools
 
*Transcript: http://people.sugarlabs.org/Tgillard/Li-t-d-Soas-8.txt
 
:[[Tutorials/Installation/How_to_make_a_SoaS.img_file_for_repeated_installs_to_4_GB_USB%27s|Tutorial How to make a Soas.img file]]
 
 
===f17 x86_64 Beta DVD Installer USB===
 
;all of the following were built in ubuntu - thus difference in commands
 
* Note this USB will install to a HD from install repo in USB with no network required
 
:creates 2 partitions;
 
*/dev/sdb1 LIVE
 
:LiveOS
 
:syslinux
 
 
*/dev/sdb2 LIVE-REPO
 
:Fedora-17-Beta-x86_64-DVD.iso
 
 
*4 GB USB formatted as fat with 750 MB /dev/sdb1 partition fat; boot flag; label= LIVE - balance of USB unformatted
 
 
# ./tools_livecd-iso-to-disk.sh --format --reset-mbr Fedora-17-Beta-x86_64-DVD.iso /dev/sdb1
 
Verifying image...
 
./tools_livecd-iso-to-disk.sh: line 900: checkisomd5: command not found
 
Are you SURE you want to continue?
 
Press Enter to continue or ctrl-c to abort
 
 
/Packages found, will copy source .iso to target
 
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdb!!!
 
Press Enter to continue or ctrl-c to abort
 
 
wipefs: WARNING: /dev/sdb: appears to contain 'gpt' partition table
 
Waiting for devices to settle...
 
mkdosfs 3.0.9 (31 Jan 2010)
 
mkdosfs 3.0.9 (31 Jan 2010)
 
Copying live image to target device.
 
squashfs.img
 
    130367488 100%  20.36MB/s    0:00:06 (xfer#1, to-check=0/1)
 
 
sent 130383477 bytes  received 31 bytes  20059001.23 bytes/sec
 
total size is 130367488  speedup is 1.00
 
Copying /home/(user)/Desktop/Fedora-17-Beta-x86_64-DVD.iso
 
Fedora-17-Beta-x86_64-DVD.iso
 
  2484076544 100%  10.41MB/s    0:03:47 (xfer#1, to-check=0/1)
 
 
sent 2484379867 bytes  received 31 bytes  10920351.20 bytes/sec
 
total size is 2484076544  speedup is 1.00
 
Updating boot config file
 
Installing boot loader
 
Target device is now set up with a Live image!
 
#
 
 
===EFI-USB-Fedora-17-Beta-x86-64-Live Soas===
 
*Boots MacBook Pro i7
 
====Transcript====
 
:Root terminal
 
* ./tools_livecd-iso-to-disk.sh --format --efi --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home Fedora-17-Beta-x86_64-Live-SoaS.iso /dev/sdb1
 
Verifying image...
 
./tools_livecd-iso-to-disk.sh: line 900: checkisomd5: command not found
 
Are you SURE you want to continue?
 
Press Enter to continue or ctrl-c to abort
 
 
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdb!!!
 
Press Enter to continue or ctrl-c to abort
 
 
wipefs: WARNING: /dev/sdb: appears to contain 'gpt' partition table
 
Waiting for devices to settle...
 
mkdosfs 3.0.9 (31 Jan 2010)
 
Copying live image to target device.
 
squashfs.img
 
    500154368 100%    5.90MB/s    0:01:20 (xfer#1, to-check=0/1)
 
 
sent 500215497 bytes  received 31 bytes  6137613.84 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
 
300+0 records in
 
300+0 records out
 
314572800 bytes (315 MB) copied, 71.4079 s, 4.4 MB/s
 
Initializing persistent /home
 
175+0 records in
 
175+0 records out
 
183500800 bytes (184 MB) copied, 35.3457 s, 5.2 MB/s
 
Formatting unencrypted /home
 
mke2fs 1.41.14 (22-Dec-2010)
 
Filesystem label=
 
OS type: Linux
 
Block size=1024 (log=0)
 
Fragment size=1024 (log=0)
 
Stride=0 blocks, Stripe width=0 blocks
 
44880 inodes, 179200 blocks
 
8960 blocks (5.00%) reserved for the super user
 
First data block=1
 
Maximum filesystem blocks=67371008
 
22 block groups
 
8192 blocks per group, 8192 fragments per group
 
2040 inodes per group
 
Superblock backups stored on blocks:
 
8193, 24577, 40961, 57345, 73729
 
 
Writing inode tables: done                           
 
Creating journal (4096 blocks): done
 
Writing superblocks and filesystem accounting information: done
 
 
 
This filesystem will be automatically checked every 31 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!
 

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]#