LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-13-2020, 04:38 AM   #16
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065

Startx is something one might do after succeeding to load and boot the kernel and initrd from the Grub prompt. You're getting the boot from Grub prompt procedure out of order entering a password at a Grub prompt. Try using the 2nd link in post #11.

Last edited by mrmazda; 06-13-2020 at 04:40 AM.
 
1 members found this post helpful.
Old 06-13-2020, 05:07 AM   #17
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
You cannot use a / where a , belongs and expect useful results.
Nope, I am getting the same problem again. So what should I do? Should I make a rescue disc/drive as has been suggested for the grub manual seems like to much info?
 
Old 06-13-2020, 05:16 AM   #18
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
I meant I tried the commands in the second link and they didn't work either.
 
Old 06-13-2020, 09:02 AM   #19
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Still waiting for your advice on what I should do. Thanks.
 
Old 06-13-2020, 09:59 AM   #20
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
The commands in those posts must be adapted to your hardware and installation. Without knowing exactly what you typed or what the responses were, there's no way to tell what went wrong.

Do you not have a backup from which grub.cfg can be examined and utilized? If not, what to type is more difficult to determine.

Before typing linux and initrd commands at a grub> prompt, enter these commands:
Code:
insmod gzio
insmod part_msdos
insmod ext2
Not using them when necessary results in unknown filesystem errors.

If this doesn't work, it's probably best to give up trying to boot from the grub> prompt manually this way, and resort to performing a boot repair using one of the more common methods.

It would help us help you if you would boot a live DVD or USB to collect some data to paste here using code tags. This includes the content of /etc/fstab and /etc/default/grub on the installed 18.04 system, /boot/grub/grub.cfg if the /boot directory on the root filesystem contains files, or /grub/grub.cfg from the /boot filesystem if it is separate from the root filesystem. Also please provide output from:
Code:
efibootmgr -v
blkid
ls -l /sys/firmware/efi
and output from either 'fdisk -l' and/or 'parted -l'.

As an alternative to the above data, boot DVD or USB, download and run bootinfoscript, upload it to http://pastebin.com or equivalent, and paste the resulting URL here.

The presence of lvm in a grub environment is something I'm totally unfamiliar with. I don't use lvm, and can't recall ever having used it myself. Likely this means you may need help I cannot provide, at least, not without seeing the content of fstab on the installed system, and even then you may need help from someone who does have lvm experience. Lvm may be why the "usual hacks" didn't work for you.
 
1 members found this post helpful.
Old 06-13-2020, 10:08 AM   #21
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Ok thanks, let me first try the grub commands that you suggested and see if anything changes. And sorry, I don't have a backup of any of the files from the OS.
 
Old 06-13-2020, 10:37 AM   #22
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Sorry, it didn't solve the problem. I am sending you the photos of the commands that I gave.
Attached Thumbnails
Click image for larger version

Name:	IMG_20200613_205658.jpg
Views:	17
Size:	245.3 KB
ID:	33388   Click image for larger version

Name:	IMG_20200613_210222.jpg
Views:	15
Size:	250.1 KB
ID:	33389  
 
Old 06-13-2020, 10:56 AM   #23
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Sorry these were the responses.
Attached Thumbnails
Click image for larger version

Name:	IMG_20200613_212422.jpg
Views:	11
Size:	277.5 KB
ID:	33390  
 
Old 06-13-2020, 11:03 AM   #24
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
I don't understand the second part of what you said. How can I access my installed os from a live CD?
 
Old 06-13-2020, 11:11 AM   #25
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Quote:
Originally Posted by Somdatta View Post
Sorry, it didn't solve the problem. I am sending you the photos of the commands that I gave.
The second photo cuts off an important part of what you typed on the linux line. It looks like you typed /dev/sda1 where you may have needed /dev/sda2, or no root= at all. Without fdisk -l output, we don't know where your root filesystem lives. Retry without any root=/dev/sdanything:
Code:
insmod gzio
insmod part_msdos
insmod ext2
linux /vmlinuz noresume root=/dev/sda2
initrd /initrd.img
boot
If it fails, try without root=/dev/sda2.
 
1 members found this post helpful.
Old 06-13-2020, 11:55 AM   #26
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Still of no avail. Sending you the snapshots of both cases. The first option first.
Attached Thumbnails
Click image for larger version

Name:	IMG_20200613_221157.jpg
Views:	18
Size:	242.1 KB
ID:	33392   Click image for larger version

Name:	IMG_20200613_221244.jpg
Views:	12
Size:	274.4 KB
ID:	33393  
 
Old 06-13-2020, 11:58 AM   #27
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
And then the second one.
Attached Thumbnails
Click image for larger version

Name:	IMG_20200613_221719.jpg
Views:	10
Size:	235.9 KB
ID:	33394   Click image for larger version

Name:	IMG_20200613_221809.jpg
Views:	10
Size:	269.6 KB
ID:	33395  
 
Old 06-13-2020, 12:29 PM   #28
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
We need to see output from those commands that I put in post #20 run from a live DVD or USB boot. There might be another insmod that needs to be run for lvm support. As I wrote, I'm not familiar with lvm, so don't don't know if or what it may be. Kernel and initrd are being found, but not the root filesystem. Probably most important is that the root filesystem get mounted temporarily while live booted and /etc/fstab and /boot/grub/grub.cfg be captured from it to paste here using code tags. From them we should be able to determine the root filesystem to use with root= for linux at grub> prompt. From grub.cfg we can see if some other insmod is being utilized.
 
1 members found this post helpful.
Old 06-13-2020, 02:41 PM   #29
Somdatta
Member
 
Registered: Jun 2020
Posts: 139

Original Poster
Rep: Reputation: Disabled
Regarding post#20, do the things that you want show up on the output of the boot done with the live USB?
 
Old 06-13-2020, 03:08 PM   #30
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,788
Blog Entries: 1

Rep: Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065Reputation: 2065
Quote:
Originally Posted by Somdatta View Post
Regarding post#20, do the things that you want show up on the output of the boot done with the live USB?
Between 'It would help us help' and 'resulting URL here.' in #20 is about using a live DVD or USB boot. The rest is about trying to boot from a grub> prompt.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Flash Facing Death as Google Launches Chrome 55 LXer Syndicated Linux News 1 12-04-2016 04:29 PM
DNS need help ? pls help me ! SOS SOS AngelOfTheDamn Linux - Networking 2 02-23-2004 12:13 PM
Slack 9.1 and "black screen of death" on boot emillerpdx Slackware 4 10-01-2003 11:33 AM
Black Screen Of Death? Kontesto Linux - Software 5 02-01-2002 05:25 PM

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

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