Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Usbcopy fails with the error message sol-11_1-live-x86.usb is not a multiple of 512


Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-09-2013
taltamir taltamir is offline
Registered User
Join Date: Oct 2011
Last Activity: 4 April 2013, 1:45 PM EDT
Posts: 12
Thanks: 2
Thanked 0 Times in 0 Posts
Usbcopy fails with the error message sol-11_1-live-x86.usb is not a multiple of 512

I am trying to create a live image of solaris 11.1.
I have used
#pkg image-update

to upgrade from 11 to 11.1 already. (since only 11.1 can make images of 11.1 due to using new grub)

then from within 11.1 I used
pkg install install distribution-constructor

to get latest usbcopy that should be compatible with the new GRUB

then I tried:

taltamir@new-host:/tank/share/My Downloads (Software)/Operating Systems/Solaris# usbcopy sol-11_1-live-x86.usb
Found the following USB devices:
0:    /dev/rdsk/c9t0d0p0    1.9 GB    CBM      USB 2.0          8.07
Enter the number of your choice: 0

WARNING: All data on your USB storage will be lost.
Are you sure you want to install to
CBM USB 2.0 8.07, 1900 MB at /dev/rdsk/c9t0d0p0 ?  (y/n) y
lofiadm: size of /tank/share/My Downloads (Software)/Operating Systems/Solaris/sol-11_1-live-x86.usb is not a multiple of 512


: Failed to lofiadm sol-11_1-live-x86.usb

What is the problem?

Last edited by taltamir; 01-09-2013 at 12:22 PM..
Sponsored Links
Old Unix and Linux 01-10-2013
hicksd8 hicksd8 is offline Forum Staff  
Join Date: Feb 2012
Last Activity: 23 October 2017, 4:14 PM EDT
Location: Devon, UK
Posts: 1,541
Thanks: 224
Thanked 391 Times in 329 Posts
The problem is that the image you are writing out (to USB) has to be a multiple of 512 for lofiadm to be happy.

(If it's not a multiple of 512 then it's not a valid image.)

So you either need to find out why the created image isn't a multiple of 512 or pad it out using a fudge and see if it works.

Typical fudge would be

dd if=old.iso of=new.iso obs=512 conv=sync

to fix the size issue.
Sponsored Links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sol 11 express X86:Dual monitor config,max resolution urry_buh Solaris 0 05-20-2011 02:41 AM
Can't boot from burned Sol 10 x86 DVD bluescreen Solaris 0 10-04-2010 05:18 PM
GCC for X86 on SOL 10 kumarmani Solaris 4 06-08-2010 10:15 AM
How to capture actual error message when a command fails to execute prathima Shell Programming and Scripting 3 04-26-2009 09:21 PM
Dual boot x86 Sol 10, and Linux jdel80 UNIX for Advanced & Expert Users 0 10-05-2005 12:57 PM

All times are GMT -4. The time now is 12:05 AM.