Hi
I have many problems by using a allready created partition. You will find many
requests to this object in this list from me.
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>
false
<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>
false
<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