Q? Reconfiguring Solaris x86 device trees after moving my USB disk from one port to another ...

From: Noel Milton Vega (nmvega@ComputingArchitects.Com)
Date: Thu Nov 09 2006 - 13:12:22 EST


Hi:
 
After moving my USB drive from one USB port to another on my
laptop, I need to reconfigure/re-order the Solaris 10 x86
(nv48) device trees so that it can boot again. Right now,
it does not boot as attached to the new USB port.
 
So as shown below, I performed the standard reconfiguration
steps I have many times over the years, yet they do not seem
to be enough on Solaris 10 x86. Here they are. What did
I miss (TIA!):
 
====================================================
Step 1) boot to failsafe ramdisk based O/S
Step 2) mount -F ufs -o rw /dev/dsk/c1t0d0s0 /a
Step 3) (see rest that follows)...
 
rm -f /a/dev/dsk
rm -f /a/dev/rdsk
rm -f /a/etc/path_to_inst
(I never "rm" the /devices tree)
 
cp /tmp/root/etc/path_to_inst /a/etc/path_to_inst
cd /dev/dsk; find . | cpio -pudm /a/dev/dsk
cd /dev/rdsk; find . | cpio -pudm /a/dev/rdsk
cd /devices; find . | cpio -pudm /a/devices
/sbin/bootadm update_archive ?v ?R /a
 
# And for good measure, I also did this:
cd /a/boot/grub
installgrub ./stage1 ./stage2 /dev/rdsk/c1t0d0s0
=====================================================
 
After rebooting, I get the GRUB menu and select
Solaris to boot normally. What happens? The initial
Solaris banner shows up (and nothing else), and after
about 40 seconds the system simply reboots. I think
its looking for a device node that is no longer
pointed correctly. I specified "-v" to the kernel
line within GRUB, but nothing sticks out at me.
 
Thanks,
Noel Milton Vega
 <mailto:nmvega@ComputingArchitects.Com> nmvega@ComputingArchitects.Com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:09 EDT