single user

All posts tagged single user

I was trying to migrate a Solaris x86 VMware VM to Xen source, but after move all data and turn on the machine in XEN, I received this error message and a panic: cannot mount root path after some searches i found this solution in vmware communities, valid as well for me. Let's imagine you have changed the default boot disk, as well as the SCSI controller, you have moved from VMware with a specific SCSI device to XEN with another different SCSI device, but your bootarchive looks like it was Read more...
Sometimes, if you modify the MBR of a x86 disk you can loose its content so you need to reinstall the grub again, for example after install a mixed linux/solarisx86 environment, or migrating a x86 physical machine to a virtualized environment. You have two options to boot the system, both using the CD-Rom: One is using the cdrom grub, to do that, press e after grub appears, and delete all the lines and add the next 3 lines: root (hd0,2,a) kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive As Read more...
#When you forget root password, there is a way to set a new password accessing the console after booting or restarting the system. When grub load, edit the line kernelĀ and add in the end of kernel parameters: init=/bin/bash The system will go up without requesting root password like in single user. After the system is up, re-mount / filesystem # mount -o remount,rw / Now the / filesystem is accesible and you can change root password with: # passwd root   Now reboot the machine Read more...