Archive

Posts Tagged ‘mount’

openSUSE rescue CD get yast running

January 9th, 2010 Comments off

As everybody knows Windows does great job during installation – makes computer start only IT :)

There are many ways to make it working again with linux, my steps were:

  • boot computer from some opensuse CD (should be possible with any)
  • select rescue bootmenu entry
  • if asked for user enter “root”
  • enter “fdisk -l” to see yours linux device – for me it was /dev/sdb3 – first one with Id 83
  • prepare access to your system

    mount /dev/sdb3 /mnt
    mount -o bind /dev/ /mnt/dev/
    mount -o bind /proc/ /mnt/proc
    chroot /mnt/ /bin/bash
    mount /sys

  • now enter “yast2 bootloader”
  • select Other (Alt+e) -> Propose new configuration (Alt+p), OK (Alt+o)
  • exit chroot with “exit” and restart computer with “reboot”

steps up to chroot are know and are quite similar to installation of gentoo system, but “mount /sys” is something new and is required to make “yast2 bootloader” or “yast2 disk” working in chroot environment.

Categories: Linux Tags: , , , , ,

Why You should use “cd .”

January 29th, 2009 Comments off

Lately more and more I catch myself on entering

cd .

This is needed if You have open Yours console on a path that changes via linking or mounting, using “cd .” allows very fast switch to the new location that You should be using.

Categories: Linux Tags: , ,