Hello Chris,
I understand that I wasn't very clear, so I'm going
to explain step by step everything I did (I skipped
very few steps). You may want to check the list of
problems and the final notes I wrote at the end as
they may be more helpful in categorizing the bugs I
found than the rest of this post.
Sincerely,
Grégoire Roumache
1. I created a virtual machine (VM) on Virtual Box, with a 20 Gio virtual
hard drive.
2. After inserting the debian .iso file in the optical drive, I started the
machine.
3. In the "Debian GNU/Linux installer menu (BIOS mode)", I selected the
"Install" option,
not the "Graphical install" option.
4. I selected the following options:
- Language: English
- Country: United States
- Keymap: Belgian
- Hostname: debian
- Domain name: (left empty)
- Time zone: Eastern
- Partitioning method: Manual
5. In the "Partition disks", I selected the hard drive:
"SCSI2 (0,0,0) (sda) - 21.5 GB ATA VBOX HARDDISK".
6. At the question "Create new empty partition table on this device?", I
selected "Yes".
7. I selected the "pri/log 21.5 GB FREE SPACE" option, then I selected the
following options:
- How to use this free space: Create a new partition
- New partition size: 256 MB
- Type for the new partition: Primary
- Location for the new partition: Beginning
- Mount point: /boot
- Bootable flag: on
Then I selected "Done setting up the partition"
8. I selected the "pri/log 21.2 GB FREE SPACE" option, then:
- How to use this free space: Create a new partition
- New partition size: 1 GB
- Type for the new partition: Primary
- Location for the new partition: Beginning
- Use as: swap area
9. I selected the "pri/log 20.2 GB FREE SPACE" option, then:
- How to use this free space: Create a new partition
- New partition size: 10 GB
- Type for the new partition: Primary
- Location for the new partition: End (/!\ this is important)
- Mount point: /
10. I selected the "pri/log 10.2 GB FREE SPACE" option, then:
- How to use this free space: Create a new partition
- New partition size: 2 GB
- Type for the new partition: Logical
- Location for the new partition: Beginning
- Mount point: /home
11. I selected the "pri/log 8.2 GB FREE SPACE" option, then:
- How to use this free space: Create a new partition
- New partition size: 2 GB
- Location for the new partition: Beginning
- Mount point: /tmp
Note: it doesn't ask for the type of the new partition as it can only be:
Logical.
The partitions' list should now be:
#1 primary 254.8 MB B f ext4 /boot
#2 primary 1.0 GB f swap swap
#5 logical 2.0 GB f ext4 /home
#6 logical 2.0 GB f ext4 /tmp
logical 6.2 GB FREE SPACE
#3 primary 10.0 GB f ext4 /
12. Select "Finish partitioning and write change to disk", then confirm.
13. At "Software selection", select only "standard system utilities".
14. Install the GRUB loader to the master boot record on: /dev/sda.
15. The installation is now over, so let's check the partitions:
# fdisk -l
Disk /dev/sda: 20 GiB, 21474836480 bytes, 41943040 sectors
Disk model: VBOX HARDDISK
...
Disklabel type: dos
Disk identifier: 0xe76778c5
DeviceBootStart End Sectors Size Id Type
/dev/sda1 *2048 499711 497664 243M 83 Linux
/dev/sda2499712 2453503 1953792 954M 82 Linux swap / Solaris
/dev/sda3 22411264 41940991 19529728 9.3G 83 Linux
/dev/sda4 240 10264575 7809026 3.7G 5 Extended
/dev/sda5 242 6359039 3903488 1.9G 83 Linux
/dev/sda6 6361088 10264575 3903488 1.9G 83 Linux
# cfdisk
Disk: /dev/sda
Size: 20 GiB, 21474836480 bytes, 41943040 sectors
Label: dos, identifier: 0xe76778c5
Device BootStart End Sectors Size Id Type
/dev/sda1*2048 499711 497664 243M 83 Linux
/dev/sda2 499712 2453503 1953792 954M 82 Linux swap / Solaris
/dev/sda3 22411264 41940991 19529728 9.3G 83 Linux
/dev/sda4 240 10264575 7809026 3.7G 5 Extended
|- /dev/sda5 242 6359039 3903488 1.9G 83 Linux
|- /dev/sda6 6361088 10264575 3903488 1.9G 83 Linux
FREE SPACE10264576 22411263 12146688 5.8G
# parted --list
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 21.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start EndSize Type File systemFlags
1 1049kB 256MB 255MB primary ext4 boot
2 256MB 1256MB 1000MB primary linux-swap(v1)
4 1257MB 5255MB 3998MB extended
5 1257MB 3256MB 1999MB logical ext4
6 3257MB 5255MB 1999MB logical ext4
3 11.5GB 21.5GB MB primary ext4
16. At this point, I shut down my machine to duplicate it. The goal is
to check whether the problem would still appear with fdisk or parted.
With cfdisk:
1. I sorted the partitions, note that there's 15.1 G of free space in sda4
eventhough