LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2021, 08:40 AM   #1
PussEKatt
Member
 
Registered: Jan 2021
Posts: 53

Rep: Reputation: Disabled
Unhappy Installing Open SUSI problem


I have installed Open susi on my laptop and with the first restart I got the following message.

Welcome to GRUB
Attempting to decrypt master key
Enter passphrase for hd0,gpt4 ( lots of numbers here )

What do I do now ?
 
Old 01-10-2021, 07:44 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by PussEKatt View Post
I have installed Open susi on my laptop and with the first restart I got the following message.

Welcome to GRUB
Attempting to decrypt master key
Enter passphrase for hd0,gpt4 ( lots of numbers here )

What do I do now ?
Did you encrypt the disk when you did the install? If you did then you will need to enter the pass phrase that was used to do the encryption.
 
Old 01-10-2021, 08:43 PM   #3
PussEKatt
Member
 
Registered: Jan 2021
Posts: 53

Original Poster
Rep: Reputation: Disabled
No, I didnt encrypt the disk and as the PC is waiting for a response from me I tried my name and password.I also typed in Windows and Linux,none of which worked.There is a flashing cursor ( like you get with a DOS prompt )so it is obviously waiting for a response from me,but I havent a clue what to type in.
 
Old 01-11-2021, 07:44 AM   #4
PussEKatt
Member
 
Registered: Jan 2021
Posts: 53

Original Poster
Rep: Reputation: Disabled
If I restart thr PC and ESC and the Windows key,I get the following message:
minimal BASH - like line editing is supported.For the first word,TAB lists possable command completions.Anywhere else TAB lists possable device or file completions.

Is this any help ?
 
Old 01-11-2021, 08:51 AM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by PussEKatt View Post
Welcome to GRUB
Attempting to decrypt master key
Enter passphrase for hd0,gpt4 ( lots of numbers here )
This seems to indicate the disk was encrypted during install. Maybe you checked the box but did not enter a pass phrase so it may be empty. Have you tried just <enter>?

If that does not work then I have no further suggestions. Maybe a reinstall?
 
Old 01-11-2021, 08:53 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,943

Rep: Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324
yes, I can only suggest you to reinstall and avoid using encrypted drives next time (if that enter did not help).
 
Old 01-11-2021, 02:52 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Lucky for you there is no real loss on reload.

Not sure what you typed in. Try either your user name, user, or password but not all at one time just to see if you can get past it.

If fails then I agree with others, reload it and be careful when it asks questions. Some questions may be very slow on older hardware so be sure you wait a bit on screens maybe.
 
Old 01-12-2021, 11:34 PM   #8
PussEKatt
Member
 
Registered: Jan 2021
Posts: 53

Original Poster
Rep: Reputation: Disabled
I have just had a rethink of my problem and I am sure that what I have to do now is get back into windows,format the Linux partition and install a different version of Linux.
Can anyone please tell me how to get back to windows ?
The reason I have come to this conclusion is really quite simple.I installed Open SUSI beside my Windows after partitioning the HDD.The thing is that on startup surely I shoul get the option to select Windows or Open SUSI ?! I dont get this option ( as mentioned in my first post ) I go streight to the encrypted Linux HDD.Which leads me to the conclusion that the Open SUSI disk was/is corrupted.Which also makes me realise that I did not encrypt the HDD the program did this all by itself.Why would I want/need to encrypt the HDD ? I am the only one that uses my PC.
 
Old 01-13-2021, 12:57 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,943

Rep: Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324
when you boot (switch on the computer) it will ask if you want to use windows or linux. But probably you have overwritten your windows so it is not available any more.
 
Old 01-13-2021, 01:34 AM   #10
PussEKatt
Member
 
Registered: Jan 2021
Posts: 53

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
when you boot (switch on the computer) it will ask if you want to use windows or linux. But probably you have overwritten your windows so it is not available any more.
I am quite sure that I have not overwritten Windows because before installing Linux.I partitioned my HDD and installed Linux in the F partition.So the other partitions should ( C Drive with Windows and D Drive with the recovery )I am quite sure that the corrupted disk has encrypted the F partition and probably stuffed up the MBR.I need to get back into Windows,if possable or failing that I could use a Linux Live DVD and format drive D.
If I use a live DVD will F partition still be F partition in the live DVD of Linux or will there be a different drive number.As I said I have C = Windows D = Recovery and F = Open SUSI.and what is the command to format this partition from a Linux live DVD ?
 
