LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 11-15-2019, 06:24 PM   #1
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Rep: Reputation: Disabled
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.

Any ideas?

Thank you in advance.
 
Old 11-16-2019, 10:55 AM   #2
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by fkalba9 View Post
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.

Let us know ....
 
1 members found this post helpful.
Old 11-16-2019, 06:11 PM   #3
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks Rickkkk for your response...

To clarify,

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.

Thank you,

Frank
 
Old 11-16-2019, 06:25 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
Post your /boot/grub/grub.cfg
 
Old 11-16-2019, 06:46 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Click on "Report" in your initial post and ask to have the thread moved to the Deepin specific forum .
 
1 members found this post helpful.
Old 11-17-2019, 08:30 AM   #6
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
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.

Cheers and best.
 
Old 11-17-2019, 03:00 PM   #7
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks!

Thank you Rickkkk!
 
Old 11-18-2019, 07:12 PM   #8
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Additional information

For a moment the screen displays this message
"*error* radeon kernel modesetting for r600 or later requires firmware installed."

After searching online there were suggestions of sudo editing /etc/apt/sources.list with the following:
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib,

then...
sudo apt-get update
sudo apt-get install firmware-amd-graphics

but, it did not work.

Here is the error log:

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?
 
Old 11-18-2019, 07:25 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
did you try
firmware-linux-nonfree
 
Old 11-18-2019, 11:23 PM   #10
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for your reply. Yes I did, but same result!

deb http://http.us.debian.org/debian/ wheezy main contrib non-free

apt-get update
apt-get install firmware-linux-nonfree
 
Old 11-19-2019, 05:14 AM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
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.
 
Old 11-19-2019, 03:33 PM   #12
fkalba9
LQ Newbie
 
Registered: Nov 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here is the /boot/grub/grub.cfg

#
# 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 ###
 
Old 11-20-2019, 09:44 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:1387 zvivered Linux - Security 2 11-18-2016 05:02 PM
[SOLVED] Latest Deepin 2014 RC update disabled Deepin SW Center Nieuwkoop-75 Linux Deepin 13 01-04-2015 10:51 PM
Deepin 2014 Alpha – Be ready to embrace the New Deepin cxbii Linux Deepin 6 11-17-2014 08:06 PM
LXer: Linux Deepin needs your help with the Deepin Localization Project LXer Syndicated Linux News 0 12-02-2013 10:41 PM
LXer: Use Linux Deepin Screenshot Tool "Deepin Scrot" In Other Linux Distributions LXer Syndicated Linux News 0 03-13-2012 05:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration