$ cat /etc/grub.d/40_custom
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
Prior to this change, I would get a blank screen with a whirring fan.
With the above change, I do see the boot-up log messages.
But, I get a busy box...
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
BusyBox v1.301 (Ubuntu 1:1.30.1-4ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) Begin: Running /scripts/casper-premount ... done.
Begin: waiting for devs... ... done.
touch /dev/.initramfs/lupin-waited-for-devs: No such file or directory
stdin: Invalid argument
done.
loop: can't get info on device /dev/loop1: No such device or address
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
@Alkis Georgopoulos,
Thanks for the suggestion.
I added "rmmod tpm".
Unfortunately, it did not really help my situation...
$ sudo update-grub grub.d/ init-select. cfg' 5.3.0-51- generic img-5.3. 0-51-generic 5.3.0-46- generic img-5.3. 0-46-generic
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for EFI firmware configuration
done
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ sudo nano /etc/grub. d/40_custom grub.d/ init-select. cfg' 5.3.0-51- generic img-5.3. 0-51-generic 5.3.0-46- generic img-5.3. 0-46-generic
$ sudo update-grub
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Adding boot menu entry for EFI firmware configuration
done
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
$ cat /etc/grub. d/40_custom
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Install" { "/ubuntu. iso" casper/ vmlinuz boot=casper iso-scan/ filename= $isofile noprompt noeject casper/ initrd
set isofile=
rmmod tpm
loopback loop (hd0,2)$isofile
linux (loop)/
initrd (loop)/
}
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Prior to this change, I would get a blank screen with a whirring fan.
With the above change, I do see the boot-up log messages.
But, I get a busy box...
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
BusyBox v1.301 (Ubuntu 1:1.30.1-4ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) Begin: Running /scripts/ casper- premount ... done. /lupin- waited- for-devs: No such file or directory
Begin: waiting for devs... ... done.
touch /dev/.initramfs
stdin: Invalid argument
done.
loop: can't get info on device /dev/loop1: No such device or address
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
I don't know why it is referencing "loop1" ?