Installing the LWP: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
No edit summary
 
(23 intermediate revisions by the same user not shown)
Line 4: Line 4:
If you have sudo rights, you should know where you’ve put your files. If you don’t have sudo rights, you can only place files in '''/mnt/D/''' and '''/var/tmp''' or maybe in '''/tmp''' if you never restart your PC.<br>
If you have sudo rights, you should know where you’ve put your files. If you don’t have sudo rights, you can only place files in '''/mnt/D/''' and '''/var/tmp''' or maybe in '''/tmp''' if you never restart your PC.<br>
Some of you will have extra disks in your PC, these will not be touched during the installation. If and how these extra disks are mounted differs greatly. If you have sudo rights, you can add them to the fstab yourself after the installation. Ask [mailto:lwp@rug.nl us] to add them if you don’t.<br>
Some of you will have extra disks in your PC, these will not be touched during the installation. If and how these extra disks are mounted differs greatly. If you have sudo rights, you can add them to the fstab yourself after the installation. Ask [mailto:lwp@rug.nl us] to add them if you don’t.<br>
The installation of the '''LWP''' will require '''120GB''' of disk space. A '''dual-boot''' installation will require at least '''250GB''' of disk space.<br>
The installation of the '''LWP''' will require '''80GB''' of disk space. A '''dual-boot''' installation will require at least '''250GB''' of disk space.<br>
After you've made your backups, restart your PC.<br>
After you've made your backups, restart your PC.<br>
== LWP only ==
== (re)Install the LWP ==
* At startup, press '''F12''' to boot from the network.<br>
On most systems, booting from the network is configured as default. If that is not the case on your system, you can press '''F12''' directly after you turn on your PC to boot from the network.<br>
''<needs image ipxe menu lwp>''<br>
[[File:Ipxe-lwp.jpg|thumb|none|The ipxe menu for LWP only.]]
* From the menu, choose '''Install LWP'''.<br>
* From the menu, choose '''Install LWP'''.<br>
* That's it. The rest happens automatically.<br>
* That's it. The rest happens automatically.<br>
The installation will take 30-45 minutes to finish depending on your hardware. After the installation is finished your system will automatically restart. When the LWP starts the first time, some configuration still has to be done. You will see the following screen.<br>
When it’s done the login screen will appear and you can login.<br>
[[File:First-boot.png|thumb|none|First time starting the LWP.]]
This should disappear after a few minutes (~5 minutes). When it’s done the login screen will appear and you can login.<br>
[[File:Login-screen.png|thumb|none|The LWP login screen.]]
[[File:Login-screen.png|thumb|none|The LWP login screen.]]
== Dual-boot ==
 
