Installing the LWP: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(40 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:install-faq]]
[[Category:install-faq]]
== Before you begin ==
== Before you begin ==
Make a backup of any locally stored data you wish to keep to a usb device or your home directory. Your home directory is network storage and does not get touched during the installation.
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.<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>
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>
== (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.<br>
[[File:Ipxe-lwp.jpg|thumb|none|The ipxe menu for LWP only.]]
* From the menu, choose '''Install LWP'''.<br>
* That's it. The rest happens automatically.<br>
When it’s done the login screen will appear and you can login.<br>
[[File:Login-screen.png|thumb|none|The LWP login screen.]]


If you have sudo rights, you should know where you’ve put your files. If you don’t have sudo rights, you can only have placed 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 [mailto:lwp@rug.nl us] to add them if you don’t.
== (re)Install dual-boot UWP/LWP ==
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>
<br>
''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.''<br>


The installation of the LWP will require 120GB of disk space. A dual-boot installation will require at least 250GB of disk space.
== 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.<br>
[[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.


After you've made your backups, restart your PC.
=== Dual-boot ===
== LWP only ==
==== Resize the UWP partition ====
At startup, press '''F1'''2 to boot from the network.
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>
From the menu, choose '''Install LWP'''.
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>
<insert plaatje ipxe menu lwp>
[[File:Ipxe-dual-maintenance-select-parted-magic.jpg|thumb|none|The ipxe maintenance sub menu for dual-boot.]]
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.
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:First-boot.png|640*480px|frameless|left|First time starting the LWP.]]
[[File:Gparted-dual.png|thumb|none|Example partitions dual-boot PC.]]
This should disappear after a few minutes (~5 minutes). When it’s done the login screen will appear and you can login.
A more detailed explanation on Parted Magic can be found [[Parted_Magic| here]].<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.