Old 01-13-2021, 01:37 AM   #11
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,943

Rep: Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324Reputation: 7324
in that case you need a partition editor and select the one you want to boot. Or probably you need a windows recovery solution to be able to boot that again.
 
Old 01-13-2021, 10:13 AM   #12
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by PussEKatt View Post
I am quite sure that I have not overwritten Windows because before installing Linux.I partitioned my HDD and installed Linux in the F partition.So the other partitions should ( C Drive with Windows and D Drive with the recovery )I am quite sure that the corrupted disk has encrypted the F partition and probably stuffed up the MBR.I need to get back into Windows,if possable or failing that I could use a Linux Live DVD and format drive D.
If I use a live DVD will F partition still be F partition in the live DVD of Linux or will there be a different drive number.As I said I have C = Windows D = Recovery and F = Open SUSI.and what is the command to format this partition from a Linux live DVD ?
Linux does NOT see the drive C, drive D, etc. naming that windows uses. It sees the partitions on the device. Assuming the drive is /dev/sda then it sees the partitions as /dev/sda1, /dev/sda2, etc. That means your referring to drive F is totally off base and cannot be directly related to the partition you created for linux.

Before you do anything else please post the output of these 2 commands so we can actually see what has been done with the drive and if windows may be recoverable.
Code:
sudo fdisk -l
sudo lsblk
This can be done when booted to the live USB or DVD that you used to install. Once we have looked at that we will be better able to provide accurate advice.

Last edited by computersavvy; 01-13-2021 at 10:16 AM.
 
Old 01-13-2021, 11:50 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,541

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
Quote:
installed Linux in the F partition.
Windows does not assign drive letters to Linux partitions so if you tried to install it on what you see as the 'F' drive, that is likely and ntfs or other windows filesystem and that won't work. Use unallocated space.

You haven't indicated whether you are using UEFI or a Legacy/CSM install of Opensuse or windows. Which is it? Also, it would be useful if you indicated which version of windows you are using.
 
Old 01-13-2021, 02:12 PM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,838
Blog Entries: 1

Rep: Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071Reputation: 2071
I've never encountered any Linux installer incapable of formatting a partition as an integral part of the installation process. Some even demand to do it before proceeding. openSUSE's expert partitioner in its installer will do virtually anything one would ever want of a Gnu Linux installer. Thus, there is no point in "formatting" anything to be used by openSUSE in advance of installing it. The same goes for partitioning.

Your openSUSE installer almost certainly wiped out the MBR code that Windows requires to be able to boot in the absence of a working non-Windows bootloader. openSUSE would have put Grub2 in that space. A Windows recovery and repair disc or USB stick can put the required code back in the MBR. However, a subsequent Linux installation will by default usurp it again unless steps are taken to install its bootloader elsewhere. All my installations boot the bootloader on a partition, so that the MBR contains only legacy/Windows-compatible code. With such configuration, any time Windows breaks Linux bootability is normally just because it moved the MBR boot flag legacy code depends on. This flag is easily moved regardless what is bootable or booted.

No Linux distro has any conception of drive letters. The partitions with filesystems to be used in Linux become directories or subdirectories, whether Linux native or not. When requesting help with partitioning with Linux you need to provide a partitions list at the minimum instead of referring too drive C: or Drive F:. This list is the output from fdisk -l or parted -l or equivalent.
 
Old 01-13-2021, 07:59 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
There are ways to fix it.

One is to use Microsoft Windows to fix the loader. Common for people who want to return to stock. Free iso's Microsoft.

Two is to use some built in recovery if you have it to basically do what a Windows dvd might do but could do much more to return the entire system to as bought.

You do have a backup of your data right?

Three is to use linux to try to fix what you have. Some linux installers may "see" the Opensuse and not easily let you copy over it but that is a new thread.

Next time consider a free "Virtual Machine" to use windows and linux at the same time. Much safer than a dual boot.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having a problem with DAT /dev/st0 SCO/SUSI sjpiv44 Linux - Newbie 5 04-11-2008 05:30 PM
Serial modem does not work with SuSi linx win Linux - Distributions 4 06-29-2004 02:11 PM
Susi with MySQL - not sure what to do. Matt_T_hat Linux - Newbie 1 01-06-2004 12:50 PM
susi 8.1 install glibc error chrisskidmore Linux - Newbie 7 03-30-2003 03:59 PM
Remove SuSI chris665 Linux - Distributions 2 07-17-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:57 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