Friday, March 22, 2013

Create backup boot diskette in Solaris 10 x86


logo-solaris


Create backup boot diskette in Solaris 10 x86


Introduction


This manual is directed to creation of boot diskette for Solaris 10 (x86pc architecture) 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