Create backup boot diskette in Solaris 10 x86

Introduction

This manual is directed to explain the process of creation of boot diskette for Solaris 10 (x86pc architecture). I know diskettes are rare those days, but it can be helpful  in case of lose boot record, overwrite by other OS, etc.

Steps

  1. Put empty diskette in drive
  2. Create FAT filesystem on diskette: mkfs -F pcfs /dev/rdiskette
  3. Stop volume manager: /etc/init.d/volmgr stop
  4. mount diskette to /mnt for example: mount -F pcfs /dev/diskette /mnt
  5. Create directory for grub: mkdir -p /mnt/boot/grub
  6. Copy boot grub files: cp -r /boot/grub/* /mnt/boot/grub
  7. Unmount diskette: umount /mnt
  8. Go to grub directory: cd /boot/grub
  9. Install grub on the diskette (use raw device): /sbin/installgrub stage1 stage2 /dev/rdiskette
  10. Eject the diskette
  11. Start volume manager (if you use it)

No comments:

Post a Comment

Should I trust AI

 Should I trust AI? So far no, sorry.  I tested for the moment (May, 2025) most advanced model for programming and ask very simple question:...