Skip to content

Instantly share code, notes, and snippets.

@hphilm
Last active August 29, 2015 14:16
Show Gist options
  • Save hphilm/28c448868fda8a84207f to your computer and use it in GitHub Desktop.
Save hphilm/28c448868fda8a84207f to your computer and use it in GitHub Desktop.
Calamares 1.0.1.12: umountall module umounts all mounts after crash
[manjaro@manjaro ~]$ sudo pacman -U http://sourceforge.net/projects/manjarodev/files/users/philm/calamares/calamares-1.0.1.12-1-x86_64.pkg.tar.xz
calamares-1.0.1.12-... 2.2 MiB 2.05M/s 00:01 [######################] 100%
calamares-1.0.1.12-... 287.0 B 0.00B/s 00:00 [######################] 100%
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) calamares-1.0.1.12-1
Total Installed Size: 4.84 MiB
Net Upgrade Size: 0.68 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
(1/1) loading package files [######################] 100%
(1/1) checking for file conflicts [######################] 100%
(1/1) upgrading calamares [######################] 100%
[manjaro@manjaro ~]$ pacman -Qi calamares
Name : calamares
Version : 1.0.1.12-1
Description : Distribution-independent installer framework
Architecture : x86_64
URL : https://github.com/calamares
Licenses : LGPL
Groups : None
Provides : None
Depends On : kconfig kcoreaddons ki18n solid yaml-cpp parted boost
hwinfo qt5-svg polkit-qt5
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 4.84 MiB
Packager : Philip Müller <[email protected]>
Build Date : Fri 27 Feb 2015 07:57:57 PM UTC
Install Date : Fri 27 Feb 2015 08:27:23 PM UTC
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
[manjaro@manjaro ~]$ cat /etc/mtab
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
sys /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
dev /dev devtmpfs rw,nosuid,relatime,size=1018244k,nr_inodes=254561,mode=755 0 0
run /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
union / aufs rw,relatime,si=15f34c781204c3bb 0 0
/dev/sr0 /bootmnt iso9660 ro,noatime 0 0
securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,mode=755 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd 0 0
pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/bfqio cgroup rw,nosuid,nodev,noexec,relatime,bfqio 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls cgroup rw,nosuid,nodev,noexec,relatime,net_cls 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /tmp tmpfs rw 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
tmpfs /etc/pacman.d/gnupg tmpfs rw,relatime,mode=755 0 0
tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=205400k,mode=700,uid=1000,gid=100 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
gvfsd-fuse /run/user/1000/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0
/dev/sda1 /tmp/calamares-root-7azw6pwf ext4 rw,relatime,data=ordered 0 0
proc /tmp/calamares-root-7azw6pwf/proc proc rw,relatime 0 0
sys /tmp/calamares-root-7azw6pwf/sys sysfs rw,relatime 0 0
dev /tmp/calamares-root-7azw6pwf/dev devtmpfs rw,nosuid,relatime,size=1018244k,nr_inodes=254561,mode=755 0 0
tmpfs /tmp/calamares-root-7azw6pwf/run tmpfs rw,relatime 0 0
[manjaro@manjaro ~]$ sudo calamares -d
(calamares:4895): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(calamares:4895): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Translation: Calamares: Using system locale: "en_US"
Translation: Qt: Using default locale, system locale one not found: "en_US"
20:28:12 [1]: Default font =====
Pixel size: -1
Point size: 10
Point sizeF: 10
Font family: "Cantarell"
Metric height: 18
20:28:12 [1]: Font height: 18
20:28:12 [1]: Available languages: ("ar", "ast", "ca", "cs_CZ", "da", "de", "en", "es_MX", "es", "fi_FI", "fr", "hr", "hu", "id", "it_IT", "ja", "lt", "nl", "pl", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl", "sv", "tr_TR", "zh_CN", "zh_TW")
20:28:12 [1]: CalamaresApplication thread: 0x1103dc0
20:28:12 [1]: Using Calamares settings file at "/usr/share/calamares/settings.conf"
20:28:12 [1]: Using Calamares branding file at "/usr/share/calamares/branding/manjaro/branding.desc"
20:28:12 [1]: Loaded branding component "manjaro"
20:28:12 [1]: Loading module.desc for "bootloader"
20:28:12 [1]: Loading module.desc for "displaymanager"
20:28:12 [1]: Loading module.desc for "dracut"
20:28:12 [1]: Loading module.desc for "finished"
20:28:12 [1]: Loading module.desc for "fstab"
20:28:12 [1]: Loading module.desc for "greeting"
20:28:12 [1]: Loading module.desc for "grubcfg"
20:28:12 [1]: Loading module.desc for "hardwarecfg"
20:28:12 [1]: Loading module.desc for "hwclock"
20:28:12 [1]: Loading module.desc for "initcpio"
20:28:12 [1]: Loading module.desc for "initcpiocfg"
20:28:12 [1]: Loading module.desc for "initramfs"
20:28:12 [1]: Loading module.desc for "keyboard"
20:28:12 [1]: Loading module.desc for "locale"
20:28:12 [1]: Loading module.desc for "localecfg"
20:28:12 [1]: Loading module.desc for "localegen"
20:28:12 [1]: Loading module.desc for "machineid"
20:28:12 [1]: Loading module.desc for "mount"
20:28:12 [1]: Loading module.desc for "networkcfg"
20:28:12 [1]: Loading module.desc for "packages"
20:28:12 [1]: Loading module.desc for "partition"
20:28:12 [1]: Loading module.desc for "postcfg"
20:28:12 [1]: Loading module.desc for "prepare"
20:28:12 [1]: Loading module.desc for "removeuser"
20:28:12 [1]: Loading module.desc for "services"
20:28:12 [1]: Loading module.desc for "summary"
20:28:12 [1]: Loading module.desc for "umount"
20:28:12 [1]: Loading module.desc for "umountall"
20:28:12 [1]: Loading module.desc for "unpackfs"
20:28:12 [1]: Loading module.desc for "users"
20:28:12 [1]: Proposed window size: 1024 648
libGL error: pci id for fd 13: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
20:28:13 [1]: QML import paths: ("/usr/share/calamares/qml", "/usr/bin", "/usr/lib/qt/qml")
20:28:13 [1]: Initial locale "en_US"
20:28:13 [8]: Translation: Calamares: Using system locale: "en_US"
20:28:13 [8]: Translation: Qt: Using default locale, system locale one not found: "en_US"
No layout variant specified on the command line
Trailing -variant option ignored
20:28:15 [1]: xkbmap selection changed to: "us" - ""
20:28:17 [8]: getting smart status failed for "/dev/sda" : Operation not supported
20:28:17 [8]: getting smart status failed for "/dev/sr0" : Operation not supported
20:28:17 [0]: QFileInfo::absolutePath: Constructed with empty filename
20:28:17 [1]: Need at least storage bytes: 5905580032
20:28:17 [1]: Need at least ram bytes: 1073741824
20:28:17 [1]: enoughStorage, enoughRam, hasPower, hasInternet: true true true true
20:28:18 [1]: checking if "/dev/sda1" can be resized.
20:28:18 [1]: "/dev/sda1" seems like a good path
20:28:18 [1]: Partition "/dev/sda1" CANNOT BE RESIZED FOR AUTOINSTALL.
20:28:18 [1]: "Osprober lines, clean:
/dev/sda1:Manjaro Linux (0.9.0-dev):ManjaroLinux:linux"
20:28:26 [1]: Choice applied: 2
20:28:27 [1]: CreatePartitionTableJob::createTable trying to make table for device "/dev/sda"
20:28:27 [0]: QCoreApplication::postEvent: Unexpected null receiver
20:28:27 [8]: getting smart status failed for "/dev/sda" : Operation not supported
20:28:27 [1]: # Queue:
20:28:27 [1]: ## Device: "ATA VBOX HARDDISK"
20:28:27 [1]: - "Create partition table"
20:28:27 [1]: - "Create partition (file system: ext4, size: 8188 MB) on ATA VBOX HARDDISK."
20:28:27 [1]: ## Device: "VBOX CD-ROM"
20:28:34 [8]: getting smart status failed for "/dev/sda" : Operation not supported
20:28:37 [1]: Module "partition" already loaded.
20:28:37 [1]: Module "locale" already loaded.
20:28:37 [1]: Module "keyboard" already loaded.
20:28:37 [1]: Module "users" already loaded.
20:28:37 [1]: PartitionCodeModule has been asked for jobs. About to return: "Clear all temporary mounts.
Clear mounts for partitioning operations on /dev/sda
Create partition table
Create partition (file system: ext4, size: 8188 MB) on ATA VBOX HARDDISK.
Set partition information"
20:28:37 [0]: Starting job "Clear all temporary mounts."
20:28:37 [1]: Opened mtab. Lines:
20:28:37 [1]: ClearTempMountsJob finished. Here's what was done:
""
20:28:37 [0]: Starting job "Clear mounts for partitioning operations on /dev/sda"
20:28:37 [1]: ClearMountsJob finished. Here's what was done:
""
20:28:37 [0]: Starting job "Create partition table"
20:28:37 [1]: CreatePartitionTableJob::createTable trying to make table for device "/dev/sda"
20:28:37 [1]: Creating new partition table of type "msdos" , uncommitted yet:
true
20:28:37 [1]: lsblk:
"NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 8G 0 disk
└─sda1 8:1 0 8G 0 part /tmp/calamares-root-7azw6pwf
sr0 11:0 1 712M 0 rom /bootmnt
loop0 7:0 0 24.1M 1 loop
loop1 7:1 0 120.6M 1 loop
loop2 7:2 0 234M 1 loop
loop3 7:3 0 277.3M 1 loop
"
20:28:37 [1]: mount:
"proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1018244k,nr_inodes=254561,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
union on / type aufs (rw,relatime,si=15f34c781204c3bb)
/dev/sr0 on /bootmnt type iso9660 (ro,noatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=205400k,mode=700,uid=1000,gid=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
/dev/sda1 on /tmp/calamares-root-7azw6pwf type ext4 (rw,relatime,data=ordered)
proc on /tmp/calamares-root-7azw6pwf/proc type proc (rw,relatime)
sys on /tmp/calamares-root-7azw6pwf/sys type sysfs (rw,relatime)
dev on /tmp/calamares-root-7azw6pwf/dev type devtmpfs (rw,nosuid,relatime,size=1018244k,nr_inodes=254561,mode=755)
tmpfs on /tmp/calamares-root-7azw6pwf/run type tmpfs (rw,relatime)
"
20:28:41 [0]: Installation failed:
20:28:41 [0]: - message: "The installer failed to create a partition table on ATA VBOX HARDDISK."
20:28:41 [0]: - details: "Text:
Command:
Output:
Status: "
20:28:47 [8]: Shutting down Calamares...
20:28:47 [8]: Finished shutdown.
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
20:28:47 [0]: QBasicTimer::start: QBasicTimer can only be used with threads started with QThread
[manjaro@manjaro ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment