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
RK(4)							     Kernel Interfaces Manual							     RK(4)

NAME
rk - RK-11/RK03 or RK05 disk DESCRIPTION
Rk? refers to an entire disk as a single sequentially-addressed file. Its 256-word blocks are numbered 0 to 4871. Minor device numbers are drive numbers on one controller. The rk files discussed above access the disk via the system's normal buffering mechanism and may be read and written without regard to physical disk records. There is also a `raw' interface which provides for direct transmission between the disk and the user's read or write buffer. A single read or write call results in exactly one I/O operation and therefore raw I/O is considerably more efficient when many words are transmitted. The names of the raw RK files begin with rrk and end with a number which selects the same disk as the corre- sponding rk file. In raw I/O the buffer must begin on a word boundary, and counts should be a multiple of 512 bytes (a disk block). Likewise seek calls should specify a multiple of 512 bytes. FILES
/dev/rk?, /dev/rrk? BUGS
In raw I/O read and write(2) truncate file offsets to 512-byte block boundaries, and write scribbles on the tail of incomplete blocks. Thus, in programs that are likely to access raw devices, read, write and lseek(2) should always deal in 512-byte multiples. RK(4)
All times are GMT -4. The time now is 03:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy