I am unable to boot in recovery mode HP 15-1387 with Deepin 15.11
Linux DeepinThis forum is for the discussion of Linux Deepin.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am unable to boot in recovery mode HP 15-1387 with Deepin 15.11
I recently installed single boot Deepin on an HP Laptop 15-1387 with AMD Radion R4/R5 graphics. It runs well in normal mode but freezes every time I try to boot in Recovery Mode. The Bios options are very limited and have tried enabling and disabling the settings to test them, but the results are the same.
I am not sure if this is a graphics issue or a permission issue.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Quote:
Originally Posted by fkalba9
I recently installed single boot Deepin on an HP Laptop 15-1387 with AMD Radion R4/R5 graphics. It runs well in normal mode but freezes every time I try to boot in Recovery Mode. The Bios options are very limited and have tried enabling and disabling the settings to test them, but the results are the same.
I am not sure if this is a graphics issue or a permission issue.
Any ideas?
Thank you in advance.
Hi fkalba9 - Welcome to LQ.
Could you explain what you mean by booting into Recovery mode ? In my experience, this usually accesses a partition the system manufacturer has set up to reinstall the initial version of the operating the computer shipped with.
Did your system come with Deepin or another linux distro ? Or did it come with Windows ?
If it came with Windows and the Recovery option in your case is what I've guessed, then the recovery partition may no longer be accessible for some reason (renamed, erased ...).
When you installed Deepin, did you repartition the entire disk ?
Apologies in advance if "Recovery mode" in your case is something different than what I am understanding.
1. The laptop came with Windows 10 and was converted to Deepin. I allowed the Deepin installation drive to create and repartition the entire hard drive as I did for my other HP laptop (It works fine).
2. Deepin Recovery Mode not to be confused with Deepin Repair. It is an option available during the bootup process. It doesn't come pre-installed with Deepin but it is one of the tools in its PlayStore. Once installed it becomes an option in the bootup process. The tool allows for system repair and disk/partition cloning. Some Deepin tools will only work in Deepin Recovery Mode even though they are available in normal boot mode.
3. I did a clean re-install of Deepin and Deepin Recovery Mode still not working.
I hope this clarifies your questions, please let me know if you need any more information.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
Rep:
Hey Frank,
I see that this is a Deepin-specific issue and that the thread has been appropriately moved to the Deepin distro forum. As much as I would like to continue to help you, I am woefully unfamiliar with Deepin and would be of little assistance.
I hope we have members that are knowledgeable in this area and that will chime in here.
firmware-amd-graphics firmware-misc-nonfree
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/5,349 kB of archives.
After this operation, 32.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 193861 files and directories currently installed.)
Preparing to unpack .../firmware-misc-nonfree_20180518-1_all.deb ...
Unpacking firmware-misc-nonfree (20180518-1) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-misc-nonfree_20180518-1_all.deb (--unpack):
trying to overwrite '/lib/firmware/3com/typhoon.bin', which is also in package linux-firmware 1.173.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../firmware-amd-graphics_20180518-1_all.deb ...
Unpacking firmware-amd-graphics (20180518-1) ...
dpkg: error processing archive /var/cache/apt/archives/firmware-amd-graphics_20180518-1_all.deb (--unpack):
trying to overwrite '/lib/firmware/amdgpu/carrizo_ce.bin', which is also in package linux-firmware 1.173.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/firmware-misc-nonfree_20180518-1_all.deb
/var/cache/apt/archives/firmware-amd-graphics_20180518-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also tried "deb http://http.us.debian.org/debian/ wheezy main contrib non-free" to get the drivers but same result error code (1)
and (Broken pipe). I need to get my pipe fixed any plumbers out there?
Normal and recovery mode should require the same firmware, I would believe that if it works in normal mode it should work in recovery mode.
compare the linux line of the menu entries for for normal and recovery mode in you /boot/grub/grub.cfg. Maybe there is something different there that may be causing the freezing.
It could be something with the initramfs if recovery mode uses a different one.
Last edited by colorpurple21859; 11-19-2019 at 05:17 AM.
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1280x720,1024x768,auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/deepin-fallback/unifont-regular-16.pf2
insmod jpeg
insmod png
set theme=($root)/boot/grub/themes/deepin-fallback/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_live ###
if [ ! -z ${boot_once} ];then
set timeout_style=countdown
set load_config=load-config
else
set load_config=
fi
### END /etc/grub.d/01_live ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Deepin 15.11 GNU/Linux' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6f326a4d-e693-412e-a999-197be49c8c30' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
linux /boot/vmlinuz-4.15.0-30deepin-generic root=UUID=6f326a4d-e693-412e-a999-197be49c8c30 ro splash quiet DEEPIN_GFXMODE=$DEEPIN_GFXMODE
initrd /boot/initrd.img-4.15.0-30deepin-generic
}
submenu 'Advanced options for Deepin 15.11 GNU/Linux' $menuentry_id_option 'gnulinux-advanced-6f326a4d-e693-412e-a999-197be49c8c30' {
menuentry 'Deepin 15.11 GNU/Linux, with Linux 4.15.0-30deepin-generic' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-30deepin-generic-advanced-6f326a4d-e693-412e-a999-197be49c8c30' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
linux /boot/vmlinuz-4.15.0-30deepin-generic root=UUID=6f326a4d-e693-412e-a999-197be49c8c30 ro splash quiet DEEPIN_GFXMODE=$DEEPIN_GFXMODE
initrd /boot/initrd.img-4.15.0-30deepin-generic
}
menuentry 'Deepin 15.11 GNU/Linux, with Linux 4.15.0-30deepin-generic (systemd)' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-30deepin-generic-init-systemd-6f326a4d-e693-412e-a999-197be49c8c30' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
linux /boot/vmlinuz-4.15.0-30deepin-generic root=UUID=6f326a4d-e693-412e-a999-197be49c8c30 ro splash quiet DEEPIN_GFXMODE=$DEEPIN_GFXMODE init=/lib/systemd/systemd
initrd /boot/initrd.img-4.15.0-30deepin-generic
}
menuentry 'Deepin 15.11 GNU/Linux, with Linux 4.15.0-30deepin-generic (recovery mode)' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-30deepin-generic-recovery-6f326a4d-e693-412e-a999-197be49c8c30' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
linux /boot/vmlinuz-4.15.0-30deepin-generic root=UUID=6f326a4d-e693-412e-a999-197be49c8c30 ro single
initrd /boot/initrd.img-4.15.0-30deepin-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/15_linux_bar ###
menuentry 'Deepin Recovery' --class deepin --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6f326a4d-e693-412e-a999-197be49c8c30' {
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt3 --hint-efi=hd0,gpt3 --hint-baremetal=ahci0,gpt3 6f326a4d-e693-412e-a999-197be49c8c30
else
search --no-floppy --fs-uuid --set=root 6f326a4d-e693-412e-a999-197be49c8c30
fi
linux /boot/recovery/vmlinuz-4.14.13 ro boot=live $load_config components quiet splash toram locales=en_US.UTF-8 acpi_backlight=vendor live-media=UUID=6f326a4d-e693-412e-a999-197be49c8c30 live-media-path=/boot/recovery
initrd /boot/recovery/initrd.img-4.14.13
}
### END /etc/grub.d/15_linux_bar ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/35_deepin_gfxmode ###
insmod deepin_gfxmode
deepin_gfxmode
### END /etc/grub.d/35_deepin_gfxmode ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
edit recovery grub menuenty at the grub prompt and add nomodeset to the end of the line that begins with linux and delete the quiet and splash on the same line.
Post the last few lines if it still crashes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.