Mailinglist Archive: opensuse-autoinstall (19 mails)
| < Previous | Next > |
[opensuse-autoinstall] use "partitioning_advanced" to define /etc/fstab for an autoyast-install of a clean Xen DomU?
- From: PGNet Dev <pgnet.dev+osyast@xxxxxxxxx>
- Date: Sun, 3 May 2009 10:18:52 -0700
- Message-id: <94f2e81e0905031018v1385481aj4a267ca11574cc3a@xxxxxxxxxxxxxx>
hi,
i'm trying to get autoyast to use a defined /etc/fstab to setup a Xen DomU.
reading @,
"4.4.6. Using existing mount table (fstab)"
http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html
i've created a simple autoyast config,
cat test.xml
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<partitioning_advanced>
<fstab>
<root_partition>/dev/xvdc1</root_partition>
<use_existing_fstab
config:type="boolean">true</use_existing_fstab>
<partitions config:type="list">
<partition>
</partition>
</partitions>
</fstab>
</partitioning_advanced>
</profile>
i've placed,
cat /etc/fstab
/dev/xvdb1 swap swap defaults
0 0
/dev/xvdc1 / ext3 acl,user_xattr
1 1
/dev/xvda1 /boot ext3 acl,user_xattr
1 2
proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
debugfs /sys/kernel/debug debugfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
onto,
/dev/VGU/vroot -> /etc/fstab
my DomU cfg contains
cat test.cfg
...
disk = [ 'phy:/dev/VGU/vboot,xvda1,w',
'phy:/dev/VGU/vswap,xvdb1,w',
'phy:/dev/VGU/vroot,xvdc1,w',
]
root = '/dev/xvdc1'
extra = 'autoyast=nfs://.../test.xml ...'
...
@ domU init/launch,
xm create -c test.cfg
the installer's invoked, as usual, but i get,
"no linux root partition found"
@ the link above, i note,
"The found partitions will be formatted and mounted as specified in
/etc/fstab found on a Linux root partition"
since i'm creating a new Xen DomU, there's no clearly _existing_ linux
root partition in the DomU
how, in autoyast, can i get the DomU installer to mount & use the
vfb's phy: devices for the install as defined in "an" /etc/fstab
passed to it?
thanks.
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
i'm trying to get autoyast to use a defined /etc/fstab to setup a Xen DomU.
reading @,
"4.4.6. Using existing mount table (fstab)"
http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html
i've created a simple autoyast config,
cat test.xml
<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<partitioning_advanced>
<fstab>
<root_partition>/dev/xvdc1</root_partition>
<use_existing_fstab
config:type="boolean">true</use_existing_fstab>
<partitions config:type="list">
<partition>
</partition>
</partitions>
</fstab>
</partitioning_advanced>
</profile>
i've placed,
cat /etc/fstab
/dev/xvdb1 swap swap defaults
0 0
/dev/xvdc1 / ext3 acl,user_xattr
1 1
/dev/xvda1 /boot ext3 acl,user_xattr
1 2
proc /proc proc defaults
0 0
sysfs /sys sysfs noauto
0 0
debugfs /sys/kernel/debug debugfs noauto
0 0
devpts /dev/pts devpts mode=0620,gid=5
0 0
onto,
/dev/VGU/vroot -> /etc/fstab
my DomU cfg contains
cat test.cfg
...
disk = [ 'phy:/dev/VGU/vboot,xvda1,w',
'phy:/dev/VGU/vswap,xvdb1,w',
'phy:/dev/VGU/vroot,xvdc1,w',
]
root = '/dev/xvdc1'
extra = 'autoyast=nfs://.../test.xml ...'
...
@ domU init/launch,
xm create -c test.cfg
the installer's invoked, as usual, but i get,
"no linux root partition found"
@ the link above, i note,
"The found partitions will be formatted and mounted as specified in
/etc/fstab found on a Linux root partition"
since i'm creating a new Xen DomU, there's no clearly _existing_ linux
root partition in the DomU
how, in autoyast, can i get the DomU installer to mount & use the
vfb's phy: devices for the install as defined in "an" /etc/fstab
passed to it?
thanks.
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |