SUMMARY: How to make new disk bootable

From: Tham Huei Hwan (Tham.Huei.Hwan@bass.com.my)
Date: Thu Jun 15 1995 - 08:48:33 CDT


>I am running Solarris 2.4 (x86) at my pemtium pc. My question is how to
>make a new disk bootable without reinstall the OS ?
>
>Thank you.

Thank for your reply

In Solaris 1.x it was a program called installboot. See if that gets
you anywhere.

Fred H. Berns, Systems Manager
Kestnbaum & Company Chicago, Illinois
Database Marketing Consultants

Email: fhb@kestnbaum.com
Voice: (312) 782-1360 x220
  Fax: (312) 782-1362

For SunOS 4 this is documented in the section of the manuals about restoring
damaged root and /usr disk partitions.

If memory serves, the first thing you do is format/partition the disk.
Then do an installboot, and then newfs the disk. You should check the Sun OS 5
manuals for some similar set of instructions.

Don

-- 
Donald McLachlan			e-mail	donald.mclachlan@crc.doc.ca
Communications Research Centre / DRX	office	613-998-2845
3701 Carling Ave.,			fax	613-998-9648
Ottawa, Ontario				lab	613-998-2423
K2H 8S2

Check out the man page on 'installboot'.

Good Luck.

Adam Nevins Network Specialist LTX Corporation Westwood, MA

On sunOS, there is some "installboot" which will install the boot block on the disk. You could check that out.

Pamela Pledger Unix System Administration Legato Systems, Inc

I don't know about Solaris on a PC, but on my Sun, I have to run installboot to install the boot blocks on the partition from which I want to boot. If you can't boot your system at all, you may have to boot from another device (like the CDROM) and run installboot from there. Here's the example from the man page for installboot on Solaris 2.3 (I don't imagine its changed much in 2.4):

The ufs bootblock is in /usr/lib/fs/ufs/bootblk, to install the bootblock on slice 0 of target 0 on controller 1, use: example# /usr/sbin/installboot /usr/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0

Good luck.

-ed-

---------------------------------------------------------------------------- Ed Maple, System Administrator, Pacific Marine Geology US Geological Survey voice: (415)354-3236 FAX: (415)354-3191 email: edm@mog.wr.usgs.gov

Any opinion expressed is mine, no matter where I got it from, and I retain all rights to it, should it actually prove to be of any value. ---------------------------------------------------------------------------- "...humility is one of the finest variations of expressing self-esteem." Norbert Untersteiner ---------------------------------------------------------------------------- E-mail geology questions to: "Ask-A-Geologist@octopus.wr.usgs.gov"

USGS World Wide Web Sites: "http://info.er.usgs.gov" -USGS info & links to other home pages "http://walrus.wr.usgs.gov" -Marine and Coastal Geology "http://quake.wr.usgs.gov" -Current earthquake info "http://vulcan.wr.usgs.gov" -Cascades Volcano Observatory "http://www.soest.hawaii.edu/hvo/" -Hawaii Volcano Observatory "http://www.avo.alaska.edu" -Alaska Volcano Observatory ----------------------------------------------------------------------------

cd /sbin ./installboot /lib/fs/ufs/bootblk /dev/rdsk/c0t3d0s0

This will install a boot block on slice 0 of target 3...

_______________________________________________________ /\-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-=-\ L_@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@ | Robert Kohler | | Union Pacific Resources | | P.O. Box 7, MS3503 | | Fort Worth, TX. 76101-0007 | | | | OFFICE VOICE: (817)-877-6993 | | FAX: (817)-877-6598 | | WORK(7-4) E-MAIL: robert.kohler@uprc.com | __@~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~@ \/______________________________________________________/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:26 CDT