One work of advice , always write down the (in Solaris or Linux) fdisk sizes
cylender and offsets and the format values as well, it can be recreated and get
to if need be as a secondary disk at the data your are trying to save, so to
bootup on the dvd into single user mode, in the grub menu by edit boot the
kernel with a -s option, then when you come to the root shell, pound prompt
command line then type in you can use format to verify the boot disk device
name, then slect the disk , write down the c for controller value is a 0 or a
1, d then value, for disk, exit fdisk /dev/rdsk/c0d0p0 (t0 is for scsi disks
i.e: c0t0d0p0) where 0 or a value of 1 depending where it is plugged into the
connector , master vs slave (target for scsi disks) is 0 ~ d0 master, vs d1
for slave ide for 1. you can clean up or redefine your fdisk partitions.
Here are some other tips, to try, assuming you do not care of the data on the
disk!!!
Or you can also back up your fdsik i.e:
1. Back up MBR before installation from the terminal
dd if=/dev/rdsk/c0d0p0 of=/tmp/mbr.win count=1
3. Install Solaris without reboot option.
4. Optional at your own risk, Restore MBR before reboot.
dd if=/tmp/mbr.win of=/dev/rdsk/c0d0p0
To check your master boot record (MBR), is to do:
dd if=/dev/dsk/c0d0p0 count=2 |strings
compare output to:
strings /usr/lib/fs/ufs/mboot
and compare the output. If they are not very similar, you dont have the solaris
boot sector code.
boot win98 or ME disk and run fdisk /mbr to clear out corruption or virous in
the days before anti virus.
Man page for install-grub has a example to install grub. from a dvd shell mount
the root under /a and receed with a chroot /a /sbin/install-grub options....
fdisk -n /dev/dsk/c0d0p0 /usr/lib/fs/ufs/mboot
Note the default mboot boots the active partition.
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]