docs:tips_n_tricks:xen.html
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docs:tips_n_tricks:xen.html [25.04.2022 10:48 CEST] – [Make network card names persistent] peter | docs:tips_n_tricks:xen.html [13.08.2022 23:36 CEST] (current) – [Create new DomU] peter | ||
---|---|---|---|
Line 21: | Line 21: | ||
===== Create new DomU ===== | ===== Create new DomU ===== | ||
//Assuming, you have a bridge //xenbr0// up and running on your Dom0 with 10.1.0.1 beeing the outbound gateway and a disk partitioning scheme defined in// ''/ | //Assuming, you have a bridge //xenbr0// up and running on your Dom0 with 10.1.0.1 beeing the outbound gateway and a disk partitioning scheme defined in// ''/ | ||
+ | |||
+ | * create ''/ | ||
+ | * run '' | ||
<code bash create_guest.sh> | <code bash create_guest.sh> | ||
Line 52: | Line 55: | ||
</ | </ | ||
+ | <code authorized_keys / | ||
+ | # replace 202204260000 by some day in the near future and add your own sshkey | ||
+ | expiry-time=" | ||
+ | </ | ||
+ | |||
+ | ===== Matching physical and virtual Xen block (and other) devices and eventually their ids ===== | ||
+ | |||
+ | xenstore-ls -f -s / | ||
+ | |||
+ | |||
+ | __References: | ||
+ | |||
+ | * [[https:// | ||
+ | * https:// | ||
===== Turn a domU into a new dom0 running with serial console ===== | ===== Turn a domU into a new dom0 running with serial console ===== | ||
Line 92: | Line 109: | ||
mkdir /GRUB0 | mkdir /GRUB0 | ||
mount LABEL=" | mount LABEL=" | ||
- | grub-install --boot-directory /GRUB0 /dev/sdb | + | grub-install --boot-directory / |
- | grub-install --boot-directory /GRUB0 /dev/sda | + | grub-install --boot-directory / |
</ | </ | ||
<code grub / | <code grub / | ||
Line 189: | Line 206: | ||
to ''/ | to ''/ | ||
+ | <note warning> | ||
Manual steps: | Manual steps: | ||
<code bash> | <code bash> | ||
Line 224: | Line 241: | ||
<code interfaces / | <code interfaces / | ||
rename mac/ | rename mac/ | ||
- | # rename | + | # rename |
rename mac/ | rename mac/ | ||
</ | </ |
docs/tips_n_tricks/xen.html.1650876490.txt.gz · Last modified: 25.04.2022 10:48 CEST by peter