zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Upgrade opensuse 42.1 to 42.2

November 5, 2016 by Igor Drobot 4 Comments

countdown-leap-42-2-alex

openSUSE 42.2 Leap is still at the moment in RC2 state but a upgrade is already possible.

More information about 42.2 Leap can be found in the official release notes

I have a fresh installed 42.1 which is fresh patched so the first step will be the replacing of repository information:
[Read more…]

Filed Under: Linux Tagged With: 42.2 Leap, openSUSE

Upgrading openSUSE 13.1 to openSUSE 13.2

December 1, 2014 by Igor Drobot Leave a Comment

openSUSE 13.2

Some days ago was release a new version of openSUSE with a huge list of new feature.
[Read more…]

Filed Under: Linux Tagged With: openSUSE

Install Grub from chroot

December 21, 2010 by Igor Drobot 16 Comments

The simple way to install grub/ grub2 from any linux live-CD or any other bootable medium.

Step 1: boot from linux live CD/DVD or even USB
Step 2: mount your hdd
Step 3: chroot in the mounted filesystem
Step 3: install grub
Step 4: reboot

1
2
3
4
5
6
7
8
9
fdisk -l
mount /dev/sda1 /mnt/
mount -t proc none /mnt/proc
mount -o bind /dev /mnt/dev
mount -t sysfs sys /mnt/sys
chroot /mnt/ /bin/bash
update-grub
/usr/sbin/grub-install --recheck --no-floppy /dev/sda
sync & reboot

fdisk -l mount /dev/sda1 /mnt/ mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev mount -t sysfs sys /mnt/sys chroot /mnt/ /bin/bash update-grub /usr/sbin/grub-install --recheck --no-floppy /dev/sda sync & reboot

SUSE Syntax:
update-grub is debian and ubuntu little helper this execute the same as:

1
2
3
grub2-install --recheck --no-floppy /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
mkinitrd

grub2-install --recheck --no-floppy /dev/sda grub2-mkconfig -o /boot/grub2/grub.cfg mkinitrd

Filed Under: Bash, Debian, Ubuntu Tagged With: chroot, Debian, Grub, Grub2, install grub, MBR, openSUSE, Ubuntu

  • « Previous Page
  • 1
  • 2
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok