Comment 22 for bug 1507505

Revision history for this message
Carl Karsten (carlfk) wrote :

> Could someone seeing this issue please run the installer but just before that, modify grub-installer to add "set -x"

~ # grub-installer

+ [ ]
+ ROOT=
+ chroot=
+ . /usr/share/grub-installer/functions.sh
+ . /usr/share/grub-installer/otheros.sh
+ newline=

+ db_capb backup
+ _db_cmd CAPB backup
+ IFS= printf %s\n CAPB backup
+ IFS=
 read -r _db_internal_line
+ RET=multiselect backup progresscancel align escape plugin-terminal
+ return 0
+ archdetect
+ ARCH=amd64/generic
+ info architecture: amd64/generic
+ log info: architecture: amd64/generic
+ logger -t grub-installer info: architecture: amd64/generic
+ ls /proc
+ initial_proc_contents=1
10
100
10066
10067
10129
10130
11
12
123
12438
12439
12444
125
13
15
16
17
18
183
184
185
193
194
195
196
2
20
20501
206
207
208
209
21
210
217
22
23
25
26
27
28
29
29966
29968
3
30
30523
30600
30919
30920
30974
30975
30976
30979
31
32
33
34
35
36
360
362
37
38
39
40
46
47
48
49
5
50
60
631
636
677
679
7
7165
7182
7183
7184
7185
7186
7187
7196
7197
7198
7219
7263
75
76
77
79
8
81
84
85
86
87
88
89
9
90
91
92
93
94
95
96
99
acpi
buddyinfo
bus
cgroups
cmdline
consoles
cpuinfo
crypto
devices
diskstats
dma
driver
execdomains
fb
filesystems
fs
interrupts
iomem
ioports
irq
kallsyms
kcore
key-users
keys
kmsg
kpagecount
kpageflags
loadavg
locks
mdstat
meminfo
misc
modules
mounts
mtrr
net
pagetypeinfo
partitions
sched_debug
self
slabinfo
softirqs
stat
swaps
sys
sysrq-trigger
sysvipc
timer_list
timer_stats
tty
uptime
version
vmallocinfo
vmstat
zoneinfo
+ [ -z 1
10
100
10066
10067
10129
10130
11
12
123
12438
12439
12444
125
13
15
16
17
18
183
184
185
193
194
195
196
2
20
20501
206
207
208
209
21
210
217
22
23
25
26
27
28
29
29966
29968
3
30
30523
30600
30919
30920
30974
30975
30976
30979
31
32
33
34
35
36
360
362
37
38
39
40
46
47
48
49
5
50
60
631
636
677
679
7
7165
7182
7183
7184
7185
7186
7187
7196
7197
7198
7219
7263
75
76
77
79
8
81
84
85
86
87
88
89
9
90
91
92
93
94
95
96
99
acpi
buddyinfo
bus
cgroups
cmdline
consoles
cpuinfo
crypto
devices
diskstats
dma
driver
execdomains
fb
filesystems
fs
interrupts
iomem
ioports
irq
kallsyms
kcore
key-users
keys
kmsg
kpagecount
kpageflags
loadavg
locks
mdstat
meminfo
misc
modules
mounts
mtrr
net
pagetypeinfo
partitions
sched_debug
self
slabinfo
softirqs
stat
swaps
sys
sysrq-trigger
sysvipc
timer_list
timer_stats
tty
uptime
version
vmallocinfo
vmstat
zoneinfo ]
+ get_serial_console
+ sed -e s/.*\(console=[^ ]*\).*/\1/ /proc/cmdline
+ local defconsole=BOOT_IMAGE=linux --- debconf/priority=high DEBCONF_DEBUG=5 auto=true url=192.168.1.194:80 hw-detect/load_firmware=false hostname=gator netcfg/get_domain=lan partman-auto/disk="/dev/nvme0n1" initrd=initrd.gz
+ echo BOOT_IMAGE=linux --- debconf/priority=high DEBCONF_DEBUG=5 auto=true url=192.168.1.194:80 hw-detect/load_firmware=false hostname=gator netcfg/get_domain=lan partman-auto/disk="/dev/nvme0n1" initrd=initrd.gz
+ grep -qe console=\(ttyS\|com\)
+ serial=
+ cached_available_ids=
+ findfs /
+ grub_probe -t device /
+ [ != true ]
+ apt-install grub-common
+ is_grub_common_installed=true
+ grub-probe -t device /
grub-probe: error: failed to get canonical path of `rootfs'.
+ mount
+ grep on
+ tail -n1
+ cut -d -f1
+ rootfs=
+ findfs /boot
+ grub_probe -t device /boot
+ [ != true ]
+ apt-install grub-common
+ is_grub_common_installed=true
+ grub-probe -t device /boot
grub-probe: error: failed to get canonical path of `/boot'.
+ mount
+ grep on /boot
+ tail -n1
+ cut -d -f1
+ bootfs=
+ [ -n ]
+ bootfs=
+ findfstype /boot
+ udpkg --print-os
+ mount
+ grep on /boot
+ tail+ cut -d -f5
 -n1
+ bootfstype=
+ findfstype /
+ udpkg --print-os
+ mount
+ grep on
+ + cut -d -f5
tail -n1
+ rootfstype=
+ [ -n ]
+ bootfstype=
+ mapdevfs
Wrong number of args: mapdevfs <path>
+ rootfs_nodevfs=