Talk Root - PC Hardware, Software and Web Development forums

Go Back   Talk Root - PC Hardware, Software and Web Development forums > Operating Systems > Solaris Discussion

Solaris Discussion Discuss Solaris programming, networking, security, and more.


Welcome to the Talk Root - PC Hardware, Software and Web Development forums. Are you a programmer, web developer, IT guy or a computer guru? We invite you to join our forums and participate in friendly discussion. It doesn't matter your skill level, we are here to help everyone.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Sponsored Links
Reply
 
LinkBack Thread Tools Rate Thread
Old 03-02-2004, 06:49 AM   #1
Bob Tandy
Registered User
 
Join Date: Feb 2004
Posts: 4
Custom boot CD - cannot remove dependency on floppy

Following the cdrtools README.sunx86boot instructions (but using Solaris 8 2/02) I still have to a have a floppy to start the install process or I get the message:

Direct CDROM boot failed. Check the system BIOS to make sure that CDROM
boot is enabled then retry the boot, or reboot using the boot diskette.

In the final system there is no floppy drive so I need to remove this dependency. If the original Sun CD is used, no error and no floppy is required so this rules out BIOS setting?

I have modified the README.sunx86boot instructions because the S8 equivalent of:

star -cPM -C /vol/dev/dsk/c1t1d0/multi_icd_sol_8_202_ia/s2 .

complains that the path is not a directory, using instead:

star -cPM -C /cdrom/multi_icd_sol_8_202_ia/s2 .

and the mkisofs line uses slice 0 extracted using:

sdd if=/dev/dsk/c1t0d0s0 of=s0

because I wish to modify the content of slice 0 to edit the sysidcfg/startup files. Thus the mkisofs becomes:

mkisofs -log-file mkisofs.log.3 -G genboot \
-no-emul-boot -b .bootimage -c .catalog \
-R -o bootcd.iso -sunx86-boot ../s0 isodir

What am I missing that prevents the CD booting by itself?

TIA
Bob
Bob Tandy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 03-02-2004, 07:28 AM   #2
dduardo
Senior Member
 
Join Date: Dec 2003
Posts: 254
From comp.unix.solaris :

"Try burning your CD not with "bootable" flag on,
but create a track image and copy your iso file in that track."
__________________
One day the child went east.
The next, west.
Then north.
And south.
Not everyone
realized he was there,
Not everyone recognized his power.
He spoke every language.
He just seemed to fit in.

Linux is everywhere
The future is open
IBM
dduardo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-02-2004, 08:45 AM   #3
Bob Tandy
Registered User
 
Join Date: Feb 2004
Posts: 4
Quote:
Originally posted by dduardo

From comp.unix.solaris :

"Try burning your CD not with "bootable" flag on,
but create a track image and copy your iso file in that track."

Thanks, but could you possibly expand on that?
Sorry to appear dense.

Do you mean drop the -sunx86-boot flag (which isn't mentioned in manpage, but it is used in the README). And how does one create a track image?

Below is the exact sequence I currently use:

# --- Start
dd if=/dev/dsk/c1t0d0s0 of=s0
mkdir s0_mnt
lofiadm -a `pwd`/s0 /dev/lofi/1
mount /dev/lofi/1 `pwd`/s0_mnt
rm s0_mnt/etc/sysidcfg
vi s0_mnt/etc/sysidcfg
vi s0_mnt/sbin/startup
umount /`pwd`/s0_mnt
lofiadm -d /dev/lofi/1

readcd dev=1,0,0 f=CD.out sectors=0-32
sdd if=CD.out bs=446 count=1 of=mboot
sdd if=CD.out count=1 of=pboot
sdd if=CD.out count=31 iseek=2048 of=bootblk

sdd if=mboot -fill of=eltoritoboot
cat pboot >> eltoritoboot

cp eltoritoboot genboot
cat bootblk >> genboot

mkdir isodir
star -cPM -C /cdrom/multi_icd_sol_8_202_ia/s2 . | \
star -xp -xdot -C isodir

cp eltoritoboot isodir/.bootimage

mkisofs -log-file mkisofs.log.3 -G genboot \
-no-emul-boot -b .bootimage -c .catalog \
-R -o bootcd.iso -sunx86-boot ../s0 isodir

cdrw -C -i bootcd.iso
# -- End

Ta, Bob.
Bob Tandy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 09:25 AM.


Sponsors
Banner Best Deals 24x7 @ Geeks.com!
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0 RC8
vB Ad Management by =RedTyger=
© 2006 TalkRoot.com -