remsnet
Posts: 151
Joined: Wed Dec 19, 2012 7:32 pm
Location: Planet Gaia
Contact: Website Yahoo Messenger

Update OpenSuse from CHROOT Betta Images

Mon Feb 04, 2013 6:03 pm

NOTE for the Betta Images :
This way may only required when you get some Trubles i.e kernel panics while try regulary Installs.

Requirements:

- have Running RPI Arm Linux on an Emulator
or rasperry PI i.e with debian.

- have an SD card reader on USB
- sdcard with OpenSuse image

Task : mount i.e your sdcard at sdb
df | grep sdb
/dev/sdb2 15492400 1502852 13207076 11% /
/dev/sdb1 76186 24313 51873 32% /boot

# mount /dev/sdb2 /mnt
# mount /dev/sdb1 /mnt/boot
#
# chroot /mnt bash

# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/

Update from Chroot :

# rpmdb --rebuilddb
# zypper update
# dist-upgrade
# exit
# sync
# reboot

After that and re-join the chroot you can install all what you like to have .

You may able also repair the system via chroot if required.

You may able also get an 3.7.5 kernel compiled ( Olipro´s PRI repo+ incremental kernel.org patches ) as the current v 3.1.x looks like not support SD cards

CHROOT mechanism been nothing new


Hope this helps .

Return to “openSUSE”