root@kreta256:/# mkdir /mnt/p1
mkdir: cannot create directory `/mnt/p1': File exists
root@kreta256:/# mount /dev/sda1 /mnt/p1
root@kreta256:/# cd /mnt/p1
root@kreta256:/mnt/p1# ls -al
total 8918
drwxr-xr-x 4 root root 2048 2006-12-07 15:41 .
drwxr-xr-x 4 root root 80 2006-12-15 15:50 ..
-rw-r--r-- 1 root root 512 2006-08-02 19:13 backup_mbr
lrwxrwxrwx 1 root root 1 2006-08-02 19:07 boot -> .
-rw-r--r-- 1 root root 60418 2005-03-24 01:31 config-2.6.11.4-20a-default
-rw-r--r-- 1 root root 65588 2006-01-12 20:39 config-2.6.15-20060112174634-smp
drwxr-xr-x 2 root root 1024 2006-08-02 17:21 grub
lrwxrwxrwx 1 root root 27 2006-12-07 15:41 initrd -> initrd-2.6.11.4-20a-default
-rw-r--r-- 1 root root 1208666 2006-12-07 15:41 initrd-2.6.11.4-20a-default
-rw-r--r-- 1 root root 1324370 2006-08-02 17:16 initrd-2.6.15-20060112174634-smp
lrwxrwxrwx 1 root root 32 2006-08-02 17:16 initrd.previous -> initrd-2.6.15-20060112174634-smp
drwx------ 2 root root 12288 2006-08-02 19:05 lost+found
-rw-r--r-- 1 root root 94388 2005-03-19 20:45 memtest.bin
-rw-r--r-- 1 root root 121 2005-03-24 01:31 README.vmlinux-2.6.11.4-20a-default.gz
-rw-r--r-- 1 root root 99723 2006-01-12 20:44 symsets-2.6.15-20060112174634-smp.tar.gz
-rw-r--r-- 1 root root 302761 2006-01-12 20:44 symtypes-2.6.15-20060112174634-smp.gz
-rw-r--r-- 1 root root 68372 2005-03-24 01:32 symvers-2.6.11.4-20a-i386-default.gz
-rw-r--r-- 1 root root 84111 2006-01-12 20:44 symvers-2.6.15-20060112174634-smp.gz
-rw-r--r-- 1 root root 708925 2005-03-24 01:26 System.map-2.6.11.4-20a-default
-rw-r--r-- 1 root root 721123 2006-01-12 20:24 System.map-2.6.15-20060112174634-smp
-rw-r--r-- 1 root root 1585408 2006-01-12 20:39 vmlinux-2.6.15-20060112174634-smp.gz
lrwxrwxrwx 1 root root 28 2006-12-07 15:41 vmlinuz -> vmlinuz-2.6.11.4-20a-default
-rw-r--r-- 1 root root 1424645 2005-03-24 01:26 vmlinuz-2.6.11.4-20a-default
-rw-r--r-- 1 root root 1303889 2006-01-12 20:24 vmlinuz-2.6.15-20060112174634-smp
lrwxrwxrwx 1 root root 33 2006-08-02 17:16 vmlinuz.previous -> vmlinuz-2.6.15-20060112174634-smp
root@kreta256:/mnt/p1# cd grub
root@kreta256:/mnt/p1/grub# ls -al
total 192
drwxr-xr-x 2 root root 1024 2006-08-02 17:21 .
drwxr-xr-x 4 root root 2048 2006-12-07 15:41 ..
-rw------- 1 root root 30 2006-08-02 19:13 device.map
-rw-r--r-- 1 root root 8084 2005-03-19 20:11 e2fs_stage1_5
-rw-r--r-- 1 root root 7908 2005-03-19 20:11 fat_stage1_5
-rw-r--r-- 1 root root 7124 2005-03-19 20:11 ffs_stage1_5
-rw-r--r-- 1 root root 7156 2005-03-19 20:11 iso9660_stage1_5
-rw-r--r-- 1 root root 8640 2005-03-19 20:11 jfs_stage1_5
-rw------- 1 root root 823 2006-08-02 17:21 menu.lst
-rw-r--r-- 1 root root 7316 2005-03-19 20:11 minix_stage1_5
-rw-r--r-- 1 root root 9652 2005-03-19 20:11 reiserfs_stage1_5
-rw-r--r-- 1 root root 512 2005-03-19 20:11 stage1
-rw-r--r-- 1 root root 105266 2006-08-02 19:13 stage2
-rw-r--r-- 1 root root 7400 2005-03-19 20:11 ufs2_stage1_5
-rw-r--r-- 1 root root 6772 2005-03-19 20:11 vstafs_stage1_5
-rw-r--r-- 1 root root 9436 2005-03-19 20:11 xfs_stage1_5
root@kreta256:/mnt/p1/grub# cat menu.lst
# Modified by YaST2. Last modification on Mi Aug 2 17:13:30 UTC 2006
color white/blue black/light-gray
default 0
timeout 8
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
kernel (hd0,0)/vmlinuz root=/dev/sda3 selinux=0 noapic acpi=on noapic init=/linuxrc load_ramdisk=1 raid=noautodetect resume=/dev/sda2 splash=silent showopts
initrd (hd0,0)/initrd
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 9.3
kernel (hd0,0)/vmlinuz root=/dev/sda3 showopts ide=nodma apm=off acpi=on noapic vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
initrd (hd0,0)/initrd
###Don't change this comment - YaST2 identifier: Original name: memtest86###
title Speichertest
kernel (hd0,0)/memtest.bin
root@kreta256:/mnt/p1/grub# cd /
root@kreta256:/# umount /dev/sda1
mkdir /mnt/p1
mount /dev/sda1 /mnt/p1
cd /mnt/p1
cp vmlinuz.previous vmlinuz
cp initrd.previous initrd
cd /
umount /dev/sda1
# Hilfsverzeichnis anlegen
mkdir /mnt/p1
# Die Partition mit dem Kernel (/dev/sda1) über dieses Hilfsverzeichnis zugänglich machen
mount /dev/sda1 /mnt/p1
# Die Zeiger (Symlinks) auf die beiden Kernelkomponenten wieder auf die
# Werte vor dem Update setzen. Yast löscht die alten Zeiger nicht sondern
# läßt sie als .previous für solche Notfälle bereitliegen. Man muß sie also nur
# auf die richtigen Dateinamen kopieren
cd /mnt/p1
cp vmlinuz.previous vmlinuz
cp initrd.previous initrd
# Bindung der Partition an das Hilfsverzeichnis aufheben
cd /
umount /dev/sda1
vmlinuz-2.6.15-20060112174634-smp
We use essential cookies to make this site work, and optional cookies to enhance your experience.