Problems with dual boot [SOLVED]

New to Debian (Or Linux in general)? Ask your questions here!

Problems with dual boot [SOLVED]

Postby fawkesjr » 2018-10-29 02:47

I was using Debian 9 stable on my Dell N4050 with no problems, but I wanted to test OpenSuse Tumbleweed in a dual boot. I tried to install it creating 2 partitions: one for the OS and a Swap. The installation showed me no errors and I can boot into OpenSuse with no problems, but I can't boot to Debian anymore. Altough I can access all my files in the Debian partition through OpenSuse, I want to be able to boot into both OS.

What I've tried until now:
- I googled my problem, but i could not find a similar problem
- I tried the rescue mode with de Debian 9 iso, but I don't know what to do with the shell and I can't reinstall GRUB
- I searched the Debian documentation about the rescue mode, but that didn't help me

Can anyone help me? I don't know if I gave you enough information, so let me know
Last edited by fawkesjr on 2018-10-30 14:19, edited 1 time in total.
fawkesjr
 
Posts: 6
Joined: 2018-10-08 20:32

Re: Problems with dual boot

Postby Head_on_a_Stick » 2018-10-29 06:06

Please post the output of
Code: Select all
# parted --list
# efibootmgr -v
# grub2-mkconfig

I don't use OpenSUSE so the last command may be wrong, remove the "2" if it fails.

EDIT: the GRUB output will be lengthy so be sure to use code tags, thanks!

EDIT2: why can't you install GRUB from the Debian ISO? What happens when you try?
I suffer from depression and may lash out occasionally, try not to take it personally.
User avatar
Head_on_a_Stick
 
Posts: 8167
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problems with dual boot

Postby p.H » 2018-10-29 08:37

fawkesjr wrote:I can't boot to Debian anymore

Why not ?
Didn't openSUSE add an entry for Debian in its boot menu ?
Or does this entry not work properly ?
p.H
 
Posts: 631
Joined: 2017-09-17 07:12

Re: Problems with dual boot

Postby fawkesjr » 2018-10-29 16:08

Thank you very much for your help!!

I fixed my problem doing the folloing command in the shell of the recovery mode: fsck /dev/sda1 (and marking yes for all the options).

After that I could boot Debian with no apparently problems

I did that before I saw your replies today and came here to let you know that my problem has been solved.

Thanks anyway!!
fawkesjr
 
Posts: 6
Joined: 2018-10-08 20:32


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable