Hi Thanks for answer! Yes i only want to format this disks without re-partitioning, because we are using an other tool do do this much better than yast2 can do it. So i have to use this tool for partitioning harddiskdrives - it is a standard of my company. Is there any possibility to do this with an pre-scripte? I found one: !/bin/bash modprobe reiserfs # load reiserfs module mkreiserfs -f `fdisk -l /dev/sda | grep "*" | cut -b 1-9` # find active partition and create a reiserfs mkswap 'fdisk -l /dev/sda | grep "Linux swap" | cut -b 1-9` # find Linux Swap Partition and create a new swap mount -t reiserfs `fdisk -l /dev/sda | grep "*" | cut -b 1-9` /mnt # mount the reiserfs-partition to /mnt What to do, that autoinstall using a already mounted partition, and do not try to mount an other? Is there any solution to do this? I only want to know how i can mount the partitions instead of the function of autoinstall. And what i have to do to get a working 'fstab'. Thanks a lot! bye Alexander Gehrig |--------+-----------------------> | | Anas Nashif | | | <nashif@suse.| | | de> | | | | | | 07.11.02 | | | 18:50 | | | | |--------+----------------------->
----------------------------------------------------------------------------| | | | An: Alexander Gehrig/RSD@RSD | | Kopie: suse-autoinstall@suse.com | | Thema: Re: [suse-autoinstall] Anas Nashif: Mounting before | | Installation? | ----------------------------------------------------------------------------|
* Alexander.Gehrig@RSD.rohde-schwarz.com <Alexander.Gehrig@RSD.rohde-schwarz.com> [Nov 07. 2002 16:45]:
Hi
I have many problems by using a allready created partition. You will find many requests to this object in this list from me.
You dont have to put my name in the Subject to catch my attention :-) I have seen your previous posting and will look into this when the time allows, read 'now', one day after your initial posting... I still dont understand what are you trying to do. You have a pre-partitioned disk and you want to use already existing partitions by only formatting them and without actually re-partitioning the disk? If yes, then currently this wont work. With <use> you can specify which partitions you want to use and autoyast will only use the space that was occupied by those partitions. This requires that the partitions in question are at the end of the disk. Anas
Problems: I have a harddisk with some partitions. Two of this partitions are typ hex
83/82
(131/130). I do not know the partitionnumber or size.
so i had tried different possibilities without any success:
<partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <mount>/</mount> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <size>auto</size> </partition> <partition> <mount>swap</mount> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <size>auto</size> </partition> </partitions> </drive> </partitioning>
or this...
<partitioning config:type="list"> <drive> <device>/dev/sda</device> <partitions config:type="list"> <partition> <mount>/</mount> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> </partition> <partition> <mount>swap</mount> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> </partition> </partitions> </drive> </partitioning>
Caused no of this solution works i found another:
<pre-scripts config:type="list"> <script> <filename>preinstall</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/bash echo "modprobe reiserfs" modprobe reiserfs echo "Format active partition to reiserfs" mkreiserfs -f `fdisk -l /dev/sda | grep "*" | cut -b 1-9` echo "Format swap" mkswap 'fdisk -l /dev/sda | grep "Linux swap" | cut -b 1-9` echo "Mount active partition to /mnt/" mount -t reiserfs `fdisk -l /dev/sda | grep "*" | cut -b 1-9` /mnt
]]> </source> </script> </pre-scripts> </scripts> .... without drive TAG
But this will not work too... what can i do? Is there any solution? What i have to do to get the right fstab for the installed system?
Please help me!
Thanks!
bye
Alexander
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com -- Anas Nashif <nashif@suse.com>, SuSE Linux AG Montreal (Laval), Canada