LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-06-2012, 04:21 PM   #1
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
boot net: cannot open neither boot_archive nor miniroot


There are a million results for this error on Google, seemingly all from the same two discussion threads, and they don't help.

Scenario:
Sunfire V210
OpenBoot 4.30.4.a

Jumpstart w/ boot helper server
Main jumpstart server (sunjump) set up from Solaris 10u10 (08/11) DVD iso with:
Code:
./setup_install_server /OSImages/Solaris_10_0811
Boot helper server (sboot1) mounted sunjump:/OSImages/Solaris_10_0811 then cd'd to Tools then set up with:
Code:
./setup_install_server -b /netboot/Solaris_10
Client (sqa1) set up on sboot1 with:
Code:
/netboot/Solaris_10/Solaris_10/Tools/add_install_client  -s sunjump:/OSImages/Solaris_10_0811 -e 0:3:ba:c9:73:39 sqa1 sun4u
Booting net on sqa1 yields:
Code:
Rebooting with command: boot net
Boot device: /pci@1f,700000/network@2  File and args:
1000 Mbps FDX Link up
Timeout waiting for ARP/RARP packet
Timeout waiting for ARP/RARP packet
4000 1000 Mbps FDX Link up

Requesting Internet address for 0:3:ba:c9:73:39
cannot open neither boot_archive nor miniroot
Enter filename [boot_archive]:
Netbooting from Solaris 9 or 8 image via sboot1 and sunjump works. I've also netbooted Solaris 10 in the past successfully, probably with older Solaris 10 versions.

The NFS permissions for /netboot/Solaris_10/Solaris_10/Tools/Boot are ro,anon=0 (so wide open).

The Boot directory contains on sboot1:
Code:
$ ls /netboot/Solaris_10/Solaris_10/Tools/Boot
X.cpio.bz2                   lu.platforms                 platform
X_small.cpio.bz2             netmask                      usr_sbin_install_d.cpio.bz2
lu.cpio.bz2                  pkg_db.cpio.bz2
Sure enough, no boot_archive nor miniroot file. Why?

Last edited by AlucardZero; 09-07-2012 at 09:09 AM. Reason: Fixing OBP version
 
Old 09-11-2012, 09:54 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Original Poster
Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
sparc.miniroot exists here:
Code:
$ ls /netboot/Solaris_10_0811/boot/              
hsfs.bootblock  sparc.miniroot
However that's outside of the directory structure that gets NFS exported.

boot_archive exists in the platform subdirs but is a symlink to outside the exported dir! setup_install_server only exports .../Solaris_10/Tools/Boot/ .
Code:
$ ls -l /netboot/Solaris_10_0811/Solaris_10/Tools/Boot/platform/sun4u/boot_archive 
lrwxrwxrwx   1 root     root          34 Sep 10 09:48 /netboot/Solaris_10_0811/Solaris_10/Tools/Boot/platform/sun4u/boot_archive -> ../../../../../boot/sparc.miniroot
Workaround:
Code:
# cd Solaris_10/Tools/Boot/platform
# cp ../../../../boot/sparc.miniroot .
# for i in $(ls -d sun*); do cd $i; rm boot_archive; ln -s ../sparc.miniroot boot_archive; cd ..; done
This places sparc.miniroot in a location that IS exported and fixes the symlinks to point at it.

Last edited by AlucardZero; 09-11-2012 at 09:57 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no appropriate miniroot is available error on hdd install and can't boot from grub jayunplugged DamnSmallLinux 1 04-17-2010 07:30 AM
installed open office from linuxpackages.net, don't know how to open it salviadud Slackware 7 04-15-2005 10:28 AM
booting miniroot (on hard drive) DavidTempler Linux - General 5 01-06-2005 12:15 PM
which one ( Free-, Open-, Net-) zmieff *BSD 3 06-18-2004 05:03 PM
free , open , or net Ratclaws *BSD 12 09-24-2003 01:01 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration