[Bug 1630017] Re: Ubuntu 16.10 installation with root as JFS file system fails

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Tue Oct 4 14:01:36 UTC 2016


Oh, indeed. I hadn't seen it initially.

sdj1 shouldn't have any kind of particular filesystem, so I'm not sure
what grub-install is trying to check there (I will look in the code
now), or if it's directly because the root is formatted in jfs.

In the meantime, when this fails could you try running the following
command in a shell? You can access the shell from the debian-installer
main menu after the failure.

chroot /target grub-install  -v --force "/dev/sdj1"

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-prep in Ubuntu.
https://bugs.launchpad.net/bugs/1630017

Title:
  Ubuntu 16.10 installation with root as JFS file system fails

Status in partman-prep package in Ubuntu:
  Incomplete

Bug description:
  ---Problem Description---
  Ubuntu 16.10 installation with root as JFS file system fails.

  ---Boot type---
  Net boot

  Machine Type = Power8

  ---Steps---

   From petitboot menu pass kick off installation of Ubuntu 16.10

  kernel-->http://ports.ubuntu.com/ubuntu-ports/dists/yakkety/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/vmlinux 
  initrd -->http://ports.ubuntu.com/ubuntu-ports/dists/yakkety/main/installer-ppc64el/current/images/netboot/ubuntu-installer/ppc64el/initrd.gz
  Boot arguments-->netcfg/disable_dhcp=true netcfg/confirm_static=true netcfg/choose_interface=98:be:94:05:63:10 netcfg/get_ipaddress=9.47.69.255/20 netcfg/get_gateway=9.47.79.254 netcfg/get_nameservers="9.12.16.2" 


  Choose JFS as file system for root
    ?????????????????????????? [!!] Partition disks ???????????????????????????
    ?                                                                         ?
    ? This is an overview of your currently configured partitions and mount   ?
    ? points. Select a partition to modify its settings (file system, mount   ?
    ? point, etc.), a free space to create partitions, or a device to         ?
    ? initialize its partition table.                                         ?
    ?                                                                         ?
    ?           >             1.0 MB       FREE SPACE                         ?
    ?           >     #1      7.3 MB    K                        ?            ?
    ?           >     #2    959.7 GB    K  jfs           /       ?            ?
    ?           >     #3     40.5 GB    K  swap          swap    ?            ?
    ?           >           728.6 kB       FREE SPACE            ?            ?
    ?           SCSI5 (0,0,0) (sdk) - 1.0 TB ATA ST1000NX0313    ?            ?
    ?           >             1.0 TB       FREE SPACE            ?            ?
    ?                                                            ?            ?
    ?           Undo changes to partitions                                    ?
    ?           Finish partitioning and write changes to disk                 ?
    ?                                                                         ?
    ?     <Go Back>                                                           ?
    ?                                                                         ?
    ???????????????????????????????????????????????????????????????????????????

  And continue with the installtion.

  Installtion fails with below message.

  <F1> for help; <Tab> moves; <Space> selects; <Enter> activates buttons

               ?? [!!] Install the GRUB boot loader on a hard disk ??
    ????????????                                                    ? ?????????
    ?          ?        Unable to install GRUB in /dev/sdj1         ?         ?
    ?          ? Executing 'grub-install /dev/sdj1' failed.         ?         ?
    ?          ?                                                    ?         ?
    ? Running "? This is a fatal error.                             ?         ?
    ?          ?                                                    ?         ?
    ????????????     <Go Back>                       <Continue>     ? ?????????
               ?                                                    ?
               ??????????????????????????????????????????????????????



  
  <Tab> moves; <Space> selects; <Enter> activates buttons



       ????????? [!!] Install the GRUB boot loader on a hard disk ??????????
       ?                                                                   ?
       ?                     Installation step failed                      ?
       ? An installation step failed. You can try to run the failing item  ?
       ? again from the menu, or skip it and choose something else. The    ?
       ? failing step is: Install the GRUB boot loader on a hard disk      ?
       ?                                                                   ?
       ?                            <Continue>                             ?
       ?                                                                   ?
       ?????????????????????????????????????????????????????????????????????



  
  <Tab> moves; <Space> selects; <Enter> activates buttons

  I see in the following that /dev/sdj1 is reportedly being "wiped"

  Oct  3 09:46:30 grub-installer: info: Identified partition label for /dev/sdj2: gpt
  Oct  3 09:46:30 grub-installer: info: Wiping PReP partition /dev/sdj1

  and then later you see

  Oct  3 09:46:33 in-target: grub-install: error: unknown filesystem.^M
  Oct  3 09:46:33 in-target: Failed: grub-install --target=powerpc-ieee1275 /dev/sdj1^M
  Oct  3 09:46:33 in-target: WARNING: Bootloader is not properly installed, system may not be bootable^M

  and then towards the end

  Oct  3 09:46:33 os-prober: debug: running /usr/lib/os-probes/50mounted-tests on /dev/sdj1
  Oct  3 09:46:34 kernel: [ 2476.418986] hfsplus: unable to load nls for utf8
  Oct  3 09:46:34 os-prober: debug: running /usr/lib/os-probes/mounted/40lsb on mounted /dev/sdj2
  Oct  3 09:46:34 os-prober: debug: running /usr/lib/os-probes/mounted/90linux-distro on mounted /dev/sdj2
  Oct  3 09:46:34 os-prober: debug: /dev/sdj3: is active swap
  Oct  3 09:46:34 grub-installer: info: Installing grub on '/dev/sdj1'
  Oct  3 09:46:34 grub-installer: info: grub-install does not support --no-floppy
  Oct  3 09:46:34 grub-installer: info: Running chroot /target grub-install  --force "/dev/sdj1"
  Oct  3 09:46:34 grub-installer: Installing for powerpc-ieee1275 platform.
  Oct  3 09:46:34 grub-installer: grub-install: error: unknown filesystem.
  Oct  3 09:46:34 grub-installer: error: Running 'grub-install  --force "/dev/sdj1"' failed.

  It isn't clear to me that JFS has much to do with this but will mirror
  this to Ubuntu installer folks. It is also odd that /dev/sdj1 doesn't
  show any filesystem on the "Partition disks" panel as the partman log
  shows ext2.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-prep/+bug/1630017/+subscriptions



More information about the foundations-bugs mailing list