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
root_archive(1M)														  root_archive(1M)

NAME
root_archive - manage bootable miniroot archives SYNOPSIS
/boot/solaris/bin/root_archive pack archive root /boot/solaris/bin/root_archive unpack archive root /boot/solaris/bin/root_archive packmedia solaris_image root /boot/solaris/bin/root_archive unpackmedia solaris_image root The root_archive utility is used to manage bootable miniroot archives and is currently only available on platforms. The utility can pack and unpack boot/root archives in both ufs and hsfs (iso9660) format. It will always generate ufs archives. root_archive also uses the lofi file driver to export a file as a block device (see lofi(7D)) and mount to mount or unmount file systems and remote resources (see mount(1M)). root_archive requires the same privileges that are needed to run these commands. SUBCOMMANDS
The root_archive command has the following subcommands: pack archive root Pack from the image found under the root directory to the archive. unpack archive root Unpack from the archive to an unpacked image under the root directory. packmedia solaris_image root Pack the solaris image to the root directory. unpackmedia solaris_image root Unpack the solaris image from the root directory. For packmedia and unpackmedia, other items that do not go into the ramdisk image are copied or uncopied (see cpio(1)) as well. Specifi- cally, this includes all the packaging databases needed for pkgadd and the other packaging utilities to succeed which are not used in the running and hence pruned to conserve memory. EXAMPLES
Example 1: Unpacking the Solaris x86 install image The following command unpacks the current Solaris image from the root directory: # root_archive unpackmedia /export/nv/solarisdvd.nvx_dvd/latest /export/Boot Where /export/nv/solarisdvd.nvx_dvd/latest represents a path to a Solaris x86 install image and /export/Boot is a directory that will be purged or created, as necessary. Example 2: Packing the Solaris x86 install image The following command packs the current Solaris image to the root directory: # root_archive packmedia /export/nv/solarisdvd.nvx_dvd/latest /export/Boot The following exit values are returned: 0 The command completed successfully. 1 The command exited due to an error. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ cpio(1), bootadm(1M), mount(1M), attributes(5), lofi(7D) 26 Sep 2005 root_archive(1M)
All times are GMT -4. The time now is 12:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy