27 Jan 2015 @ 9:44 AM 

After boot you are getting console with initramfs command.
It means, your system uses wrong system drive for boot.
How to solve? Do the following:
1. Find the partition you installed OS on
initramfs> blkid
2. Mount partition with your OS:
initramfs> mkdir /mnt
initramfs> mount /dev/sda1 /mnt
initramfs> mount --bind /sys /mnt/sys
initramfs> mount --bind /dev /mnt/dev
initramfs> mount --bind /proc /mnt/proc
initramfs> chroot /mnt

3. Update Grub
initramfs> update-grub
initramfs> grub-install /dev/sda

4. Reboot and cross your fingers
initramfs> reboot

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:52 PM

EmailPermalinkComments Off on initramfs error
Tags
Tags: ,
Categories: Errors
 27 Jan 2015 @ 9:34 AM 

Sometimes, when hdd feeling bad, your OS can’t start normaly.
And you are getting grub concole, like: grub >
The easiest way to boot your kernel:
1. check the list of drives
grub> ls
(hd0) (hd0,gpt2) (hd0,gpt1)

2. Check /boot folder on the drive (or another folder, depends from your server structure)
grub> ls (hd0,gpt1)/boot/
. .. grub initrd-2.6.32-ovz-el-alt88.M60P.1.img System.map-2.6.32-ovz-el-alt88.M60P.1 vmlinuz-2.6.32-ovz-el-alt88.M60P.1

3. Booting
grub> set root=(hd0,gpt1)
grub> linux /boot/vmlinuz-2.6.32-ovz-el-alt88.M60P.1 root=/dev/sda1
grub> initrd /boot/initrd-2.6.32-ovz-el-alt88.M60P.1.img
grub> boot

Another way is more complicated. And you should use it, if you got an error “grub unknown command linux”
More »

Posted By: lvlind
Last Edit: 06 Oct 2016 @ 03:52 PM

EmailPermalinkComments Off on grub recovery console
Tags
Tags: , , , ,
Categories: Errors, How to?

 Last 50 Posts
Change Theme...
  • Users » 1
  • Posts/Pages » 35
  • Comments » 0
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

About



    No Child Pages.

Need Help?



    No Child Pages.

Check your IP



    No Child Pages.