Ubuntu Server Guide Changes, errors and bugs
Setting up the files for legacy boot
Download 1.27 Mb. Pdf ko'rish
|
ubuntu-server-guide
- Bu sahifa navigatsiya:
- Netbooting the live server installer on IBM Power (ppc64el) with Petitboot
Setting up the files for legacy boot
1. Download pxelinux.0 and put it into place: # wget h t t p : / / a r c h i v e . ubuntu . com/ ubuntu / d i s t s / eoan /main/ i n s t a l l e r −amd64/ c u r r e n t / images / n e t b o o t / ubuntu− i n s t a l l e r /amd64/ p x e l i n u x . 0 # mkdir −p / s r v / t f t p # mv p x e l i n u x . 0 / s r v / t f t p / 2. Make sure to have installed package syslinux−common and then: # cp / u s r / l i b / s y s l i n u x / modules / b i o s / l d l i n u x . c32 / s r v / t f t p / 3. Create /srv/tftp/pxelinux.cfg/default containing: DEFAULT i n s t a l l LABEL i n s t a l l KERNEL vmlinuz INITRD i n i t r d APPEND r o o t=/dev /ram0 r a m d i s k _ s i z e =1500000 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 −amd64 . i s o As you can see, this downloads the ISO from Ubuntu’s servers. You may well want to host it somewhere on your infrastructure and change the url to match. 341 This configuration is obviously very simple. PXELINUX has many, many options, and you can consult its documentation at https://wiki.syslinux.org/wiki/index.php?title=PXELINUX for more. Netbooting the live server installer on IBM Power (ppc64el) with Petitboot • Open a terminal window on your workstation and make sure the ‘ipmitool’ package is installed. • Verify if you can reach the BMC of the IBM Power system via ipmitool with a simple ipmitool call like: $ i p m i t o o l −I l a n p l u s −H Power9Box −U −P power s t a t u s C h a s s i s Power i s o f f or: $ i p m i t o o l −I l a n p l u s −H Power9Box −U −P f r u p r i n t 47 Product Name : OpenPOWER Firmware Product V e r s i o n : open−power−SUPERMICRO−P9DSU−V2.12 −20190404 − prod Product Extra : op−b u i l d −1b9269e Product Extra : b u i l d r o o t −2018.11.3 −12 − g222837a Product Extra : s k i b o o t −v6 . 0 . 1 9 Product Extra : h o s t b o o t −c00d44a−pb1307d7 Product Extra : occ −8f a 3 8 5 4 Product Extra : l i n u x −4.19.30 − openpower1−p22d1df8 Product Extra : p e t i t b o o t −v1 .7.5 − p 8 f 5 f c 8 6 or: $ i p m i t o o l −I l a n p l u s −H Power9Box −U −P s o l i n f o S e t i n p r o g r e s s : s e t −c o m p l e t e Enabled : t r u e Force E n c r y p t i o n : f a l s e Force A u t h e n t i c a t i o n : f a l s e P r i v i l e g e L e v e l : OPERATOR C h a r a c t e r Accumulate L e v e l (ms) : 0 C h a r a c t e r Send Th res ho l d : 0 Retry Count : 0 Retry I n t e r v a l (ms) : 0 V o l a t i l e B i t Rate ( kbps ) : 1 1 5 . 2 Non−V o l a t i l e B i t Rate ( kbps ) : 1 1 5 . 2 Payload Channel : 1 ( 0 x01 ) Payload Port : 623 • Open a second terminal and activate serial-over-LAN (sol), so that you have two terminal windows open: 1) to control the BMC via IPMI 2) for the serial-over-LAN console • Activate serial-over-LAN: $ i p m i t o o l −I l a n p l u s −H Power9Box −U −P s o l a c t i v a t e . . . • And power the system on in the ‘control terminal’ and watch the sol console: $ i p m i t o o l −I l a n p l u s −H Power9Box −U −P power on . . . It takes some time to see the first lines in the sol console: 342 [ SOL S e s s i o n o p e r a t i o n a l . Use ~? f o r h e l p ] −−== Welcome t o Hostboot ==−− 2 . 7 7 1 3 1 | s e c u r e | SecureROM v a l i d − e n a b l i n g f u n c t i o n a l i t y 3 . 1 5 8 6 0 | s e c u r e | Booting i n s e c u r e mode . 5 . 5 9 6 8 4 | Booting from SBE s i d e 0 on master p r o c =00050000 5 . 6 0 5 0 2 | ISTEP 6 . 5 − h o s t _ i n i t _ f s i 5 . 8 7 2 2 8 | ISTEP 6 . 6 − host_set_ipl_parms 6 . 1 1 0 3 2 | ISTEP 6 . 7 − h o s t _ d i s c o v e r _ t a r g e t s 6 . 6 7 8 6 8 |HWAS|PRESENT> DIMM[ 0 3 ] = A0A0000000000000 6 . 6 7 8 7 0 |HWAS|PRESENT> Proc [ 0 5 ] = 8 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 . 6 7 8 7 1 |HWAS|PRESENT> Core [ 0 7 ] = 3 FFF0C33FFC30000 6 . 9 8 9 8 8 | ISTEP 6 . 8 − host_update_master_tpm 7 . 2 2 7 1 1 |SECURE| S e c u r i t y A c c e s s Bit> 0 xC000000000000000 7 . 2 2 7 1 1 |SECURE| S e c u r e Mode D i s a b l e ( v i a Jumper )> 0 x0000000000000000 7 . 2 2 7 3 1 | ISTEP 6 . 9 − host_gard 7 . 4 3 3 5 3 |HWAS|FUNCTIONAL> DIMM[ 0 3 ] = A0A0000000000000 7 . 4 3 3 5 4 |HWAS|FUNCTIONAL> Proc [ 0 5 ] = 8 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 . 4 3 3 5 6 |HWAS|FUNCTIONAL> Core [ 0 7 ] = 3 FFF0C33FFC30000 7 . 4 4 5 0 9 | ISTEP 6 . 1 0 − host_revert_sbe_mcs_setup… • After a moment the system reaches the Petitboot screen: P e t i t b o o t ( v1 .7.5 − p 8 f 5 f c 8 6 ) 9006−12P 1302NXA������������������������������������������������� [ Network : enP2p1s0f0 / 0 c : c4 : 7 a : 8 7 : 0 4 : d8 ] Execute n e t b o o t enP2p1s0f0 ( p x e l i n u x . 0 ) [CD/DVD: s r 0 / 2019−10−17−13−35−12−00] I n s t a l l Ubuntu S e r v e r [ Disk : sda2 / 295 f571b−b731−4ebb−b752 −60 a a d c 8 0 f c 1 b ] Ubuntu , with Linux 5.4.0 −14 − g e n e r i c ( r e c o v e r y mode ) Ubuntu , with Linux 5.4.0 −14 − 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 Select ‘*Exit to shell’ 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