Skip to content

Installation fails: Mountpoint /mnt/media/RPMS doesn't exist #1050

@JanHolger

Description

@JanHolger

I've tried to install photon on a baremetal qemu vm in proxmox but it fails over and over even with different and older iso's. Am i missing something or is this an issue of the install script? I've also set up a dhcp lease to make sure that it's not missing a network connection but this didn't fix it either.

/var/log/installer.log:

2020-10-05 22:21:37,680 - Starting Log
2020-10-05 22:21:37,680 - ---------------------------------------------------------------------------
2020-10-05 22:22:38,088 - ['sgdisk', '-o', '-g', '/dev/sda']
2020-10-05 22:22:39,131 - Creating new GPT entries in memory.
The operation has completed successfully.

2020-10-05 22:22:39,131 - ['sgdisk', '-n1::+4M', '-t1:ef02', '-n2::+10M', '-t2:ef00', '-n3', '-t3:8300', '-p', '/dev/sda']
2020-10-05 22:22:40,149 - Disk /dev/sda: 20971520 sectors, 10.0 GiB
Model: QEMU HARDDISK   
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 3CD780AB-67A6-4F2E-9445-87B48CC01344
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048           10239   4.0 MiB     EF02  
   2           10240           30719   10.0 MiB    EF00  
   3           30720        20971486   10.0 GiB    8300  
The operation has completed successfully.

2020-10-05 22:22:40,149 - [{'size': 4, 'filesystem': 'bios', 'path': '/dev/sda1'}, {'mountpoint': '/', 'size': 0, 'filesystem': 'ext4', 'path': '/dev/sda3'}, {'size': 10, 'filesystem': 'vfat', 'mountpoint': '/boot/efi', 'path': '/dev/sda2'}]
2020-10-05 22:22:40,149 - ['mkfs', '-t', 'ext4', '/dev/sda3']
2020-10-05 22:22:40,511 - Discarding device blocks:    4096/2617595���������������               ���������������done                            
Creating filesystem with 2617595 4k blocks and 655360 inodes
Filesystem UUID: e521e0dc-6ad7-4fa3-be6b-64d566552ae4
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables:  0/80�����     �����done                            
Writing inode tables:  0/80�����     �����done                            
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information:  0/80�����     �����done


2020-10-05 22:22:40,512 - ['mkfs', '-t', 'vfat', '/dev/sda2']
2020-10-05 22:22:40,524 - mkfs.fat 4.1 (2017-01-24)

2020-10-05 22:22:40,525 - ['mkdir', '-p', '/mnt/photon-root/photon-chroot/']
2020-10-05 22:22:40,535 - ['mount', '-v', '/dev/sda3', '/mnt/photon-root/photon-chroot/']
2020-10-05 22:22:40,561 - mount: /dev/sda3 mounted on /mnt/photon-root/photon-chroot.

2020-10-05 22:22:40,562 - ['mkdir', '-p', '/mnt/photon-root/photon-chroot/boot/efi']
2020-10-05 22:22:40,566 - ['mount', '-v', '/dev/sda2', '/mnt/photon-root/photon-chroot/boot/efi']
2020-10-05 22:22:40,589 - mount: /dev/sda2 mounted on /mnt/photon-root/photon-chroot/boot/efi.

2020-10-05 22:22:40,590 - ['mkdir', '-p', '/mnt/photon-root/photon-chroot/installer']
2020-10-05 22:22:40,593 - ['mount', '--bind', '/installer', '/mnt/photon-root/photon-chroot/installer']
2020-10-05 22:22:40,602 - ['mkdir', '-p', '/mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms']
2020-10-05 22:22:40,605 - ['mount', '--bind', '/mnt/media/RPMS', '/mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms']
2020-10-05 22:22:40,608 - Command failed: ['mount', '--bind', '/mnt/media/RPMS', '/mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms']
2020-10-05 22:22:40,608 - Error code: 32
2020-10-05 22:22:40,608 - mount: /mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms: special device /mnt/media/RPMS does not exist.

2020-10-05 22:22:40,608 - Fail to bind cache rpms
2020-10-05 22:22:42,068 - ['umount', '/mnt/photon-root/photon-chroot/installer']
2020-10-05 22:22:42,075 - ['rm', '-rf', '/mnt/photon-root/photon-chroot/installer']
2020-10-05 22:22:42,078 - ['umount', '/mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms']
2020-10-05 22:22:42,080 - Command failed: ['umount', '/mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms']
2020-10-05 22:22:42,081 - Error code: 32
2020-10-05 22:22:42,081 - umount: /mnt/photon-root/photon-chroot/cache/tdnf/photon-local/rpms: not mounted.

2020-10-05 22:22:42,081 - Fail to unbind cache rpms
2020-10-05 22:22:42,081 - ['rm', '-rf', '/mnt/photon-root/photon-chroot/cache']
2020-10-05 22:22:42,083 - ['umount', '-l', '/mnt/photon-root/photon-chroot/boot/efi']
2020-10-05 22:22:42,089 - ['umount', '-l', '/mnt/photon-root/photon-chroot/']
2020-10-05 22:22:42,162 - ['sync']```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions