- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Loading mediainit from ignite
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2013 06:00 AM
08-23-2013 06:00 AM
Loading mediainit from ignite
Hi,
I am trying to wipe some disks on some servers we are going to be getting rid of. I have a work around but I would still like to know how to resolve this problem. When I try to load the mediainit command from the expert recovery shell i get an error file not found. I am able to load other files. So, how can I ensure to load the file? Here is what I did.
HP-UX CORE MEDIA SYSTEM RECOVERY
MAIN MENU
s. Search for a file
b. Reboot
l. Load a file
r. Recover an unbootable HP-UX system
x. Exit to shell
This menu is for listing and loading the tools contained on the core media.
Once a tool is loaded, it may be run from the shell. Some tools require other
files to be present in order to successfully execute.
Select one of the above: s
Either enter the filename(s) to be searched for, or 'all' for a total listing.
mediainit
./usr/bin/mediainit
<Press return to continue>
HP-UX CORE MEDIA SYSTEM RECOVERY
MAIN MENU
s. Search for a file
b. Reboot
l. Load a file
r. Recover an unbootable HP-UX system
x. Exit to shell
This menu is for listing and loading the tools contained on the core media.
Once a tool is loaded, it may be run from the shell. Some tools require other
files to be present in order to successfully execute.
Select one of the above: l
NOTE: Loading some files may require other files/libraries to be loaded.
If an attempt is made to load a file, and an error message is
encountered when the command is invoked, it may be useful to use
the chatr command (on a system that is up and running) to ensure that
dependencies are met. See chatr(1) for more details.
For some commands (vi, ftp, rcp), the dependent files will be
automatically loaded. For others, you need to load them manually.
If you specify a filename of "all" a list of all the files available
will be displayed.
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/ 57892 28978 28914 50% 80 14320 1% ?
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/RAMFS1 102400 17285 79836 18% 384 21276 2% ?
Filesystem kbytes used avail %cap iused ifree iused Mounted on
/RAMFS2 1044480 28704 952395 3% 127 253941 0% ?
Enter the filename(s) to load:
mediainit
******** THE REQUESTED FILE(S): ***********
./usr/bin/mediainit
Is the above load list correct? [y/(n)] y
********* downloading the files *******
ERROR: File: ./usr/bin/mediainit not found.
NOTE: Retrying loadfile command...
ERROR: File: ./usr/bin/mediainit not found.
NOTE: Retrying loadfile command...
ERROR: File: ./usr/bin/mediainit not found.
NOTE: Retrying loadfile command...
ERROR: File: ./usr/bin/mediainit not found.
NOTE: Retrying loadfile command...
ERROR: File: ./usr/bin/mediainit not found.
NOTE: Retrying loadfile command...
ERROR: File: ./usr/bin/mediainit not found.
<Press return to continue>
I can seem to load any other file I find but not the mediainit command. It's really bugging me.
Any help would be nice.
Thanks
- Tags:
- mediainit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2013 06:02 AM
08-23-2013 06:02 AM
Re: Loading mediainit from ignite
There are a lot of related threads around, some suggesting to do several cold installs on the disks, this will also do a good job.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2013 11:03 AM
08-23-2013 11:03 AM
Re: Loading mediainit from ignite
Thanks Torsten. I am doing something similiar. I have been installing an OS on one disk wiping the second then doing the opposite. Just bothers me I can load other files but not the mediainit file. Just my curiousity getting the better of me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2013 12:17 AM
08-24-2013 12:17 AM
Re: Loading mediainit from ignite
>******** THE REQUESTED FILE(S): ***********
>./usr/bin/mediainit
It seems strange that it would give real name of the file, without checking it's there.
Unless it does this for all names, even junk names like "foo".
>Only a few commands are loadable in recovery shell.
Is there a list? It says if you use "all", you get a list. So is mediainit there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2013 04:38 AM
08-26-2013 04:38 AM
Re: Loading mediainit from ignite
Yeah it's listed. Here is the full list.
Enter the filename(s) to load:
all
]
./usr/sbin/idisk
./sbin/fs/hfs/mkfs
./sbin/fs/hfs/newfs
./sbin/fs/vxfs/mkfs
./sbin/fs/vxfs/newfs
./sbin/mkfs symbolic link to /sbin/fs_wrapper
./sbin/newfs symbolic link to /sbin/fs_wrapper
./sbin/lib/mfsconfig.d/hfs
./sbin/lib/mfsconfig.d/vxfs
./sbin/fs_wrapper
./sbin/sh
./usr/bin/mediainit
./usr/sbin/tunefs
./sbin/extendfs symbolic link to /sbin/fs_wrapper
./sbin/fs/vxfs/extendfs
./
./sbin/
./sbin/awk
./sbin/cat
./sbin/chmod
./sbin/chown
./sbin/date
./sbin/frecov-- more --
./sbin/fs/
./sbin/fs/cdfs/
./sbin/fs/cdfs/mount
./sbin/fs/cdfs/umount symbolic link to /sbin/fs/hfs/umount
./sbin/fs/hfs/
./sbin/fs/hfs/fsck
./sbin/fs/hfs/mount
./sbin/fs/hfs/umount
./sbin/fs/vxfs/
./sbin/fs/vxfs/fsck
./sbin/fs/vxfs/mount
./sbin/fs/vxfs/umount symbolic link to /sbin/fs/hfs/umount
./sbin/fs/vxfs5.0/fsck
./sbin/fs/vxfs5.0/mount
./sbin/fs/vxfs5.0/umount symbolic link to /sbin/fs/vxfs/umount
./sbin/fsck symbolic link to /sbin/fs_wrapper
./sbin/init
./sbin/insf
./sbin/ioinit
./sbin/ioscan
./sbin/lib/
./sbin/lib/mfsconfig.d/
./sbin/ls
-- more --
./sbin/mkboot
./sbin/mkdir
./sbin/mknod
./sbin/mount
./sbin/mv
./sbin/pax
./sbin/reboot
./sbin/stty
./sbin/umount
./sbin/restore
./usr/
./usr/bin/
./usr/bin/basename
./usr/bin/chgrp
./usr/bin/cmp
./usr/bin/cp
./usr/bin/cut
./usr/bin/dd
./usr/bin/dirname
./usr/bin/egrep
./usr/bin/expr
./usr/bin/false
./usr/bin/fgrep linked to ./usr/bin/egrep
-- more --
./usr/bin/getopts
./usr/bin/grep linked to ./usr/bin/egrep
./usr/bin/hostname
./usr/bin/kill
./usr/bin/ln
./usr/bin/model
./usr/bin/ps
./usr/bin/pwd
./usr/bin/rm
./usr/bin/rmdir linked to ./usr/bin/rm
./usr/bin/sed
./usr/bin/sort
./usr/bin/tar
./usr/bin/touch
./usr/bin/true
./usr/bin/uname
./usr/bin/wc
./usr/bin/compress
./usr/bin/ed
./usr/bin/find
./usr/bin/getopt
./usr/bin/id
./usr/bin/more
-- more --
./usr/bin/tail
./usr/bin/uncompress linked to ./usr/bin/compress
./usr/bin/zcat linked to ./usr/bin/compress
./usr/bin/bdf
./usr/bin/diff
./usr/bin/mt
./usr/bin/ex
./usr/bin/vi linked to ./usr/bin/ex
./usr/bin/ftp
./usr/bin/rcp
./usr/bin/remsh
./usr/lib/
./usr/lib/libcma.1
./usr/lib/libcma.2
./usr/lib/libcma.sl symbolic link to ./libcma.2
./usr/lib/libdce.1
./usr/lib/libdce.sl symbolic link to ./libdce.2
./usr/lib/nls/
./usr/lib/nls/msg/
./usr/lib/nls/msg/C/
./usr/lib/nls/msg/C/dcerpc.cat
./usr/lib/nls/msg/C/cpp.cat
./usr/lib/sw/
-- more --
./usr/lib/sw/ui/
./usr/lib/sw/ui/C/
./usr/lib/sw/ui/C/smc_addhost.ui
./usr/lib/sw/ui/C/smc_analyze.ui
./usr/lib/sw/ui/C/smc_bundles.ui
./usr/lib/sw/ui/C/smc_chgloc.ui
./usr/lib/sw/ui/C/smc_defs.h
./usr/lib/sw/ui/C/smc_depend.ui
./usr/lib/sw/ui/C/smc_details.ui
./usr/lib/sw/ui/C/smc_dsa.ui
./usr/lib/sw/ui/C/smc_init.ui
./usr/lib/sw/ui/C/smc_install.ui
./usr/lib/sw/ui/C/smc_jobopts.ui
./usr/lib/sw/ui/C/smc_jobs.ui
./usr/lib/sw/ui/C/smc_list.ui
./usr/lib/sw/ui/C/smc_menudefs.h
./usr/lib/sw/ui/C/smc_options.ui
./usr/lib/sw/ui/C/smc_patch.ui
./usr/lib/sw/ui/C/smc_remove.ui
./usr/lib/sw/ui/C/smc_rmsourc.ui
./usr/lib/sw/ui/C/smc_sched.ui
./usr/lib/sw/ui/C/smc_selalt.ui
./usr/lib/sw/ui/C/smc_seldpt.ui
-- more --
./usr/lib/sw/ui/C/smc_session.ui
./usr/lib/sw/ui/C/smc_softinf.ui
./usr/lib/sw/ui/C/smc_softwar.ui
./usr/lib/sw/ui/C/smc_source.ui
./usr/lib/sw/ui/C/smc_targets.ui
./usr/lib/sw/ui/C/smc_task.ui
./usr/lib/sw/help/
./usr/lib/sw/help/C/
./usr/lib/sw/help/C/sduhelp.hv
./usr/lib/sw/help/C/sduhelp.hvk
./usr/lib/sw/help/C/sduhelp00.ht
./usr/lib/sw/help/C/sduhelp01.ht
./usr/lib/hpux32/
./usr/lib/hpux32/aries32.so
./usr/lib/hpux32/dld.so
./usr/lib/hpux32/libCsup.so.1
./usr/lib/hpux32/libc.so.1
./usr/lib/hpux32/libcl.so symbolic link to ./libcl.so.1
./usr/lib/hpux32/libcl.so.1
./usr/lib/hpux32/libdl.so.1
./usr/lib/hpux32/libelf.so.1
./usr/lib/hpux32/libm.so symbolic link to ./libm.so.1
./usr/lib/hpux32/libm.so.1
-- more --
./usr/lib/hpux32/libnss_files.so.1
./usr/lib/hpux32/libpthread.so.1
./usr/lib/hpux32/libsec.so.1
./usr/lib/hpux32/libsin.so symbolic link to ./libsin.so.1
./usr/lib/hpux32/libsin.so.1
./usr/lib/hpux32/libstd.so.1
./usr/lib/hpux32/libstream.so.1
./usr/lib/hpux32/libuca.so.1
./usr/lib/hpux32/libunwind.so.1
./usr/lib/hpux32/libxcurses.so.1
./usr/lib/hpux32/pa_boot32.so
./usr/lib/hpux32/uld.so
./usr/lib/hpux32/libnsl.so.1
./usr/lib/hpux32/libnss_dns.so.1
./usr/lib/hpux32/libxti.so.1
./usr/lib/hpux32/libm.so.1
./usr/lib/hpux32/libgss.so
./usr/lib/hpux32/libkrb5.so
./usr/lib/hpux32/libk5crypto.so
./usr/lib/hpux32/libcom_err.so
./usr/lib/hpux32/libkrb5.so.1
./usr/lib/hpux32/libk5crypto.so.1
./usr/lib/hpux32/libcom_err.so.1
-- more --
./usr/lib/libcom_err.sl
./usr/lib/libgss.sl
./usr/lib/libkrb5.sl
./usr/lib/libk5crypto.sl
./usr/lib/libcom_err.1
./usr/lib/libk5crypto.1
./usr/lib/libkrb5.1
./usr/lib/libc.1
./usr/lib/libc.2
./usr/lib/libcurses.1
./usr/lib/libdld.1
./usr/lib/libdld.2
./usr/lib/libdld.sl symbolic link to ./libdld.2
./usr/lib/libsis.sl
./usr/lib/libnss_files.1
./usr/lib/libpthread.1
./usr/lib/libsec.2
./usr/lib/libxcurses.1
./usr/lib/efi/
./usr/lib/efi/EFI/
./usr/lib/efi/EFI/HPUX/
./usr/lib/efi/EFI/HPUX/hpux.efi
./usr/lib/efi/EFI/Intel_Firmware/
-- more --
./usr/lib/efi/EFI/Intel_Firmware/fpswa.efi
./usr/lib/efi/EFI/diag/
./usr/lib/efi/EFI/tools/
./usr/lib/efi/startup.nsh
./usr/lib/uxbootlf
./usr/lib/libM.1 symbolic link to ./libm.1
./usr/lib/libm.1
./usr/lib/libm.2
./usr/lib/dld.sl
./usr/lib/libdc.sl
./usr/newconfig/
./usr/sbin/
./usr/sbin/devnm
./usr/sbin/diskinfo
./usr/sbin/efi_cp
./usr/sbin/efi_fsinit
./usr/sbin/efi_ls
./usr/sbin/efi_mkdir
./usr/sbin/efi_rm
./usr/sbin/efi_rmdir
./usr/sbin/insf symbolic link to /sbin/mksf
./usr/sbin/ioinit symbolic link to /sbin/ioinit
./usr/sbin/ioscan symbolic link to /sbin/ioscan
-- more --
./usr/sbin/mknod symbolic link to /sbin/mknod
./usr/sbin/mount symbolic link to /sbin/mount
./usr/sbin/reboot symbolic link to /sbin/reboot
./usr/sbin/setboot
./usr/sbin/swapon
./usr/sbin/umount symbolic link to /sbin/umount
./usr/sbin/rvxdump symbolic link to /usr/lbin/fs/vxfs/vxdump
./usr/sbin/rvxrestore symbolic link to /usr/lbin/fs/vxfs/vxrestore
./usr/sbin/vxdump symbolic link to /usr/lbin/fs/vxfs/vxdump
./usr/sbin/vxrestore symbolic link to /usr/lbin/fs/vxfs/vxrestore
./usr/sbin/mk_kernel
./usr/sbin/swagentd
./usr/sbin/swinstall
./usr/sbin/swpackage
./usr/sbin/chroot
./usr/sbin/swacl linked to ./usr/sbin/swinstall
./usr/sbin/swconfig linked to ./usr/sbin/swinstall
./usr/sbin/swcopy linked to ./usr/sbin/swinstall
./usr/sbin/swlist linked to ./usr/sbin/swinstall
./usr/sbin/swremove linked to ./usr/sbin/swinstall
./usr/sbin/swverify linked to ./usr/sbin/swinstall
./usr/sbin/swreg linked to ./usr/sbin/swinstall
./usr/sbin/swmodify linked to ./usr/sbin/swpackage
-- more --
./usr/share/
./usr/share/lib/
./usr/share/lib/terminfo/
./usr/share/lib/terminfo/h/
./usr/share/lib/terminfo/h/hp
./usr/share/lib/terminfo/v/
./usr/share/lib/terminfo/v/vt100
./usr/share/lib/terminfo/w/
./usr/share/lib/terminfo/w/wy60
./usr/lbin/
./usr/lbin/fs/
./usr/lbin/fs/vxfs/
./usr/lbin/fs/vxfs/vxdump
./usr/lbin/fs/vxfs/vxrestore
./usr/lbin/sw/
./usr/lbin/sw/control_utils
./usr/lbin/swagent
./usr/lbin/sysadm/
./usr/lbin/sysadm/create_sysfile
./usr/lbin/sysadm/system_prep
./usr/contrib/
./usr/contrib/bin/
./usr/contrib/bin/gzip
-- more --
./usr/contrib/bin/gunzip linked to ./usr/contrib/bin/gzip
./usr/conf/
./usr/conf/gen/
./usr/conf/gen/templates/
./usr/conf/gen/templates/generic
./usr/ccs/
./usr/ccs/lbin/
./usr/ccs/lbin/cpp
./usr/obam/
./usr/obam/lbin/
./usr/obam/lbin/gethelp
./usr/obam/lbin/ui_exec
./usr/obam/lib/
./usr/obam/lib/libIDMawrt.1
./usr/obam/lib/libIDMawrt.sl symbolic link to ./libIDMawrt.1
./usr/obam/lib/libobam.1
./usr/obam/lib/libobam.sl symbolic link to ./libobam.1
./usr/obam/lib/obam_aw.dmb
./usr/obam/lib/help/
./usr/obam/lib/help/C/
./usr/obam/lib/help/C/ui/
./usr/obam/lib/help/C/ui/ui.sdl
./dev/
-- more --
./dev/config
./dev/null
./dev/console
./dev/kmem
./dev/mem
./dev/rroot
./dev/root
./dev/tty
./dev/syscon
./dev/systty
./tmp/
./tmp/set_locale
./stand/
./var/
./var/tmp/
./var/adm/
./var/adm/sw/
./var/adm/sw/security/
./var/adm/sw/security/_ACL
./var/adm/sw/security/_OWNER
./var/adm/sw/security/_PROD_DFLT_ACL
./var/adm/sw/security/_SOC_DFLT_ACL
./var/adm/sw/security/secrets
-- more --
./var/adm/sw/defaults
./opt/
./opt/ignite/
./opt/ignite/bin/
./opt/ignite/bin/print_manifest
./opt/ignite/manifest/
./opt/ignite/manifest/template.def
./opt/ignite/share/
./opt/ignite/share/man/
./opt/ignite/share/man/man1m.Z/
./opt/ignite/share/man/man1m.Z/print_manifest.1m
./etc/
./etc/group
./etc/passwd
./etc/magic
./etc/hosts
./etc/services
./etc/inetsvcs.conf
./etc/nsswitch.conf
./configure3
./monitor_bpr