Test Day:2012-04-19 liveusb-tools

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Test Results)
(16 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
| name = Fedora Test Days
 
| name = Fedora Test Days
 
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_16_test_days]]
 
| image = [[File:Echo-testing-48px.png|link=QA/Fedora_16_test_days]]
| caption = [[live-usbtools]]
+
| caption = [[livecd-tools]]
 
| date = <<04-19-2012>>
 
| date = <<04-19-2012>>
 
| time = all day
 
| time = all day
Line 14: Line 14:
 
== What to test? ==
 
== What to test? ==
  
Today's instalment of Fedora Test Day will focus on '''liveusb-tools''' and creating a live usb image via liveusb-tools on fedora 17 and windows liveusb-creator.
+
Today's installment of Fedora Test Day will focus on '''livecd-tools''' and creating a Fedora USB installation stick via the command-line with livecd-tools' livecd-iso-to-disk on Fedora 16, 17, and with liveusb-creator on Fedora and Windows.
  
 
== Who's available ==
 
== Who's available ==
  
The following cast of characters will be available testing, workarounds, bug fixes, and general discussion ...
+
The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...
* Development - [[User:FranciscoD|FranciscoD]] (FranciscoD)
+
* Development - [[User:Ankursinha|FranciscoD]] (FranciscoD)
 
* Quality Assurance - [[User:vicodan|vicodan]] (vicodan)
 
* Quality Assurance - [[User:vicodan|vicodan]] (vicodan)
  
 
== Prerequisite for Test Day ==  
 
== Prerequisite for Test Day ==  
  
List any prerequisite needs for the test event.  A fresh system, virtualized guest, a blank DVD ... a desire to break software?
+
* A Fedora 16/17 installation. (or a windows installation)
* [A copy of the http://download.fedoraproject.org/pub/fedora/linux/releases/test/17-Beta/Fedora/x86_64/iso/Fedora-17-Beta-x86_64-DVD.iso Fedora 17 pre-release x64 DVD http://download.fedoraproject.org/pub/fedora/linux/releases/test/17-Beta/Fedora/i386/iso/Fedora-17-Beta-i386-DVD.iso i686] with '''all''' updates from <code>updates-testing</code> installed]
+
 
* Time
 
* Time
* Usb key
+
* Usb key(s)
* DVD ISO image of latest Fedora 17 beta  
+
* ISO images of latest Fedora 17 beta. ISO images are [http://fedoraproject.org/get-prerelease here]
* Free space on HD
+
* Free space on HD (A separate test system would be preferred)
 
* (optional) Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
 
* (optional) Your hardware profile uploaded to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
 
* (optional) Beer (if you're adult)
 
* (optional) Beer (if you're adult)
Line 37: Line 36:
 
=== Update your machine ===
 
=== Update your machine ===
  
If you're running Fedora 17, make sure you have all the current updates for it installed, using the update manager or yum.
+
* You need to have the livecd-tools version 16.11 at least.
 
+
 
+
=== Preparing the USB stick ===
+
 
+
{{admon/note|Formatting is necessary|Due to some changes in the anaconda installer in Fedora 17, it is necessary to format the USB media that you are using. This is only required when using the DVD media, not the Live media. It is therefore suggested that you use a 4-8GB pen drive and not an external hard disk since you will lose your data. See rhbz#813905}}
+
 
+
The easiest setup method is to install Fedora's own '''[[livecd-iso-to-disk]]''' script from livecd-tools. Note that the liveusb-creator GUI, however, does not support putting the DVD installer on USB.  (Unetbootin has worked in the past as well, but does not currently work for Fedora 14 and 15.)
+
 
+
  
 
== How to test? ==
 
== How to test? ==
  
Graphical Method - Windows only. For flashing from Fedora please use the terminal for now.
+
* Please use the process detailed on the [[How_to_create_and_use_Live_USB|How_to_create_and_use_Live_USB]] wiki page.
 +
* You can also use qemu/qemu-kvm to test your live media
  
Fedora LiveUSB sticks can be created in Windows (for this test) located at [http://fedorahosted.org/liveusb-creator liveusb-creator].
+
<pre>qemu -hda /dev/sdX  # add "-m 1G", if more RAM is needed for more than just a quick test boot</pre>
 
+
For Windows using the following steps:
+
* Download liveusb-creator from http://fedorahosted.org/liveusb-creator
+
* Double click 'liveusb-creator'
+
* Point to ISO image
+
* Choose Fedora 16 and x86_64 or i686 and the type of desktop you want.
+
 
+
Fedora / command line method:
+
 
+
If you are using Fedora open a terminal and run the following commands:
+
<pre>
+
$ su -c "yum install liveusb-creator"
+
</pre>
+
 
+
Use the "mount" command to find the USB stick (e.g., /dev/sdb1) or look at /var/log/messages
+
or df -h to find where the stick was mounted.
+
 
+
Next unmount the USB stick either from the desktop icon or using the umount command - but keep a note of where the USB stick is attached to the filesystem, e.g., /dev/sdb1
+
 
+
Now as root run:
+
<pre>
+
# livecd-iso-to-disk --format --reset-mbr --msdos path-to/Fedora-*.iso /dev/sdb
+
</pre>
+
 
+
If the stick is not bootable, then refer to the information below to make it bootable, otherwise this command will fail.
+
 
+
You should now have a bootable USB stick which will run a Fedora install. When you boot the stick, you may also add askmethod to the boot line and select a hard drive install and select the drive as /dev/sdb1 (or your USB device drive) and the path should be /
+
 
+
The remainder of the install should be the same as for using a DVD in an optical drive, but when you select options make sure that you select your disk partitioning carefully if you are doing custom partitioning and also make sure that the bootloader is installed on the correct drive - by default it will be installed on the USB stick so you will need to change it to the master boot record on the hard drive.
+
  
 
== Test Results ==
 
== Test Results ==
  
If you have problems with any of the tests, report a bug to [https://bugzilla.redhat.com Bugzilla] for liveusb-tools. If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one, and the second should be a link to the Smolt profile of the system you tested. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.
+
If you have problems with any of the tests,please report a bug to [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=livecd-tools Bugzilla for livecd-tools] or [https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=liveusb-creator Bugzilla for liveusb-creator] . If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one, and the second should be a link to the Smolt profile of the system you tested. For each test case, use the [[Template:result|result template]] to enter your result, as shown in the example result line.
  
 
{|
 
{|
 
! User
 
! User
 
! Smolt Profile
 
! Smolt Profile
! [[QA:Flash USB with DVD ISO 64/32bit in Fedora|Flash USB with DVD ISO 64/32bit in Fedora]]
+
! [[QA:Flash USB with DVD ISO 64/32bit in Fedora 16|Flash USB with DVD ISO 64/32bit in Fedora 16]]
! [[QA:Boot from USB drive flashed in Fedora|Boot from USB drive flashed in Fedora]]
+
! [[QA:Install from USB flashed in Fedora 16|Install from USB flashed in Fedora 16]]
! [[QA:Flash USB drive with DVD ISO 64/32bit in Windows|Flash USB drive with DVD ISO 64/32bit in Windows]]
+
! [[QA:Flash USB with Fedora Desktop Live ISO 64/32bit in Fedora 16|Flash USB with Fedora Desktop Live ISO 64/32bit in Fedora 16]]
! [[QA:Boot from USB drive flashed in Windows|Boot off USB drive flashed drive in Windows]]
+
! [[QA:Install from USB with Fedora Desktop Live ISO 64/32bit in Fedora 16|Install from USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 16]]
 +
! [[QA:Flash USB with Fedora Desktop Live ISO 64/32bit in Fedora 17|Flash USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 17]]
 +
! [[QA:Install from USB with Fedora Desktop Live ISO 64/32bit in Fedora 17|Install from USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 17]]
 +
! [[QA:Flash USB with DVD ISO 64/32bit in Fedora 17|Flash USB with DVD ISO 64/32bit in Fedora 17]]
 +
! [[QA:Install from USB drive flashed in Fedora 17|Install from USB drive flashed in Fedora 17]]
 +
 
 +
! [[QA:Flash USB with Fedora Desktop Live ISO 64/32bit in Windows|Flash USB with Fedora Desktop Live ISO 64/32bit in Windows]]
 +
! [[QA:Install from USB drive flashed in Windows|Install off USB drive flashed drive in Windows]]
 
! References
 
! References
 
|-
 
|-
 
| [[User:SampleUser|Sample User]]
 
| [[User:SampleUser|Sample User]]
 
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 HW]
 
| [http://www.smolts.org/client/show/pub_84465125-1350-4f83-87b9-5f16f7430eb8 HW]
| {{result|none}}  
+
| {{result|none}}
 +
| {{result|pass}}
 +
| {{result|pass}}
 +
| {{result|pass}}
 +
| {{result|pass}}
 +
| {{result|pass}}
 +
| {{result|pass}}
 
| {{result|pass}}
 
| {{result|pass}}
 
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
 
| {{result|warn}} <ref>Test pass, but also encountered {{bz|54321}}</ref>
Line 109: Line 85:
 
| {{result|inprogress}}
 
| {{result|inprogress}}
 
| {{result|inprogress}}
 
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| {{result|inprogress}}
 +
| <references/>
 +
|-
 +
| [[User:satellit_|satellit_]]
 +
| [http://www.smolts.org/client/show/pub_cce5fdb6-5169-4f18-8126-2400e832352c HW]
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|pass}} <ref>dd if=Fedora-17-Beta-x86_64-Live-Desktop.iso of=/dev/sdb bs=2M</ref><ref>"liveusb-creator --reset-mbr" on f17</ref>
 +
| {{result|pass}} <ref>{{bz|811412#c30}}</ref>
 +
| {{result|pass}} <ref>./tools_livecd-iso-to-disk.sh --format --reset-mbr --msdos Fedora-17-Beta-x86_64-DVD.iso /dev/sdb</ref>
 +
| {{result|pass}} <ref> Install from 4GB Install USB DVD to 500 GB ext USB HD use whole disk non LVM from USB install LIVE-REPO.(No Network){{bz|813905#c11}}</ref>
 +
| {{result|none}}
 +
| {{result|none}}
 +
| <references/>
 +
|-
 +
| [[User:evillagr|evillagr]]
 +
| [http://www.smolts.org/client/show/pub_bd2a380a-0ff5-4c40-8cc1-2004a8adf8a9 HW]
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|pass}} <ref>dd if=Descargas/Fedora-17-Beta-i686-Live-Desktop.iso of=/dev/sdc bs=2M</ref> <ref>livecd-iso-to-disk --format --reset-mbr Descargas/Fedora-17-Beta-i686-Live-Desktop.iso /dev/sdc1</ref>
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|none}}
 +
| {{result|pass}} <ref>Windows 7, Fedora-17-Beta-i686-Live-Desktop.iso</ref>
 +
| {{result|none}}
 +
| <references/>
 +
|-
 +
| [[User:Ankursinha|FranciscoD]]
 +
|
 +
|
 +
|
 +
|
 +
|
 +
| {{result|pass}}
 +
| {{result|none}}
 +
| {{result|pass}} <ref>{{bz|813905}}, used direct dd</ref>
 +
| {{result|pass}} <ref>Installed correctly, working installation</ref>
 +
| {{result|pass}} <ref>liveusb-creator on windows</ref>
 +
| {{result|pass}} <ref>Boots, live works</ref>
 
| <references/>
 
| <references/>
 
|-
 
|-

Revision as of 11:42, 20 April 2012

Fedora Test Days
Echo-testing-48px.png
livecd-tools

Date <<04-19-2012>>
Time all day

Website QA/Fedora_17_test_days
IRC #fedora-test-day (webirc)

Mailing list
MailSubscribeArchives


Note.png
Can't make the date?
If you come to this page before or after the test day is completed, your testing is still valuable, and you can use the information on this page to test, file any bugs you find at Bugzilla, and add your results to the results section. If this page is more than a month old when you arrive here, please check the current schedule and see if a similar but more recent Test Day is planned or has already happened.

Contents

What to test?

Today's installment of Fedora Test Day will focus on livecd-tools and creating a Fedora USB installation stick via the command-line with livecd-tools' livecd-iso-to-disk on Fedora 16, 17, and with liveusb-creator on Fedora and Windows.

Who's available

The following cast of characters will be available for testing, workarounds, bug fixes, and general discussion ...

Prerequisite for Test Day

  • A Fedora 16/17 installation. (or a windows installation)
  • Time
  • Usb key(s)
  • ISO images of latest Fedora 17 beta. ISO images are here
  • Free space on HD (A separate test system would be preferred)
  • (optional) Your hardware profile uploaded to Smolt according to these instructions
  • (optional) Beer (if you're adult)
  • (optional) Hot dogs!


Update your machine

  • You need to have the livecd-tools version 16.11 at least.

How to test?

qemu -hda /dev/sdX  # add "-m 1G", if more RAM is needed for more than just a quick test boot

Test Results

If you have problems with any of the tests,please report a bug to Bugzilla for livecd-tools or Bugzilla for liveusb-creator . If you are unsure about exactly how to file the report or what other information to include, just ask on IRC and we will help you. Once you have completed the tests, add your results to the Results table below, following the example results from the first line as a template. The first column should be your name with a link to your User page in the Wiki if you have one, and the second should be a link to the Smolt profile of the system you tested. For each test case, use the result template to enter your result, as shown in the example result line.

User Smolt Profile Flash USB with DVD ISO 64/32bit in Fedora 16 Install from USB flashed in Fedora 16 Flash USB with Fedora Desktop Live ISO 64/32bit in Fedora 16 Install from USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 16 Flash USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 17 Install from USB drive with Fedora Desktop Live ISO 64/32bit in Fedora 17 Flash USB with DVD ISO 64/32bit in Fedora 17 Install from USB drive flashed in Fedora 17 Flash USB with Fedora Desktop Live ISO 64/32bit in Windows Install off USB drive flashed drive in Windows References
Sample User HW
none
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Pass pass
Warning warn
[1]
Fail fail
[2]
  1. Test pass, but also encountered RHBZ #54321
  2. RHBZ #12345
vicodan [Virtualbox Fedora 17 x64 VM]
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
Inprogress inprogress
satellit_ HW
none
none
none
none
Pass pass
[1][2]
Pass pass
[3]
Pass pass
[4]
Pass pass
[5]
none
none
  1. dd if=Fedora-17-Beta-x86_64-Live-Desktop.iso of=/dev/sdb bs=2M
  2. "liveusb-creator --reset-mbr" on f17
  3. RHBZ #811412#c30
  4. ./tools_livecd-iso-to-disk.sh --format --reset-mbr --msdos Fedora-17-Beta-x86_64-DVD.iso /dev/sdb
  5. Install from 4GB Install USB DVD to 500 GB ext USB HD use whole disk non LVM from USB install LIVE-REPO.(No Network)RHBZ #813905#c11
evillagr HW
none
none
Pass pass
[1] [2]
none
none
none
none
none
Pass pass
[3]
none
  1. dd if=Descargas/Fedora-17-Beta-i686-Live-Desktop.iso of=/dev/sdc bs=2M
  2. livecd-iso-to-disk --format --reset-mbr Descargas/Fedora-17-Beta-i686-Live-Desktop.iso /dev/sdc1
  3. Windows 7, Fedora-17-Beta-i686-Live-Desktop.iso
FranciscoD
Pass pass
none
Pass pass
[1]
Pass pass
[2]
Pass pass
[3]
Pass pass
[4]
  1. RHBZ #813905, used direct dd
  2. Installed correctly, working installation
  3. liveusb-creator on windows
  4. Boots, live works