DL4300 Appliance
Managing Linux partitions
357
NOTE:
If you explicitly close it and want to open it again, see
.
2. From the command line, enter the following command and then press Enter to change privileges to run as
administrator and then list existing disk partitions:
sudo fdisk -l
A list of all volumes appears.
This example assumes the volume you want to partition is /dev/sda. If your volume is different (for example,
for older drives, you may see /dev/hda), change commands accordingly.
3. To create a new boot partition, enter the following command and then press Enter:
sudo fdisk /dev/sda
4. To create a new boot partition, enter the following command and then press Enter:
n
5. To create a new primary partition, enter the following command and then press Enter:
p
6. To specify partition number, enter the partition number and then press Enter. For example, to specify
partition 1, type 1 and then press Enter.
7. To use the first sector, 2048, press Enter.
8. Allocate an appropriate amount to the boot partition by entering the plus sign and the allocation amount and
then press Enter.
For example, to allocate 500 M for the boot partition, type the following and then press Enter:
+512000K
9. To toggle a bootable flag for the boot partition (to make the partition bootable), type the following command
and then press Enter:
a
10. To assign a bootable flag for the appropriate partition, type the number of the partition and then press
Enter. For example, to assign a bootable flag for partition 1, type 1 and then press Enter.
11. Continue partitioning your disk as needed.
12. To save all changes in the fdisk utility, type the following command and then press Enter:
w
Parent topic
Formatting partitions on the destination drive
After creating partitions on a new volume on the destination drive to perform bare metal restore, if you are not
using auto partition, you must format the partitions before they can be mounted. If this situation applies to you,
follow this procedure to format partitions in ext3, ext4, or XFS formats.
For all other scenarios, you do not need to format partitions as described in this topic.
This task is a step in
Performing a bare metal restore for Linux machines
. It is part of the process for
1. Optionally, you can use the Screen utility. This utility starts by default, and remains active until you reboot
the machine.
NOTE:
If you explicitly close it and want to open it again, see
.
2. From the command line, enter the following command and then press Enter to change privileges to run as
administrator and then list existing disk partitions:
sudo fdisk -l
A list of all volumes appears.
Содержание DL4300
Страница 1: ...DL4300 Appliance User Guide...