[Sugar-devel] NO EFI boot USB for MacBook Pro i7 with RC4.1 lives?
Thomas Gilliard
satellit at bendbroadband.com
Sun Apr 15 06:52:15 EDT 2012
On 04/14/2012 04:27 PM, Peter Robinson wrote:
> On Sat, Apr 14, 2012 at 8:25 PM, Thomas Gilliard
> <satellit at bendbroadband.com> wrote:
>> On 04/14/2012 09:31 AM, Adam Williamson wrote:
>>> On Sat, 2012-04-14 at 06:51 -0700, Thomas C Gilliard wrote:
>>>> possible problem: ./tools_livecd-iso-to-disk.sh --format --efi
>>>> --overlay-size-mb 300 --home-size-mb 175 --delete-home
>>>> --unencrypted-home Fedora-17-Beta-RC4-x86_64-Live-Desktop.iso /dev/sdb1
>>>> fails on 4.1 live with "invalid token legacy boot"
>>>>
>>>> Works on RC4 Fedora-17-Beta-RC4-x86_64-Live-Desktop.iso
>>>>
>>>> Result NO EFI boot USB for MacBook Pro i7 with RC4.1 lives?
>>>>
>>>> Do we need both?
>>> Works fine here. What livecd-tools are you using exactly?
>> I was using
>> http://bit.ly/livecd-iso-to-disk
>>
>> Which we reference in the sugarlabs.org wiki.
>> http://wiki.sugarlabs.org/go/Sugar_Creation_Kit/sck/tools_livecd-iso-to-disk
>> I have revised the page.
>>
>>
>> The git version [1]solved the problem:
>> http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB#Run_livecd-iso-to-disk_script
>> [1]https://fedoraproject.org/wiki/QA:Testcase_USB_stick_Live_litd
> You should use the version in the livecd-tools package and remove the
> script mentioned as there's been a lot of changes to the underlying
> stuff so the script you list likely doesn't work but the one in the
> livecd-tools is kept up to date.
I may have found an answer:
This seems to only occur if I format the USB in Ubuntu 11.10 (Trisquel
5.5) disk-utility. I am including a transcript of such a session below.[1]
In Ubuntu disk-utility; If I format a USB with either GPT or Fat with a
Fat directory /dev/sdb1. I get the need to repeat the command string as
the first try ends with "parted: invalid token: legacy_boot". When I
repeat a second time with up arrow in terminal it writes a working EFI USB.
I just tested the same process in a Beta F17 Desktop x86-64 HD install
using the same scripts and Fedora-17-Beta-x86_64-Live-Desktop.iso.
The EFI USB was created with no problems. It started immediatly with no
"Waiting for devices to settle..."
Tom Gilliard
This testing used the Fedora-17-Beta-x86_64-Live-Desktop.iso in Koji:
taskID=3978914
[1]
# ./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-KDE.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)
parted: invalid token: legacy_boot
Cleaning up to exit...
# ./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-KDE.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
695836672 100% 5.66MB/s 0:01:57 (xfer#1, to-check=0/1)
sent 695921689 bytes received 31 bytes 5922738.04 bytes/sec
total size is 695836672 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, 60.4347 s, 5.2 MB/s
Initializing persistent /home
175+0 records in
175+0 records out
183500800 bytes (184 MB) copied, 33.522 s, 5.5 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 37 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!
#
> Peter
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
More information about the Sugar-devel
mailing list