Sponsored Content
Operating Systems Solaris Usbcopy fails with the error message sol-11_1-live-x86.usb is not a multiple of 512 Post 302754453 by hicksd8 on Thursday 10th of January 2013 03:33:50 PM
Old 01-10-2013
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

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

to fix the size issue.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Dual boot x86 Sol 10, and Linux

I've loaded sol 10, and I left 20 Gig of 70 free, I can't seem to find a straight forward proc. for loading the Linux RH. Does anyone have one, or can they point me to one ? (0 Replies)
Discussion started by: jdel80
0 Replies

2. Shell Programming and Scripting

How to capture actual error message when a command fails to execute

I want to capture actual error message in case the commands I use in my shell script fails. For eg: ls -l abc.txt 2>>errorlog.txt In this case I understand the error message is written to the errorlog.txt and I assume its bacause the return code from the command ls -l abc might return 2 if... (3 Replies)
Discussion started by: prathima
3 Replies

3. Solaris

Sun Live Upgrade - lucreate fails

Hi, I currently have one BE and would like to create an ABE. # lustatus BE_name Complete Active ActiveOnReboot CopyStatus ------------------------------------------------------------------------ coolthreads yes yes yes - But... (3 Replies)
Discussion started by: pgarousi
3 Replies

4. Solaris

GCC for X86 on SOL 10

Need help with GCC package. I did downloaded the same from sunfreeware.com for i86, however after doing the unzip I am unable to add the same with pkgadd as I am unable to get the sun standard format as SUNWgcc on my system. Thanks (4 Replies)
Discussion started by: kumarmani
4 Replies

5. Solaris

Can't boot from burned Sol 10 x86 DVD

Hi all- I am trying to boot from a Solaris 10 DVD which I burned from the ISO I d/l from Sun(Oracle). I checked the byte counts of the image on Sun's website and my system and they are the same. I and using cdrecord from Schilly and burning the DVD like so: cdrecord -v dev=0,0,0 -dao... (0 Replies)
Discussion started by: bluescreen
0 Replies

6. Linux

Kexec with Live USB/CD

Hello Recently I found this (for me) really usefull tool kexec which can load a new Kernel while running one. I tested it some times with the same kernel I was running, "rebooting" the system without powering it off at any time :D But I need kexec basically just for live usbs. I want to start... (17 Replies)
Discussion started by: al0x
17 Replies

7. Solaris

Sol 11 express X86:Dual monitor config,max resolution

Hello! I have some X86 desktop computer with G45 embedded dual-head video. Two monitors can be configured, but with "small" problem: the summ of dimensions in any direction (vert or horis) can't exceed 1680 pix- max sizeof virtual screen area. Attempts to edit "videoram" parameter in xorg.conf... (0 Replies)
Discussion started by: urry_buh
0 Replies

8. BSD

Freebsd live usb

Hello. I'm going to make freebsd live usb based on FreeBSD-8.3-RELEASE-i386-livefs.iso. The iso is 257 Megabytes, but after i copy its content to usb drive its volume increases to 971 Megabytes. I tried different methods of copying (tar,cp,cpio) but with the same result. Could anyone help? (0 Replies)
Discussion started by: urello
0 Replies

9. Solaris

DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive).

Hello, I have a set-up in which I am executing a build from Jenkins on a Solaris 10 Server connecting via sshexec task in ANT. On triggering the build, it is throwing below error: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: DH key size... (2 Replies)
Discussion started by: nishant.kansal@
2 Replies

10. UNIX for Beginners Questions & Answers

Solaris Live Media x86 Install

Unix Buddies Burned download to DVD-R. Booted it. It dropped me at a command line. Is it working properly? Thanks! (7 Replies)
Discussion started by: Solaris User
7 Replies
BLOCKDEV(8)						      System Manager's Manual						       BLOCKDEV(8)

NAME
blockdev - call block device ioctls from the command line SYNOPSIS
blockdev [-q] [-v] command [command...] device [device...] blockdev --report [device...] DESCRIPTION
The utility blockdev allows one to call block device ioctls from the command line. OPTIONS
-V Print version and exit. -q Be quiet. -v Be verbose. --report Print a report for the specified device. It is possible to give multiple devices. If none is given, all devices which appear in /proc/partitions are shown. Note that the partition StartSec is in 512-byte sectors. COMMANDS
It is possible to give multiple devices and multiple commands. --flushbufs Flush buffers. --getalignoff Get alignment offset. --getbsz Print blocksize in bytes. --getdiscardzeroes Get discard zeroes support status. --getfra Get filesystem readahead in 512-byte sectors. --getiomin Get minimum I/O size. --getioopt Get optimal I/O size. --getmaxsect Get max sectors per request --getpbsz Get physical block (sector) size. --getra Print readahead (in 512-byte sectors). --getro Get read-only. Print 1 if the device is read-only, 0 otherwise. --getsize64 Print device size in bytes. --getsize Print device size (32-bit!) in sectors. Deprecated in favor of the --getsz option. --getss Print sectorsize in bytes - usually 512. --getsz Get size in 512-byte sectors. --rereadpt Reread partition table --setbsz bytes Set blocksize. --setfra sectors Set filesystem readahead (same like --setra on 2.6 kernels). --setra sectors Set readahead (in 512-byte sectors). --setro Set read-only. --setrw Set read-write. AUTHOR
blockdev was written by Andries E. Brouwer and rewritten by Karel Zak. AVAILABILITY
The blockdev command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. Aug 2010 BLOCKDEV(8)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy