View Single Post
Old 22nd May 2006, 01:06
markes markes is offline
Junior Member
Join Date: Mar 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Howto suse 10.1

FakeRaid for SuSe 10.1 is working fine!

I hope my way is more easier for you.

First of all install windows on your raid disk, because otherwise it will overwrite the bootloader.

You have to change all following enters to your system required configuration!

-Take an old ata hard disk and install the new suse10.1 on it.
in Yast also install the GCC-C++packet
Download the dmraid-1.0.0rc11-pre1.tar.bz2 from
(Warning older versions are not working for the kernel, the dmraid 0.99_1.0.0rc8-12 package included in the suse10.1 also isn´t working)

-Shut down system and strip on your raid disk, start suse10.1 from your old hard disk.
Log in as root, extract your downloaded dmraid, change into dmraid folder, open console and type the following:

„cp -f /tools/dmraid /sbin/dmraid“
„modprobe dm-mod“
„tools/dmraid -ay -i“
„ls /dev/mapper“

now you should have an output like control via_bdeaacdjjh

-create your partitons
„fdisk /dev/mapper/via_bdeaaccdjjh
create one swap and one reiserfs partition

this is for example my partition table:
linux:/home/mk # fdisk /dev/mapper/via_bdeaacdjjh

Die Anzahl der Zylinder für diese Platte ist auf 38914 gesetzt.
Daran ist nichts verkehrt, aber das ist größer als 1024 und kann
in bestimmten Konfigurationen Probleme hervorrufen mit:
1) Software, die zum Bootzeitpunkt läuft (z. B. ältere LILO-Versionen)
2) Boot- und Partitionierungssoftware anderer Betriebssysteme

Befehl (m für Hilfe): p

Platte /dev/mapper/via_bdeaacdjjh: 320.0 GByte, 320083770368 Byte
255 Köpfe, 63 Sektoren/Spuren, 38914 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes

Gerät boot. Anfang Ende Blöcke Id System
/dev/mapper/via_bdeaacdjjh1 * 1 1020 8193118+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh2 1021 36715 286720087+ f W95 Erw. (LBA)
/dev/mapper/via_bdeaacdjjh3 36716 36862 1180777+ 82 Linux Swap / Solaris <- my swap device
/dev/mapper/via_bdeaacdjjh4 36863 38914 16482690 83 Linux <-my root device
/dev/mapper/via_bdeaacdjjh5 1021 3570 20482843+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh6 3571 6120 20482843+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh7 6121 18868 102398278+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh8 18869 31616 102398278+ 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh9 31617 36575 39833136 7 HPFS/NTFS
/dev/mapper/via_bdeaacdjjh10 36576 36715 1124518+ b W95 FAT32

-format your partions:
„mkswap /dev/mapper/via_bdeaacdjjh3
„mkreiserfs /dev/mappper/via_bdeaacdjjh4

-mount your new suse10.1 root partition
„mkdir /mnt/suse10.1“
„mount -t reiserfs /dev/mapper/via_bdeaacdjjh4 /mnt/suse10.1“

-start yast and under software choose Installation into Directory
change the target directory to /mnt/suse10.1
Check Run Yast and SuseConfig on first start
the warning with /suse/i586/kernel-default- you can ignore

-after the installation process have finished open the kernel file
type „vi /etc/sysconfig/kernel“ in console
press the insert key and change „INITRD_MODULES=“sata_via via 82cxxx processor thermal fan“ in „INITRD_MODULES=“sata_via via 82cxxx processor thermal fan dm-mod“
press ESC

-take my mkinird extract it and copy it to /sbin/mkinitrd
type „mkinitrd“ in console
copy some files:
„cp -R -T /boot/grub/ /mnt/suse10.1/boot/grub“
„cp /boot/initrd- /mnt/suse10.1/boot/initrd-“
„cp /boot/initrd /mnt/suse10.1/boot/initrd“
„cp /sbin/dmraid /mnt/suse10.1/sbin/dmraid“
„cp /sbin/mkinitrd /mnt/suse10.1/sbin/mkinitrd“
„cp /etc/sysconfig/kernel /mnt/suse10.1/etc/sysconfig/kernel“
„cp /etc/fstab /mnt/suse10.1/etc/fstab“

-modify the files and menu.lst in your /mnt/suse10.1/boot/grub/ dir
modify fstab in your /mnt/suse10.1/sbin/ dir

switch to console and type „grub“
„device (hd0,3) /dev/mapper/via_bdeaacdjjh4
„device (hd0) /dev/mapper/via_bdeaacdjjh
„geometry (hd0) 38914 255 63
„root (hd0,3)“
„setup (hd0)“

-shut down system and put away your old hard disk. boot system, after the yast procedure log in as root and open initab
„vi /etc/initab“
press insert key
change „id:3:initdefault:“ into „id:5:initdefault:“
press ESC

-Reboot your system.

-Don´t forget to change your installation source!
put in your first suse10.1 cd and open yast, ad installation source, cd, the same with your add on cd.

-I have also attached my fstab, and menu.lst.

Goood luck!
Attached Files
File Type: zip mkinitrd.ZIP (22.8 KB, 518 views)
File Type: zip fstab.ZIP (482 Bytes, 450 views)
File Type: zip (193 Bytes, 474 views)
File Type: zip menu.lst.ZIP (566 Bytes, 487 views)

Last edited by markes; 23rd May 2006 at 07:41.
Reply With Quote