From: Nicolas GIMMILLARO on 10 Dec 2009 12:11 BertieBigBollox(a)gmail.com wrote: > Also, I recently changed the boot order in the BIOS (to remove CD boot > as the first choice). Would this affect anything that grub was trying > to do? Possible, but not sure I had the same problem (grub shows menu, sun copyright visible and then reboot) one time when I changed my scsi controller or when I changed its position in the PCI slots. I don't know if you have the same kind of problem with the change of the boot order ... but if it can help , to fix my problem, I had to do theses things : - Boot with failsafe choice in grub Solaris searchs installed instance on the disk, and asks if it must be mounted r/w on /a (answer : y) - Write on a paper the path (/dev/dsk/cXtYdZsN) of the root slice mounted on /a (the path is shown in the previous question about mounting the instance in /a) - Find its "hardware" path ( /pci@0,0/pci-ide(a)1f,1/ide@0/....) with a "ls -al" in /dev/dsk (and not in /a/dev/dsk) - Look in /a/etc/vfstab to see if /usr is on another slice, and mount it in /a/usr if needed - Run a chrooted shell in /a ( chroot /a /bin/ksh --login ) In the chrooted shell, run : devfsadm -C and then devfsadm - Check in bootenv.rc (must be in /platform/i86pc/boot or something like that) that bootpath matches the "hardware" path of the /a mounted slice, and fix it if needed - Exit the chrooted shell - Reboot with /a mounted (the shutdown process will update the boot-archive on /a) Hope it can help ... Nicolas
From: Ian Collins on 10 Dec 2009 13:39 BertieBigBollox(a)gmail.com wrote: > Had a working system. Booted up fine but now it goes into grub, > attempts to boot, displays sun copyright lines and then reboots and > loops around. > > Grub entries are:- > findroot (rootfs0,0,a) > kernel /platform/i86pc/multiboot > module /platform/i86pc/boot-archive > > Also, got an entry in grub for failsafe solaris boot and this boots up > ok:- > findroot (rootfs0,0,a) > kernel /boot/multiboot kernel/unix -s > module /boot/x86.miniroot-safe > > Its on a laptop and I've got a feeling the user may have been powering > off without shutting down properly and that this has corrupt > something. > > Anyway, is there a command to fixboot or something? Edit the grub entry to enter kmdb on boot. See http://blogs.sun.com/dmick/entry/diagnosing_kernel_hangs_panics_with -- Ian Collins
From: cindy on 10 Dec 2009 15:46 On Dec 10, 7:43 am, "BertieBigBol...(a)gmail.com" <bertiebigbol...(a)gmail.com> wrote: > Had a working system. Booted up fine but now it goes into grub, > attempts to boot, displays sun copyright lines and then reboots and > loops around. > > Grub entries are:- > findroot (rootfs0,0,a) > kernel /platform/i86pc/multiboot > module /platform/i86pc/boot-archive > > Also, got an entry in grub for failsafe solaris boot and this boots up > ok:- > findroot (rootfs0,0,a) > kernel /boot/multiboot kernel/unix -s > module /boot/x86.miniroot-safe > > Its on a laptop and I've got a feeling the user may have been powering > off without shutting down properly and that this has corrupt > something. > > Anyway, is there a command to fixboot or something? > > Or would I be better off booting from sol10 cd and doing an inplace > upgrade? Which Solaris release is this? Sounds to me like your boot archives need to be updated, depending on the Solaris release. You might review the bootadm update-archive command, described here: http://docs.sun.com/app/docs/doc/817-1985/gglaj?a=view Or, do a google search of bootadm update to see other examples that might apply to your scenario. Cindy Cindy
From: BertieBigBollox on 11 Dec 2009 04:32 On Dec 10, 8:46 pm, cindy <cindy.swearin...(a)sun.com> wrote: > On Dec 10, 7:43 am, "BertieBigBol...(a)gmail.com" > > > > > > <bertiebigbol...(a)gmail.com> wrote: > > Had a working system. Booted up fine but now it goes into grub, > > attempts to boot, displays sun copyright lines and then reboots and > > loops around. > > > Grub entries are:- > > findroot (rootfs0,0,a) > > kernel /platform/i86pc/multiboot > > module /platform/i86pc/boot-archive > > > Also, got an entry in grub for failsafe solaris boot and this boots up > > ok:- > > findroot (rootfs0,0,a) > > kernel /boot/multiboot kernel/unix -s > > module /boot/x86.miniroot-safe > > > Its on a laptop and I've got a feeling the user may have been powering > > off without shutting down properly and that this has corrupt > > something. > > > Anyway, is there a command to fixboot or something? > > > Or would I be better off booting from sol10 cd and doing an inplace > > upgrade? > > Which Solaris release is this? Sounds to me like your boot archives > need to be updated, depending on the Solaris release. You might > review the bootadm update-archive command, described here: > > http://docs.sun.com/app/docs/doc/817-1985/gglaj?a=view > > Or, do a google search of bootadm update to see other examples > that might apply to your scenario. > > Cindy > > Cindy- Hide quoted text - > > - Show quoted text - Cindy, Thanks. Already tried that.
From: BertieBigBollox on 11 Dec 2009 04:33 On Dec 10, 4:20 pm, hume.spamfil...(a)bofh.ca wrote: > In comp.unix.solaris BertieBigBol...(a)gmail.com <bertiebigbol...(a)gmail.com> wrote: > > > Also, I recently changed the boot order in the BIOS (to remove CD boot > > as the first choice). Would this affect anything that grub was trying > > That shouldn't matter. > > Also, if your failsafe boot option works okay, it shouldn't be necessary to > boot from DVD/CD. Just boot from failsafe, and do your checks from > maintenance mode. > > -- > Brandon Hume - hume -> BOFH.Ca,http://WWW.BOFH.Ca/ fsck reports no problems....
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: Sun SSH without a password (not OpenSSH) Next: convert CPU load to CPU utilization in % |