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
- Put empty diskette in drive
- Create FAT filesystem on diskette: mkfs -F pcfs /dev/rdiskette
- Stop volume manager: /etc/init.d/volmgr stop
- mount diskette to /mnt for example: mount -F pcfs /dev/diskette /mnt
- Create directory for grub: mkdir -p /mnt/boot/grub
- Copy boot grub files: cp -r /boot/grub/* /mnt/boot/grub
- Unmount diskette: umount /mnt
- Go to grub directory: cd /boot/grub
- Install grub on the diskette (use raw device): /sbin/installgrub stage1 stage2 /dev/rdiskette
- Eject the diskette
- Start volume manager (if you use it)
No comments:
Post a Comment