If only the LWP has to be (re)installed follow the procedure for '''LWP only''', but the '''Install LWP''' menu-item is in the '''Maintenance''' sub-menu.<br>
== (re)Install dual-boot UWP/LWP ==
''<needs image ipxe menu lwp-dual>''<br>
If only the LWP has to be (re)installed follow the procedure for [[#(re)Install the LWP| '''(re)Install the LWP''']], but the '''Install LWP''' menu-item is in the '''Maintenance''' sub-menu.<br>
[[File:Ipxe-dual-maintenance-select-install-lwp.jpg|thumb|none|The ipxe maintenance sub menu for dual-boot.]]
The servicedesk can help you (re)install the UWP on your machine.<br>
The servicedesk can help you (re)install the UWP on your machine.<br>
<br>
<br>
Line 24: Line 23:
== Not enough space ==
== Not enough space ==
=== LWP only ===
=== LWP only ===
If the LWP doesn’t fit the following message will appear.<br>
==== Wipe the system disk ====
[[File:Wipe-disk.png|thumb|none|Installer did not find enough free disk space.]]
First make sure you have not forgotten to backup any data on the disk.
If you’ve made backups of all your data on the disk, you can tell the installer to erase the entire disk by typing exactly “'''I am Sure, Wipe My Disk'''” and hitting the '''Enter''' key. The installer will then delete all partitions and continue as normal. If you type anything else the installer will abort without doing anything to your system and display the following message.<br>
In the network boot menu (press '''F12''' directly after turning on your PC) from the '''Maintenance''' sub-menu, select '''Parted Magic''' to start it.<br>  
[[File:Call-servicedesk.png|thumb|none|No suitable disk found. The CIT servicedesk can assist.]]
[[File:Ipxe-dual-maintenance-select-parted-magic.jpg|thumb|none|The ipxe maintenance sub menu for dual-boot.]]
We are going to create a new and empty partition table for the disk. If it didn't start automatically (it should) start '''GParted''' by opening the '''Partition editor''' program from the desktop.
[[File:Gparted-lwponly.png|thumb|none|Example partitions LWP only PC.]]
Make sure you have your system disk selected in the top right corner; It should be selected by default.
Go to '''Device''' and select '''Create Partition Table'''.
[[File:Gparted-device-createptable.png|thumb|none|Create partition table.]]
Select '''gpt''' as the new partition table type, click '''Apply''' and you're done. The disk is now completely empty and ready for a fresh installation.
 
=== Dual-boot ===
=== Dual-boot ===
==== Resize the UWP partition ====
==== Resize the UWP partition ====
If you’re familiar with resizing partitions and/or not afraid of losing anything because you make backups like your supposed to, consider resizing the UWP NTFS partition if you have enough free space there. You can use '''Parted Magic''' for this.<br>
If you’re familiar with resizing partitions and/or not afraid of losing anything because you make backups like you're supposed to, consider resizing the UWP NTFS partition if you have enough free space there. You can use '''Parted Magic''' for this.<br>
In the network boot menu (press '''F12''' directly after turning on your PC) from the '''Maintenance''' sub-menu, select '''Parted Magic''' to start it.<br>
In the network boot menu (press '''F12''' directly after turning on your PC) from the '''Maintenance''' sub-menu, select '''Parted Magic''' to start it.<br>
''<needs image ipxe menu lwp-dual maintenance>''<br>
[[File:Ipxe-dual-maintenance-select-parted-magic.jpg|thumb|none|The ipxe maintenance sub menu for dual-boot.]]
Resize the NTFS partition using '''GParted''' (which starts automatically) so you have 120GB free space to install the LWP in. The 120GB should include the current lwproot partition and the swap partition if they exist, because those are removed and the space reused.<br>
Resize the NTFS partition using '''GParted''' (should start automatically, else open the "Partition editor" program from the desktop) so you have at least 80GB of free space to install the LWP in.<br>
[[File:Gparted-dual.png|thumb|none|Example partitions dual-boot PC.]]
[[File:Gparted-dual.png|thumb|none|Example partitions dual-boot PC.]]
A more detailed explanation on Parted Magic can be found [[Parted_Magic| here]].<br>
A more detailed explanation on Parted Magic can be found [[Parted_Magic| here]].<br>
After resizing is done, restart your system and [[#LWP only| start the LWP installer]], the installation should now continue without any problems.<br>
After resizing is done, restart your system and [[#(re)Install the LWP| start the LWP installer]], the installation should now continue without any problems.<br>

Latest revision as of 16:26, 16 November 2022

Before you begin

Make a backup of your data stored on the disk of your PC, if any. You can use a usb device or your home directory. Your home directory is network storage and does not get touched during the installation.
If you have sudo rights, you should know where you’ve put your files. If you don’t have sudo rights, you can only place files in /mnt/D/ and /var/tmp or maybe in /tmp if you never restart your PC.
Some of you will have extra disks in your PC, these will not be touched during the installation. If and how these extra disks are mounted differs greatly. If you have sudo rights, you can add them to the fstab yourself after the installation. Ask us to add them if you don’t.
The installation of the LWP will require 80GB of disk space. A dual-boot installation will require at least 250GB of disk space.
After you've made your backups, restart your PC.

(re)Install the LWP

On most systems, booting from the network is configured as default. If that is not the case on your system, you can press F12 directly after you turn on your PC to boot from the network.

The ipxe menu for LWP only.
  • From the menu, choose Install LWP.
  • That's it. The rest happens automatically.

When it’s done the login screen will appear and you can login.

The LWP login screen.

(re)Install dual-boot UWP/LWP

If only the LWP has to be (re)installed follow the procedure for (re)Install the LWP, but the Install LWP menu-item is in the Maintenance sub-menu.

The ipxe maintenance sub menu for dual-boot.

The servicedesk can help you (re)install the UWP on your machine.

Note: Reinstalling the UWP will also require reinstalling the LWP. Reinstalling the LWP does not require reinstalling the UWP, as long as there is enough disk space for the LWP to fit.

Not enough space

LWP only

Wipe the system disk

First make sure you have not forgotten to backup any data on the disk. In the network boot menu (press F12 directly after turning on your PC) from the Maintenance sub-menu, select Parted Magic to start it.

The ipxe maintenance sub menu for dual-boot.

We are going to create a new and empty partition table for the disk. If it didn't start automatically (it should) start GParted by opening the Partition editor program from the desktop.

Example partitions LWP only PC.

Make sure you have your system disk selected in the top right corner; It should be selected by default. Go to Device and select Create Partition Table.

Create partition table.

Select gpt as the new partition table type, click Apply and you're done. The disk is now completely empty and ready for a fresh installation.

Dual-boot

Resize the UWP partition

If you’re familiar with resizing partitions and/or not afraid of losing anything because you make backups like you're supposed to, consider resizing the UWP NTFS partition if you have enough free space there. You can use Parted Magic for this.
In the network boot menu (press F12 directly after turning on your PC) from the Maintenance sub-menu, select Parted Magic to start it.

The ipxe maintenance sub menu for dual-boot.

Resize the NTFS partition using GParted (should start automatically, else open the "Partition editor" program from the desktop) so you have at least 80GB of free space to install the LWP in.

Example partitions dual-boot PC.

A more detailed explanation on Parted Magic can be found here.
After resizing is done, restart your system and start the LWP installer, the installation should now continue without any problems.