summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2017-12-22 09:24:03 -0400
committerJoey Hess2017-12-22 09:24:03 -0400
commita0ae0cd0228536cdd6811a2c0372640a5eb91772 (patch)
tree77d6562d556d7c55d0894d24b77864360260c191
parent9313b95dfd611b6bef24916d2df4f83ee81f5ae6 (diff)
parent627aecac45dafa1a5555980971b1ace15169fe04 (diff)
Merge branch 'master' of ssh://propellor.branchable.com
-rw-r--r--doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_10_00b4f5d4fd445b8041a2744c2dd755f0._comment36
-rw-r--r--doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_11_6f691ea981679e92d7c0ae6cf1cfce6f._comment29
-rw-r--r--doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_12_8717ae3d2e60d07025a11c930cf26b84._comment8
-rw-r--r--doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_13_10b9bf6e92a80dff2c14f41c22347b3f._comment22
-rw-r--r--doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_14_d7948bf285cc4769ccd1802a1fa86eee._comment10
5 files changed, 105 insertions, 0 deletions
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_10_00b4f5d4fd445b8041a2744c2dd755f0._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_10_00b4f5d4fd445b8041a2744c2dd755f0._comment
new file mode 100644
index 00000000..e38825e1
--- /dev/null
+++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_10_00b4f5d4fd445b8041a2744c2dd755f0._comment
@@ -0,0 +1,36 @@
+[[!comment format=mdwn
+ username="gueux"
+ avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
+ subject="comment 10"
+ date="2017-12-22T10:21:28Z"
+ content="""
+Ouch, that does not seem like it was easy to debug... Thanks for looking into this!
+
+ src/Propellor/Property/Parted.hs:114:27: warning: [-Wtype-defaults]
+ • Defaulting the following constraints to type ‘Double’
+ (Show a0)
+ arising from a use of ‘show’
+ at src/Propellor/Property/Parted.hs:114:27-57
+ (Fractional a0)
+ arising from a use of ‘/’
+ at src/Propellor/Property/Parted.hs:114:33-56
+ (Num a0)
+ arising from a use of ‘fromIntegral’
+ at src/Propellor/Property/Parted.hs:114:33-46
+ • In the first argument of ‘(++)’, namely
+ ‘show (fromIntegral n / 1000000)’
+ In the expression: show (fromIntegral n / 1000000) ++ \"MB\"
+ In an equation for ‘partposfuzzy’:
+ partposfuzzy n
+ | n > 0 = show (fromIntegral n / 1000000) ++ \"MB\"
+ | otherwise = \"1MB\"
+
+I now get:
+
+ mount: /tmp/mntzZ3vjF: wrong fs type, bad option, bad superblock on /dev/mapper/loop0p2, missing codepage or helper program, or other error.
+ umount: /tmp/mntzZ3vjF: not mounted.
+ ** fatal error: failed unmounting /tmp/mntzZ3vjF
+ propellor: StopPropellorException \"Cannot continue!\"
+
+:(. I'll try to reboot, I don't get how to remove/unmount this /dev/mapper/loop0p2 (I tried \"dmsetup remove\", \"losetup -d\" without success...)
+"""]]
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_11_6f691ea981679e92d7c0ae6cf1cfce6f._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_11_6f691ea981679e92d7c0ae6cf1cfce6f._comment
new file mode 100644
index 00000000..8d39744b
--- /dev/null
+++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_11_6f691ea981679e92d7c0ae6cf1cfce6f._comment
@@ -0,0 +1,29 @@
+[[!comment format=mdwn
+ username="gueux"
+ avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
+ subject="comment 11"
+ date="2017-12-22T12:10:37Z"
+ content="""
+So, I rebooted, but I still had the /dev/mapper/loop problem. I was able to \"dmsetup remove\" these, though...
+
+I deleted router.img and router.img.parttable...
+
+ creating /srv/router.img of size 1.66 gigabytes
+ loop deleted : /dev/loop0
+ mkfs.fat 4.1 (2017-01-24)
+ loop deleted : /dev/loop0
+ 26,456,191 100% 29.82MB/s 0:00:00 (xfr#5, to-chk=0/7)
+ 770,763,841 99% 2.16MB/s 0:05:40 (xfr#26256, to-chk=0/33583)
+ update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64
+ Generating grub configuration file ...
+ Found linux image: /boot/vmlinuz-4.9.0-4-amd64
+ Found initrd image: /boot/initrd.img-4.9.0-4-amd64
+ done
+ grub-install: error: /usr/lib/grub/i386-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
+ loop deleted : /dev/loop0
+ laptop built disk image /srv/router.img ... failed
+ laptop overall ... failed
+
+
+...and I'm back to the grub-install/grub-update problem, which seems to apply to grub-efi-amd64. It's weird, because it's the version I have on my laptop, and I did not notice this issue (but I installed debian on it a long time ago, so, the bug may have appeared since then).
+"""]]
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_12_8717ae3d2e60d07025a11c930cf26b84._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_12_8717ae3d2e60d07025a11c930cf26b84._comment
new file mode 100644
index 00000000..caaa5713
--- /dev/null
+++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_12_8717ae3d2e60d07025a11c930cf26b84._comment
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="gueux"
+ avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
+ subject="comment 12"
+ date="2017-12-22T12:16:50Z"
+ content="""
+Or not? I found this one: you inverted EFI64 and EFI32 in Grub.targetParam :)
+"""]]
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_13_10b9bf6e92a80dff2c14f41c22347b3f._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_13_10b9bf6e92a80dff2c14f41c22347b3f._comment
new file mode 100644
index 00000000..6d8a33eb
--- /dev/null
+++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_13_10b9bf6e92a80dff2c14f41c22347b3f._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="gueux"
+ avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
+ subject="comment 13"
+ date="2017-12-22T12:20:57Z"
+ content="""
+ 17,514,598 66% 53.61MB/s 0:00:00 (xfr#1, to-chk=0/7)
+ 129 0% 0.06kB/s 0:00:01 (xfr#3, to-chk=0/33583)
+ update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64
+ Generating grub configuration file ...
+ Found linux image: /boot/vmlinuz-4.9.0-4-amd64
+ Found initrd image: /boot/initrd.img-4.9.0-4-amd64
+ done
+ Installing for x86_64-efi platform.
+ Installation finished. No error reported.
+ loop deleted : /dev/loop0
+ laptop built disk image /srv/router.img ... done
+ laptop overall ... done
+
+
+\o/. Let's see if it boots... I just have one try, then I'll have to move for a few days...
+"""]]
diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_14_d7948bf285cc4769ccd1802a1fa86eee._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_14_d7948bf285cc4769ccd1802a1fa86eee._comment
new file mode 100644
index 00000000..88870d0d
--- /dev/null
+++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_14_d7948bf285cc4769ccd1802a1fa86eee._comment
@@ -0,0 +1,10 @@
+[[!comment format=mdwn
+ username="gueux"
+ avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8"
+ subject="comment 14"
+ date="2017-12-22T12:44:18Z"
+ content="""
+Unfortunately it didn't... But I think it's probably a problem of choosing the right grub version. I did boot a grml64 sdcard, and I think they use hybrid bios/uefi boot. I have to investigate, let's see this in a few days :)
+
+Thanks a lot for your help!
+"""]]