Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ubuntu 20.04 Essentials

You're reading from   Ubuntu 20.04 Essentials A guide to Ubuntu 20.04 desktop and server editions

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781800568525
Length 328 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Neil Smyth Neil Smyth
Author Profile Icon Neil Smyth
Neil Smyth
Arrow right icon
View More author details
Toc

Table of Contents (38) Chapters Close

1. Introduction 2. A Brief History of Linux FREE CHAPTER 3. Installing Ubuntu on a Clean Disk Drive 4. Installing Ubuntu with the Network Installer 5. Dual Booting Ubuntu with Windows 6. Allocating Windows Disk Partitions to Ubuntu 7. A Guided Tour of the GNOME 3 Desktop 8. An Overview of the Ubuntu Cockpit Web Interface 9. Using the Bash Shell on Ubuntu 10. Managing Ubuntu Users and Groups 11. Managing Ubuntu systemd Units 12. Ubuntu Software Package Management and Updates 13. Ubuntu Snap Package Management 14. Ubuntu Network Management 15. Ubuntu Firewall Basics 16. Using gufw and ufw to Configure an Ubuntu Firewall 17. Basic Ubuntu Firewall Configuration with firewalld 18. Configuring SSH Key-based Authentication on Ubuntu 19. Ubuntu Remote Desktop Access with Vino 20. Ubuntu Remote Desktop Access with VNC 21. Displaying Ubuntu Applications Remotely (X11 Forwarding) 22. Using NFS to Share Ubuntu Files with Remote Systems 23. Sharing Files between Ubuntu and Windows Systems with Samba 24. An Overview of Virtualization Techniques 25. Installing KVM Virtualization on Ubuntu 26. Creating KVM Virtual Machines using Cockpit and virt-manager 27. Creating KVM Virtual Machines with virt-install and virsh 28. Creating an Ubuntu KVM Networked Bridge Interface 29. Managing KVM using the virsh Command-Line Tool 30. An Introduction to Linux Containers 31. Working with Containers on Ubuntu 32. Setting Up an Ubuntu Web Server 33. Configuring an Ubuntu Postfix Email Server 34. Adding a New Disk Drive to an Ubuntu System 35. Adding a New Disk to an Ubuntu Volume Group and Logical Volume 36. Adding and Managing Ubuntu Swap Space 37. Ubuntu System and Process Monitoring Index

6.2 Deleting the Windows Partitions from the Disk

The first step in freeing up the Windows partition for use by Ubuntu is to delete that partition. Before doing so, however, it is imperative that any data you need to keep is backed up from both the Windows and Ubuntu partitions. Having done that, it is safe to proceed with this chapter.

In order to remove the Windows partitions we first need to identify the disk on which they reside using the fdisk tool:

# fdisk -l

Disk /dev/loop0: 3.7 MiB, 3862528 bytes, 7544 sectors

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

.

.

Device Boot Start End Sectors Size Id Type

/dev/sda1 * 2048 1187839 1185792 579M 7 HPFS/NTFS/exFAT

/dev/sda2 1187840 59770533 58582694 28G 7 HPFS/NTFS/exFAT

/dev/sda3 59770878 104855551 45084674 21.5G 5 Extended

/dev/sda5 59770880 104855551...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime