diff options
Diffstat (limited to 'doc')
5 files changed, 105 insertions, 0 deletions
diff --git a/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_4_e30b385d9b6a5e41809eb7b482d15e46._comment b/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_4_e30b385d9b6a5e41809eb7b482d15e46._comment new file mode 100644 index 00000000..ab320e25 --- /dev/null +++ b/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_4_e30b385d9b6a5e41809eb7b482d15e46._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="gueux" + avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8" + subject="comment 4" + date="2017-12-20T18:01:33Z" + content=""" +Should update-grub and grub-install be swapped (as I did) in Grub.bootsMounted? + + +"""]] diff --git a/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_5_2de24368d2891a5d44107ab7a858f3c1._comment b/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_5_2de24368d2891a5d44107ab7a858f3c1._comment new file mode 100644 index 00000000..08f78521 --- /dev/null +++ b/doc/forum/grub-mkconfig_incorrectly_run_by_imageBuiltFor__63__/comment_5_2de24368d2891a5d44107ab7a858f3c1._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="gueux" + avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8" + subject="comment 5" + date="2017-12-20T18:19:49Z" + content=""" +Are you preparing a patch to pass BIOS to Grub.bootsMounted and Grub.boots or do you want me to do so? +"""]] diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn b/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn new file mode 100644 index 00000000..003bc716 --- /dev/null +++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created.mdwn @@ -0,0 +1,52 @@ +I'm trying to build an image for my router, which (after all) seems to need Grub.EFI64... + +Here is my config: + + caillette = host hn $ props + & hasPartitionTableType GPT + & hasPartition + ( partition VFAT + `mountedAt` "/boot/efi" + `partLocation` Beginning + `setSize` MegaBytes 10 + `setFlag` EspFlag + ) + & hasPartition + ( partition EXT2 + `mountedAt` "/boot" + `setSize` MegaBytes 150 + ) + & hasPartition + ( partition EXT4 + `mountedAt` "/" + `partLocation` End + `addFreeSpace` MegaBytes 500 + ) + & standardSystem (Stable "stretch") X86_64 + [ "home router" ] + & Apt.installed ["linux-image-amd64"] + & serialGrub + where + serialGrub :: Property (HasInfo + DebianLike) + serialGrub = "/etc/default/grub" `File.containsLines` + [ "GRUB_CMDLINE_LINUX=\"console=ttyS0,115200n8 biosdevname=0\"" + , "GRUB_SERIAL_COMMAND=\"serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1\"" + , "GRUB_TERMINAL=serial" + ] + -- `onChange` Grub.mkConfig + `requires` Grub.installed Grub.EFI64 + `describe` "GRUB configured for PC Engines' APU2 serial console" + +When running propellor it fails with: + + ... + mkfs.fat 4.1 (2017-01-24) + loop deleted : /dev/loop0 + rsync: change_dir "/srv/router.img.chroot/boot/efi" failed: No such file or directory (2) + 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/0)rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2] + + loop deleted : /dev/loop0 + laptop built disk image /srv/router.img ... failed + laptop overall ... failed + +Shouldn't /boot/efi be automatically created? diff --git a/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_1_af7d83cf29a578901fcf9aca0ea2426b._comment b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_1_af7d83cf29a578901fcf9aca0ea2426b._comment new file mode 100644 index 00000000..e32e0870 --- /dev/null +++ b/doc/forum/imageBuiltFor_mount_points_not_automatically_created/comment_1_af7d83cf29a578901fcf9aca0ea2426b._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="gueux" + avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8" + subject="comment 1" + date="2017-12-20T19:00:54Z" + content=""" +When I add a `File.dirExists \"/boot/efi\"` property, it goes further, but fails at the end: + + 0 100% 0.00kB/s 0:00:00 (xfr#0, to-chk=0/1) + 26,454,269 100% 163.62MB/s 0:00:00 (xfr#5, to-chk=0/8) + 770,765,173 99% 53.06MB/s 0:00:13 (xfr#26256, to-chk=0/33584) + update-initramfs: Generating /boot/initrd.img-4.9.0-4-amd64 + Installing for x86_64-efi platform. + Installation finished. No error reported. + 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 + umount: /tmp/mntAMcRoY/boot/efi: not mounted. + ** fatal error: failed unmounting /tmp/mntAMcRoY/boot/efi + ** warning: /tmp/mntAMcRoY: removeDirectoryRecursive:removeContentsRecursive:removeDirectory: resource busy (Device or resource busy) + device-mapper: remove ioctl on loop0p3 failed: Device or resource busy + loop deleted : /dev/loop0 + laptop built disk image /srv/router.img ... failed + laptop overall ... failed + +"""]] diff --git a/doc/forum/parted:_invalid_token:_fat/comment_3_76fd3da6d79f4a369d01ecfad8300025._comment b/doc/forum/parted:_invalid_token:_fat/comment_3_76fd3da6d79f4a369d01ecfad8300025._comment new file mode 100644 index 00000000..0d45590a --- /dev/null +++ b/doc/forum/parted:_invalid_token:_fat/comment_3_76fd3da6d79f4a369d01ecfad8300025._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="gueux" + avatar="http://cdn.libravatar.org/avatar/2982bac2c2cd94ab3860efb189deafc8" + subject="comment 3" + date="2017-12-20T17:59:02Z" + content=""" +OK, great! +"""]] |
