Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Boot Floppy 1

Status
Not open for further replies.

DavidPhillips

Technical User
Jul 29, 2001
20
US
Can I make a boot floppy with /dev/rmt/0 access?

Thanks,

David
 
You are talking about Solaris sparc or Intel ? (The sparc floppy device is not a "bootable" device on a Sun for Solaris. I think it is not big enough to hold all of the files needed to boot a sun, however it's bootable for Sparc Linux ...for Solaris Intel it's possible to boot from a floppy.

Regards,

Carlos Almeida

 
Procedure for creating a bootable SunOS floppy diskette.

1. Insert floppy in Diskette Drive.
2. newfs /dev/rfd0c
3. mount /dev/fd0 /mnt
4. cp /usr/mdec/bootfd /mnt/bootfd
5. cp /usr/kvm/stand/boot.sun4c /mnt/boot
6. /usr/mdec/installboot /mnt/boot bootfd /dev/rfd0c
7. Copy your vmunix kernel to the floppy.

Note: There will only be ~950K remaining so the vmunix
will have to be very small.

Here is a sample installation session:

# newfs /dev/rfd0c
/dev/rfd0c: 2880 sectors in 80cylinders of 2 tracks,
18 sectors
1.5MB in 5 cyl groups (16 c/g, 0.29MB/g, 128 i/g)
super-block backups (for fsck -b #) at:
32, 640, 1184, 1792, 2336,

# mount /dev/fd0 /mnt

# cp /usr/mdec/bootfd /mnt

# cp /usr/kvm/stand/boot.sun4c /mnt/boot

# installboot -v /mnt/boot bootfd /dev/rfd0c
Primary boot: bootfd
Secondary boot: /mnt/boot
Boot device: /dev/rfd0c
Bootblock will contain a.out header
Boot size: 0x1af40
Boot checksum: 0xf22db98e
Boot block installed

# ls /mnt
boot bootfd lost+found
 
If you are talking about Doc SRDB id 5504, is dated of may 1994 (for SunOS), since Solaris 2.5 the directorys "/usr/mdec", "/usr/kvm" doesn't exist, they are now in "/usr/platform" ... also the kernel file for a Solaris 8 will have > 1.4 MB, and bootfd flag is no longer supported in installboot since Solaris 2.5

Regards,

Carlos Almeida,
 
Thanks for the reply.

I have Solaris 2.5 on a sparc5.

So according to Carlos I guess it will not work.

Is it possible to create a boot floppy on my linux machine that will support ufs, etc?

I have rh 7.1 with the 2.4 kernel.

imsnowman: I will check it out and see if it works. ???


David
 
Update:

# mount /dev/rfd0c
Device Busy

# mount
/dev/fd on fd read/write on Tue Jul 31, 11:53:00 2001

# umount /dev/fd

#newfs /dev/fd
newfs: not a raw disk device


Also no mdec or kvm folders
and no bootfd file.

Thanks again

David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top