Ubuntu Server Guide Changes, errors and bugs
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
Notice: Make sure you really watch the sol, since the petitboot screen (above) has a time out (usually
10 or 30 seconds) and afterwards it automatically proceeds and it tries to boot from the configured devices (usually disk). This can be prevented by just navigating in petitboot. The petitboot shell is small Linux based OS: . . . 343 E x i t i n g p e t i t b o o t . Type ’ e x i t ’ t o r e t u r n . You may run ’ pb−s o s ’ t o g a t h e r d i a g n o s t i c data Notice: In case one needs to gather system details and diagnostic data for IBM support, this can be done here by running ‘pb-sos’ (see msg). • Now download the ‘live-server’ ISO image (notice that ‘focal-live-server-ppc64el.iso’ uses subiquity, ‘focal-server-s390x.iso’ uses d-i): Again for certain web locations a proxy needs to be used: / # e x p o r t http_proxy=h t t p : / / s q u i d . proxy : 3 1 2 8 # i n c a s e a proxy i s r e q u i r e d / # / # wget h t t p : / / cdimage . ubuntu . com/ ubuntu−s e r v e r / d a i l y −l i v e / c u r r e n t / f o c a l − l i v e −s e r v e r −p p c 6 4 e l . i s o Connecting t o :3128 ( :3128) f o c a l −l i v e −s e r v e r −pp 100% | . . . . . . . . . . . . . . . . . . . . | 922M 0 : 0 0 : 0 0 ETA • Next is to loop-back mount the ISO: / # mkdir i s o / # mount −o l o o p f o c a l −l i v e −s e r v e r −p p c 6 4 e l . i s o i s o Or in case autodetect of type iso9660 is not supported or not working, explicitly specify the ‘iso9660’ type: / # mount −t i s o 9 6 6 0 −o l o o p f o c a l −l i v e −s e r v e r −p p c 6 4 e l . i s o i s o • Now load kernel and initrd from the loop-back mount, specify any needed kernel parameters and get it going: / # k e x e c − l . / i s o / c a s p e r / vmlinux −−i n i t r d =./ i s o / c a s p e r / i n i t r d . gz −−append =” i p=dhcp u r l=h t t p : / / cdimage . ubuntu . com/ ubuntu−s e r v e r / d a i l y −l i v e / c u r r e n t / f o c a l −l i v e −s e r v e r −p p c 6 4 e l . i s o http_proxy=h t t p : / / s q u i d . proxy : 3 1 2 8 −−− q u i e t ” / # k e x e c −e The system i s g o i n g down NOW! Sent SIGTERM t o a l l p r o c e s s e s Sent SIGKILL t o a l l p r o c e s s e s . . . • The system now performs the initial boot of the installer: [ 1 2 0 0 . 6 8 7 0 0 4 ] kexec_core : S t a r t i n g new k e r n e l [ 1 2 7 7 . 4 9 3 8 8 3 3 7 4 , 5 ] OPAL: Switch t o big−e n d i a n OS [ 1 2 8 0 . 4 6 5 0 6 1 2 1 9 , 5 ] OPAL: Switch t o l i t t l e −e n d i a n OS l n : /tmp/ mountroot−f a i l −hooks . d// s c r i p t s / i n i t −premount / lvm2 : No such f i l e o r d i r e c t o r y I n t e r n e t Systems Consortium DHCP C l i e n t 4 . 4 . 1 Copyright 2004 −2018 I n t e r n e t Systems Consortium . A l l r i g h t s r e s e r v e d . For i n f o , p l e a s e v i s i t h t t p s : / /www. i s c . o r g / s o f t w a r e / dhcp / L i s t e n i n g on LPF/ enP2p1s0f3 /0 c : c4 : 7 a : 8 7 : 0 4 : db Sending on LPF/ enP2p1s0f3 /0 c : c4 : 7 a : 8 7 : 0 4 : db L i s t e n i n g on LPF/ enP2p1s0f2 /0 c : c4 : 7 a : 8 7 : 0 4 : da Sending on LPF/ enP2p1s0f2 /0 c : c4 : 7 a : 8 7 : 0 4 : da L i s t e n i n g on LPF/ enP2p1s0f1 /0 c : c4 : 7 a : 8 7 : 0 4 : d9 Sending on LPF/ enP2p1s0f1 /0 c : c4 : 7 a : 8 7 : 0 4 : d9 344 L i s t e n i n g on LPF/ enP2p1s0f0 /0 c : c4 : 7 a : 8 7 : 0 4 : d8 Sending on LPF/ enP2p1s0f0 /0 c : c4 : 7 a : 8 7 : 0 4 : d8 Sending on S o c k e t / f a l l b a c k DHCPDISCOVER on enP2p1s0f3 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 p o r t 67 i n t e r v a l 3 ( x i d=0x8d5704c ) DHCPDISCOVER on enP2p1s0f2 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 p o r t 67 i n t e r v a l 3 ( x i d=0x94b25b28 ) DHCPDISCOVER on enP2p1s0f1 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 p o r t 67 i n t e r v a l 3 ( x i d=0x4edd0558 ) DHCPDISCOVER on enP2p1s0f0 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 p o r t 67 i n t e r v a l 3 ( x i d=0x61c90d28 ) DHCPOFFER o f 1 0 . 2 4 5 . 7 1 . 1 0 2 from 1 0 . 2 4 5 . 7 1 . 3 DHCPREQUEST f o r 1 0 . 2 4 5 . 7 1 . 1 0 2 on enP2p1s0f0 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 p o r t 67 ( x i d=0x280dc961 ) DHCPACK o f 1 0 . 2 4 5 . 7 1 . 1 0 2 from 1 0 . 2 4 5 . 7 1 . 3 ( x i d=0x61c90d28 ) bound t o 1 0 . 2 4 5 . 7 1 . 1 0 2 −− r e n e w a l i n 236 s e c o n d s . Connecting t o 9 1 . 1 8 9 . 8 9 . 1 1 : 3 1 2 8 ( 9 1 . 1 8 9 . 8 9 . 1 1 : 3 1 2 8 ) f o c a l −l i v e −s e r v e r −pp 1% | | 1 4 . 0M 0 : 0 1 : 0 4 ETA f o c a l −l i v e −s e r v e r −pp 4% | * | 4 5 . 1M 0 : 0 0 : 3 8 ETA f o c a l −l i v e −s e r v e r −pp 8% | * * | 7 6 . 7M 0 : 0 0 : 3 3 ETA f o c a l −l i v e −s e r v e r −pp 11% | * * * | 105M 0 : 0 0 : 3 1 ETA f o c a l −l i v e −s e r v e r −pp 14% | * * * * | 133M 0 : 0 0 : 2 9 ETA f o c a l −l i v e −s e r v e r −pp 17% | * * * * * | 163M 0 : 0 0 : 2 7 ETA f o c a l −l i v e −s e r v e r −pp 20% | * * * * * * | 190M 0 : 0 0 : 2 6 ETA f o c a l −l i v e −s e r v e r −pp 24% | * * * * * * * | 222M 0 : 0 0 : 2 5 ETA f o c a l −l i v e −s e r v e r −pp 27% | * * * * * * * * | 253M 0 : 0 0 : 2 3 ETA f o c a l −l i v e −s e r v e r −pp 30% | * * * * * * * * * | 283M 0 : 0 0 : 2 2 ETA f o c a l −l i v e −s e r v e r −pp 34% | * * * * * * * * * * | 315M 0 : 0 0 : 2 1 ETA f o c a l −l i v e −s e r v e r −pp 37% | * * * * * * * * * * * | 343M 0 : 0 0 : 2 0 ETA f o c a l −l i v e −s e r v e r −pp 39% | * * * * * * * * * * * * | 367M 0 : 0 0 : 1 9 ETA f o c a l −l i v e −s e r v e r −pp 42% | * * * * * * * * * * * * * | 392M 0 : 0 0 : 1 8 ETA f o c a l −l i v e −s e r v e r −pp 45% | * * * * * * * * * * * * * * | 420M 0 : 0 0 : 1 7 ETA f o c a l −l i v e −s e r v e r −pp 48% | * * * * * * * * * * * * * * * | 451M 0 : 0 0 : 1 6 ETA f o c a l −l i v e −s e r v e r −pp 52% | * * * * * * * * * * * * * * * * | 482M 0 : 0 0 : 1 5 ETA f o c a l −l i v e −s e r v e r −pp 55% | * * * * * * * * * * * * * * * * * | 514M 0 : 0 0 : 1 4 ETA f o c a l −l i v e −s e r v e r −pp 59% | * * * * * * * * * * * * * * * * * * | 546M 345 0 : 0 0 : 1 3 ETA f o c a l −l i v e −s e r v e r −pp 62% | * * * * * * * * * * * * * * * * * * * * | 578M 0 : 0 0 : 1 1 ETA f o c a l −l i v e −s e r v e r −pp 65% | * * * * * * * * * * * * * * * * * * * * * | 607M 0 : 0 0 : 1 0 ETA f o c a l −l i v e −s e r v e r −pp 69% | * * * * * * * * * * * * * * * * * * * * * * | 637M 0 : 0 0 : 0 9 ETA f o c a l −l i v e −s e r v e r −pp 72% | * * * * * * * * * * * * * * * * * * * * * * * | 669M 0 : 0 0 : 0 8 ETA f o c a l −l i v e −s e r v e r −pp 75% | * * * * * * * * * * * * * * * * * * * * * * * * | 700M 0 : 0 0 : 0 7 ETA f o c a l −l i v e −s e r v e r −pp 79% | * * * * * * * * * * * * * * * * * * * * * * * * * | 729M 0 : 0 0 : 0 6 ETA f o c a l −l i v e −s e r v e r −pp 82% | * * * * * * * * * * * * * * * * * * * * * * * * * * | 758M 0 : 0 0 : 0 5 ETA f o c a l −l i v e −s e r v e r −pp 85% | * * * * * * * * * * * * * * * * * * * * * * * * * * * | 789M 0 : 0 0 : 0 4 ETA f o c a l −l i v e −s e r v e r −pp 88% | * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 817M 0 : 0 0 : 0 3 ETA f o c a l −l i v e −s e r v e r −pp 91% | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 842M 0 : 0 0 : 0 2 ETA f o c a l −l i v e −s e r v e r −pp 93% | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 867M 0 : 0 0 : 0 1 ETA f o c a l −l i v e −s e r v e r −pp 97% | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 897M 0 : 0 0 : 0 0 ETA f o c a l −l i v e −s e r v e r −pp 100% | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 922M 0 : 0 0 : 0 0 ETA mount : mounting /cow on / r o o t /cow f a i l e d : No such f i l e o r d i r e c t o r y Connecting t o plymouth : Connection r e f u s e d passwd : password e x p i r y i n f o r m a t i o n changed . [ 4 7 . 2 0 2 7 3 6 ] / dev / l o o p 3 : Can ’ t open b l o c k d e v [ 5 2 . 6 7 2 5 5 0 ] cloud −i n i t [ 3 7 5 9 ] : Cloud−i n i t v . 20.1−10− g 7 1 a f 4 8 d f −0ubuntu1 ru n n i n g ’ i n i t −l o c a l ’ a t Wed, 18 Mar 2020 1 5 : 1 8 : 0 7 +0000. Up 5 1 . 8 7 s e c o n d s . . . . • And you will eventually reach the initial subiquity installer screen: �������������������������������������������������������������� Willkommen ! Bienvenue ! Welcome ! ��������������� ! Welkom �������������������������������������������������������������� Use UP, DOWN and ENTER k e y s t o s e l e c t your l a n g u a g e . [ E n g l i s h � ] [ A s t u r i a n u � ] [ C a t a l à � ] [ H r v a t s k i � ] [ N e d e r l a n d s � ] [ Suomi � ] [ F r a n ç a i s � ] [ Deutsch � ] [ Ε�������� ] [ Magyar � ] 346 [ š L a t v i e u � ] [ Norsk bokmål � ] [ P o l s k i � ] [ �������� ] [ Español � ] [ ����������� ] ‘ ‘ ‘ * The r e s t i s ( s u b i q u i t y −) i n s t a l l a t i o n a s u s u a l . . . # A u t o i n s t a l l Quick S t a r t f o r s390x The i n t e n t o f t h i s page i s t o p r o v i d e s i m p l e i n s t r u c t i o n s t o perform an a u t o i n s t a l l i n a VM on your machine on s390x . This page i s j u s t a s l i g h t l y adapted page o f h t t p s : / / d i s c o u r s e . ubuntu . com/ t / d r a f t −automated−s e r v e r −i n s t a l l −q u i c k s t a r t /16614 mapped t o s390x . ## Download an ISO At t h e time o f w r i t i n g ( j u s t b e f o r e f o c a l r e l e a s e ) , t h e b e s t p l a c e t o go i s h e r e : h t t p : / / cdimage . ubuntu . com/ ubuntu / r e l e a s e s / 2 0 . 0 4 / r e l e a s e / wget h t t p : / / cdimage . ubuntu . com/ ubuntu / r e l e a s e s / 2 0 . 0 4 / r e l e a s e / ubuntu
## Mount t h e ISO mkdir −p ~/ i s o
> ## Write your a u t o i n s t a l l c o n f i g This means c r e a t i n g cloud −i n i t c o n f i g a s f o l l o w s : mkdir −p ~/www
The c r y p t e d password i s j u s t ” ubuntu ” . ## S e r v e t h e cloud −i n i t c o n f i g o v e r h t t p 347 Leave t h i s r u nn i n g i n one t e r m i n a l window : cd ~/www
This w i l l boot i n t o t h e f r e s h l y i n s t a l l e d system and you s h o u l d be a b l e t o l o g i n a s ubuntu / ubuntu . # R e p o r t i n g problems with t h e i n s t a l l e r We o f c o u r s e hope t h a t e v e r y i n s t a l l with t h e s e r v e r i n s t a l l e r s u c c e e d s . But o f c o u r s e r e a l i t y doesn ’ t always work t h a t way and t h e r e w i l l be f a i l u r e s o f v a r i o u s k i n d s . This s e c t i o n e x p l a i n s t h e most u s e f u l way t o r e p o r t them s o t h a t we can f i x t h e bugs c a u s i n g them , and we ’ l l keep t h e t o p i c up t o d a t e a s t h e i n s t a l l e r ch a n ge s . The f i r s t t h i n g t o do i s t o update your s u b i q u i t y snap . Not o n l y b e c a u s e we f i x i s s u e s t h a t c a u s e f a i l u r e s o v e r time but a l s o b e c a u s e we ’ ve been working on f e a t u r e s t o make f a i l u r e r e p o r t i n g e a s i e r . A f a i l u r e w i l l r e s u l t i n a c r a s h r e p o r t b e i n g g e n e r a t e d which b u n d l e s up a l l t h e i n f o r m a t i o n we need t o f u l l y d i a g n o s e a f a i l u r e . These l i v e i n / var / c r a s h i n t h e i n s t a l l e r environment , and f o r Ubuntu 1 9 . 1 0 and newer t h i s i s p e r s i s t e d t o t h e i n s t a l l media by d e f a u l t ( i f t h e r e i s s p a c e ) . When an e r r o r o c c u r s you a r e p r e s e n t e d with a d i a l o g which a l l o w s you t o upload t h e r e p o r t t o t h e e r r o r t r a c k e r and o f f e r s o p t i o n s f o r c o n t i n u i n g . Uploads t o t h e e r r o r t r a c k e r a r e non−i n t e r a c t i v e and anonymous , s o they a r e u s e f u l f o r t r a c k i n g which k i n d s o f e r r o r s a r e a f f e c t i n g most u s e r s , but they do not g i v e us a way t o ask you t o h e l p d i a g n o s e t h e f a i l u r e . You can c r e a t e a Launchpad bug r e p o r t , which d o e s l e t us e s t a b l i s h t h i s kind o f two way communication , based on t h e c o n t e n t s o f a c r a s h r e p o r t by u s i n g t h e s t a n d a r d ‘ apport−c l i ‘ t o o l t h a t i s p a r t o f Ubuntu . Copy t h e c r a s h r e p o r t t o a n o t h e r system , run ” apport− c l i / path / t o / r e p o r t . c r a s h ” and f o l l o w t h e prompts . You can a l s o run apport− c l i i n t h e i n s t a l l e r environment by s w i t c h i n g t o a s h e l l but a p p o r t won ’ t be a b l e t o open a b r o ws e r t o a l l o w you t o c o m p l e t e t h e r e p o r t s o you ’ l l have t o type t h e URL by hand on a n o t h e r machine . # Using a v i r t u a l CDROM and P e t i t b o o t t o s t a r t a l i v e s e r v e r i n s t a l l a t i o n on IBM Power ( p p c 6 4 e l ) There i s a l s o documentation on [ b o o t i n g t h e i n s t a l l e r o v e r t h e network ] ( h t t p s : / / ubuntu . com/ s e r v e r / d o c s / i n s t a l l / netboot −p p c 6 4 e l ) . * * N o t i c e : * Not a l l IBM Power machines come with t h e c a p a b i l i t y t o i n s t a l l v i a a v i r t u a l CDROM ! * A s e p a r a t e system ( i d e a l l y i n t h e same network , b e c a u s e o f i p m i t o o l ) i s needed t o h o s t t h e p p c 6 4 e l ISO Image f i l e , t h a t i s l a t e r used a s v i r t u a l CDROM. * Login t o t h i s s e p a r a t e h o s t and make s u r e t h a t t h e i p m i t o o l package i s i n s t a l l e d : 349 $ sudo apt install ipmitool as well as Samba: $ sudo apt install samba “‘ • Next is to setup and configure Samba: $ sudo touch / e t c /samba/smb . c o n f && sudo t e e −a / e t c /samba/smb . c o n f < path=/var / w i n s h a r e b r o w s e a b l e = y e s r e a d o n l y = no g u e s t ok = y e s EOF And do a quick verification that the required lines are in: $ t a i l −n 5 / e t c /samba/smb . c o n f [ w i n s h a r e ] path=/var / w i n s h a r e b r o w s e a b l e = y e s r e a d o n l y = no g u e s t ok = y e s • (Optional) For downloading the image you may have to use a proxy server: $ sudo touch ~ / . w g e t r c && sudo t e e −a ~ / . w g e t r c < http_proxy=s q u i d . proxy : 3 1 2 8 https_proxy=s q u i d . proxy : 3 1 2 8 EOF • The ISO image needs to be downloaded now: $ wget h t t p : / / cdimage . ubuntu . com/ ubuntu / r e l e a s e s / f o c a l / r e l e a s e / ubuntu −20.04− l i v e −s e r v e r −p p c 6 4 e l . i s o −−d i r e c t o r y −p r e f i x =/var / w i n s h a r e The proxy can also be passed over as wget argument, like this: $ wget −e use_proxy=y e s −e http_proxy=s q u i d . proxy : 3 1 2 8 h t t p : / / cdimage . ubuntu . com/ ubuntu / r e l e a s e s / f o c a l / r e l e a s e / ubuntu −20.04− l i v e −s e r v e r − p p c 6 4 e l . i s o −−d i r e c t o r y −p r e f i x =/var / w i n s h a r e • Change file mode of the ISO image file: $ sudo chmod −R 755 / var / w i n s h a r e / $ l s − l / var / w i n s h a r e / −rwxr−xr−x 1 ubuntu ubuntu 972500992 Mar 23 0 8 : 0 2 f o c a l −l i v e −s e r v e r − p p c 6 4 e l . i s o • Restart and check the Samba service: $ sudo s e r v i c e smbd r e s t a r t $ sudo s e r v i c e smbd s t a t u s � smbd . s e r v i c e − Samba SMB Daemon Loaded : l o a d e d ( / l i b / systemd / system /smbd . s e r v i c e ; e n a b l e d ; vendor p r e s e t : ena A c t i v e : a c t i v e ( r un n i ng ) s i n c e Tue 2020−02−04 1 5 : 1 7 : 1 2 UTC; 4 s ago Docs : man : smbd ( 8 ) man : samba ( 7 ) man : smb . c o n f ( 5 ) 350 Main PID : 6198 ( smbd ) S t a t u s : ”smbd : ready t o s e r v e c o n n e c t i o n s . . . ” Tasks : 4 ( l i m i t : 1 9 6 6 0 ) CGroup : / system . s l i c e /smbd . s e r v i c e �� 6198 / u s r / s b i n /smbd −−f o r e g r o u n d −−no−p r o c e s s −group�� 6214 / u s r / s b i n /smbd −−f o r e g r o u n d −−no−p r o c e s s −group�� 6215 / u s r / s b i n /smbd −−f o r e g r o u n d −−no−p r o c e s s −group�� 6220 / u s r / s b i n /smbd −−f o r e g r o u n d −−no−p r o c e s s −group Feb 04 1 5 : 1 7 : 1 2 h o s t systemd [ 1 ] : S t a r t i n g Samba SMB …Daemon Feb 04 1 5 : 1 7 : 1 2 h o s t systemd [ 1 ] : S t a r t e d Samba SMB Daemon . • Test Samba share: ubuntu@host : ~ $ s m b c l i e n t −L l o c a l h o s t WARNING: The ” s y s l o g ” o p t i o n i s d e p r e c a t e d Enter WORKGROUP\ ubuntu ’ s password : Sharename Type Comment −−−−−−−−− −−−− −−−−−−− p r i n t $ Disk P r i n t e r D r i v e r s w i n s h a r e Disk IPC$ IPC IPC S e r v i c e ( h o s t s e r v e r ( Samba , Ubuntu ) ) R e c o n n e c t i n g with SMB1 f o r workgroup l i s t i n g . S e r v e r Comment −−−−−−−−− −−−−−−− Workgroup Master −−−−−−−−− −−−−−−− WORKGROUP h o s t • Get the IP address of the Samba host: $ i p −4 − b r i e f a d d r e s s show l o UNKNOWN 1 2 7 . 0 . 0 . 1 / 8 ibmveth2 UNKNOWN 1 0 . 2 4 5 . 2 4 6 . 4 2 / 2 4 • (Optional) Even more testing if the Samba share is accessible from remote: u s e r @ w o r k s t a t i o n : ~ $ mkdir −p /tmp/ t e s t u s e r @ w o r k s t a t i o n : ~ $ sudo mount −t c i f s −o username=g u e s t , password=g u e s t / / 1 0 . 2 4 5 . 2 4 6 . 4 2 / w i n s h a r e /tmp/ t e s t / u s e r @ w o r k s t a t i o n : ~ $ l s −l a /tmp/ t e s t / t o t a l 1014784 drwxr−xr−x 2 r o o t r o o t 0 May 4 1 5 : 4 6 . drwxrwxrwt 18 r o o t r o o t 420 May 4 1 9 : 2 5 . . −rwxr−xr−x 1 r o o t r o o t 1038249984 May 3 1 9 : 3 7 ubuntu −20.04− l i v e −s e r v e r − p p c 6 4 e l . i s o • Now use a browser and navigate to the BMC of the Power system that should be installed (let’s assume the BMC’s IP address is 10.245.246.247): f i r e f o x h t t p : / / 1 0 . 2 4 5 . 2 4 6 . 2 4 7 / • Login to the BMC and find and select: Virtual Media –> CDROM • Enter the IP address of the Samba share: 10.245.246.42 and the path to the Samba share: \ w i n s h a r e \ f o c a l −l i v e −s e r v e r −p p c 6 4 e l . i s o 351 • Click Save and Mount (make sure that the virtual CDROM is really properly mounted !) CD−ROM Image : This o p t i o n a l l o w s you t o s h a r e a CD−ROM image o v e r a Windows Share with a maximum s i z e o f 4 . 7GB. This image w i l l be emulated t o t h e h o s t a s USB d e v i c e . De v ic e 1 There i s an i s o f i l e mounted . Device 2 No d i s k e m u l a t i o n s e t . Device 3 No d i s k e m u l a t i o n s e t . Share h o s t : 1 0 . 2 4 5 . 2 4 6 . 4 2 Path t o image : \ w i n s h a r e \ f o c a l −l i v e −s e r v e r −p p c 6 4 e l . i s o User ( o p t i o n a l ) : Password ( o p t i o n a l ) : • Notice: It’s important that you see a status like: Device 1 There i s an i s o f i l e mounted Only in this case the virtual CDROM is properly mounted and you will see the boot / install from CDROM entry in petitboot: [CD/DVD: s r 0 / 2020−03−23−08−02−42−00] I n s t a l l Ubuntu S e r v e r • Now use the ipmitool to boot the system into the petitboot loader: $ i p m i t o o l −I l a n p l u s −H 1 0 . 2 4 5 . 2 4 6 . 2 4 7 −U ADMIN −P power s t a t u s $ i p m i t o o l −I l a n p l u s −H 1 0 . 2 4 5 . 2 4 6 . 2 4 7 −U ADMIN −P s o l a c t i v a t e $ i p m i t o o l −I l a n p l u s −H 1 0 . 2 4 5 . 2 4 6 . 2 4 7 −U ADMIN −P power on C h a s s i s Power C o n t r o l : Up/On • And reach the Petitboot screen: P e t i t b o o t ( v1 .7.5 − p 8 f 5 f c 8 6 ) 9006−12C BOS0026��������������������������������������������� [ Network : enP2p1s0f0 / ac : 1 f : 6 b : 0 9 : c0 : 5 2 ] e x e c u t e n e t b o o t enP2p1s0f0 ( p x e l i n u x . 0 ) System i n f o r m a t i o n System c o n f i g u r a t i o n System s t a t u s l o g Language Rescan d e v i c e s R e t r i e v e c o n f i g from URL * P l u g i n s ( 0 ) E x i t t o s h e l l ��������������������������������������������� Enter=a c c e p t , e=e d i t , n=new , x=e x i t , l=language , g=l o g , h=h e l p D e f a u l t boot c a n c e l l e d 352 • And make sure that booting from CDROM is enabled: P e t i t b o o t ( v1 .7.5 − p 8 f 5 f c 8 6 ) 9006−12C BOS0026��������������������������������������������� [ Network : enP2p1s0f0 / ac : 1 f : 6 b : 0 9 : c0 : 5 2 ] Execute n e t b o o t enP2p1s0f0 ( p x e l i n u x . 0 ) [ Disk : sda2 / ebdb022b −96b2−4 f 4 f −ae63 −69300 d e d 1 3 f 4 ] Ubuntu , with Linux 5.4.0 −12 − g e n e r i c ( r e c o v e r y mode ) Ubuntu , with Linux 5.4.0 −12 − g e n e r i c Ubuntu System i n f o r m a t i o n System c o n f i g u r a t i o n System s t a t u s l o g Language Rescan d e v i c e s R e t r i e v e c o n f i g from URL * P l u g i n s ( 0 ) E x i t t o s h e l l ��������������������������������������������� Enter=a c c e p t , e=e d i t , n=new , x=e x i t , l=language , g=l o g , h=h e l p [ sda3 ] P r o c e s s i n g new Disk d e v i c e P e t i t b o o t System C o n f i g u r a t i o n ���������������������������������������������� Autoboot : ( ) D i s a b l e d ( * ) Enabled Boot Order : ( 0 ) Any CD/DVD d e v i c e ( 1 ) d i s k : sda2 [ uuid : ebdb022b −96b2−4 f 4 f −ae63 −69300 d e d 1 3 f 4 ] ( 2 ) n e t : enP2p1s0f0 [ mac : ac : 1 f : 6 b : 0 9 : c0 : 5 2 ] [ Add Dev ice ] [ C l e a r & Boot Any ] [ C l e a r ] Timeout : 30 s e c o n d s Network : ( * ) DHCP on a l l a c t i v e i n t e r f a c e s ( ) DHCP on a s p e c i f i c i n t e r f a c e ( ) S t a t i c IP c o n f i g u r a t i o n ��������������������������������������������� tab=next , s h i f t+tab=p r e v i o u s , x=e x i t , h=h e l p P e t i t b o o t System C o n f i g u r a t i o n ��������������������������������������������� Network : ( * ) DHCP on a l l a c t i v e i n t e r f a c e s 353 ( ) DHCP on a s p e c i f i c i n t e r f a c e ( ) S t a t i c IP c o n f i g u r a t i o n DNS S e r v e r ( s ) : ( eg . 1 9 2 . 1 6 8 . 0 . 2 ) ( i f not p r o v i d e d by DHCP s e r v e r ) HTTP Proxy : HTTPS Proxy : Disk R/W: ( ) Prevent a l l w r i t e s t o d i s k ( * ) Allow b o o t l o a d e r s c r i p t s t o modify d i s k s Boot c o n s o l e : ( * ) / dev / hvc0 [ IPMI / S e r i a l ] ( ) / dev / t t y 1 [VGA] Current i n t e r f a c e : / dev / hvc0 [ OK ] [ Help ] [ Cancel ] ������������������������������������������� tab=next , s h i f t+tab=p r e v i o u s , x=e x i t , h=h e l p • Now select the ‘Install Ubuntu Server’ entry below the CD/DVD entry: [CD/DVD: s r 0 / 2020−03−23−08−02−42−00] * I n s t a l l Ubuntu S e r v e r • And let Petitboot boot from the (virtual) CDROM image: Sent SIGKILL t o a l l p r o c e s s e s [ 1 1 9 . 3 5 5 3 7 1 ] kexec_core : S t a r t i n g new k e r n e l [ 1 9 4 . 4 8 3 9 4 7 3 9 4 , 5 ] OPAL: Switch t o big−e n d i a n OS [ 1 9 7 . 4 5 4 6 1 5 2 0 2 , 5 ] OPAL: Switch t o l i t t l e −e n d i a n OS • Finally the initial subiquity installer screen will show up in the console: ������������������������������������������� Willkommen ! Bienvenue ! Welcome ! ��������������� ! Welkom������������������������������������������� Use UP, DOWN and ENTER k e y s t o s e l e c t your l a n g u a g e . [ E n g l i s h � ] [ A s t u r i a n u � ] [ C a t a l à � ] [ H r v a t s k i � ] [ N e d e r l a n d s � ] [ Suomi � ] [ F r a n ç a i s � ] [ Deutsch � ] [ Ε�������� ] [ Magyar � ] [ š L a t v i e u � ] [ Norsk bokmål � ] [ P o l s k i � ] [ �������� ] [ Español � ] 354 [ ����������� ] • The rest of the installation is business as usual … Download 1.27 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling