LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 01-10-2024, 09:23 PM   #1
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Rep: Reputation: Disabled
Kernel? grub ? factory default?


Hi everyone, I went to Mint forum for help but no one has helped me yet and it makes sense as i dont think mint is the problem. So i thought you guys could help. One guy over there thinks its something to do with the uuid

I am still somewhat new to this world and gave up 4 times trying to switch to linux. There is always something... I dont want to learn commands I am not interested in that I want to use the computer thats it. But I also refuse to go back to Microsoft or Cannonical. I dont want to debate this here. Anyway I chose LMDE and gonna stick to it.

With a multiple hard drives system (1 boot 2 storage) I had installed LMDE4 which run fine but then I wiped my storage drive( no dual boot). I dont know if the grub was on it but lmde wouldnt boot anymore, grub problems. So i just tried to reinstall lmde6 which didnt solve anything.

I tried repairboot. After install, when booting, I got stuck on the freaking black screen asking me to login TTY something where even putting the correct user and pass u set up at install wont work. No ctrl+alt+ F#whichever doesnt work. Someone somewhere suggested the environment wasnt installed. Anyway thats still not the problem.

Someone somewhere else suggested to tell grub which drive to load from by using commands that looked like "set boot=sda1 (the boot partition)something and then insmod something then normal" which didnt do anything because IT DIDNT KNOW WHAT NORMAL IS. Please remember I HAVE NOT CLUE what this all means... I just want the computer to run. Please forgive my frustration and exasperation. I went mint because I didnt want to bother with that stuff. Anyway, I took it upon myself to try more cause i dont want to go back to microsoft or canonical. But grub still isnt the problem I think.. see what follows...

Someone somewhere elselse said to go through recovery to go as root to edit a grub file or something like that..which ended with me not being able to do that because "Cannot open access to console, the root account is locked"... I mean... All of this after ten hours for spelunking forums for solutions. I just want to smash the freaking pc at this point. I am sure all of this make sense to some of you but it does not for me.

So it dawn upon me that everything i read online was to try to salvage the information on the drive. I dont care, I already wiped everything. So why not just go to factory setting like when parts were new. Which is when I learned about kernel... they dont reset with cmos. I dont know how kernels works I dont care anymore. Normally I ld be eager to learn about it but I have so much time invested already on something so complex that im just brain dead now.

So what can I do to just get everything to factory so I cant just install LMDE6 and can finally go bang my head on the wall trying to install simpler stuff like non-free driver for my gpu and proton... PLEASE someone tell me the steps to just... get out of this mess once and for all...\

https://termbin.com/219u

Last edited by Rumple; 01-10-2024 at 10:12 PM.
 
Old 01-10-2024, 10:15 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
You state you have 3 drives, but only one shows in that listing. From the liveUSB let's see this output from terminal.
Code:
efibootmgr -v
lsblk -f
 
Old 01-10-2024, 11:34 PM   #3
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
You state you have 3 drives, but only one shows in that listing. From the liveUSB let's see this output from terminal.
They re just unplugged now. I was testing a theory. Assume they are their if needed
whats that and what am I to do with it ?
Code:
efibootmgr -v
lsblk -f

Last edited by Rumple; 01-10-2024 at 11:36 PM.
 
Old 01-12-2024, 04:17 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
Read the installation instructions for the distro that you are wanting to use.
https://www.linuxmint.com/documentation.php
https://linuxmint-installation-guide....io/en/latest/
https://linuxmint-user-guide.readthedocs.io/en/latest/

Wipe a drive.
Put the partitions that you want on it.
Put a filesystem on the partitions. Depending on what the partitions are for.
Install an operating system on the partition/partitions the way you want.
Install a bootloader.

All of that will take a little forethought. If it is a UEFI machine then you'll need a EFI system partition. If it is BIOS/gpt, and you are using grub, then you'll need a small boot partition.

Quote:
I dont want to learn commands I am not interested in that
You can't not learn and learn at the same time.

Read the docs for your distro. That is the best source of info.

https://en.m.wikipedia.org/wiki/BIOS
https://en.m.wikipedia.org/wiki/Uefi
 
Old 01-12-2024, 04:47 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
This could be a problem:
Quote:
Partition:
Message: No partition data found.
Quote:
I had installed LMDE4 which run fine but then I wiped my storage drive( no dual boot).
You may have deleted the system EFI partition that is needed for the computer to boot.

Open a terminal and type the commands mentioned, and post the output of the commands here so we can see disk partitions, and bootloaders registered with the bios/firmware. May have to add sudo to beginning of each command to get any useful output.

Last edited by colorpurple21859; 01-12-2024 at 04:52 PM.
 
Old 01-16-2024, 05:58 PM   #6
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Title to reply

Quote:
Originally Posted by teckk View Post
Read the installation instructions for the distro that you are wanting to use.
https://www.linuxmint.com/documentation.php
https://linuxmint-installation-guide....io/en/latest/
https://linuxmint-user-guide.readthedocs.io/en/latest/

Wipe a drive.
Put the partitions that you want on it.
Put a filesystem on the partitions. Depending on what the partitions are for.
Install an operating system on the partition/partitions the way you want.
Install a bootloader.

All of that will take a little forethought. If it is a UEFI machine then you'll need a EFI system partition. If it is BIOS/gpt, and you are using grub, then you'll need a small boot partition.

!yes i did that. https://itsfoss.community/t/installing-lmde-6/11256 did the partioning right, the flagging right but the grub on the boot partiotion too like this website says


Read the docs for your distro. That is the best source of info.

! This is not a distro problem. This is a kernel problem. But thanks anyways
See ! for answers
 
Old 01-16-2024, 06:15 PM   #7
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rumple View Post
They re just unplugged now. I was testing a theory. Assume they are their if needed
whats that and what am I to do with it ?
Code:
efibootmgr -v
lsblk -f
mint@mint:~$ sudo efibootmgr -v
BootCurrent: 000D
Timeout: 3 seconds
BootOrder: 000B,000D,000A,000C,000E
Boot000A* HL-DT-ST DVDRAM GH40F BBS(CDROM,,0x0)AMBO
Boot000B* UEFI OS HD(1,GPT,913bc6d4-9c52-43f3-a9ec-dccfbf5896af,0x800,0xfa000)/File(\EFI\BOOT\BOOTX64.EFI)
Boot000C* WDC WD1002FAEX-00Z3A0 BBS(HD,,0x0)AMBO
Boot000D* UEFI: KingstonDataTraveler 3.0 PciRoot(0x0)/Pci(0x5,0x0)/Pci(0x0,0x0)/USB(2,0)/HD(1,MBR,0x38582a06,0x3f,0x39a2c81)AMBO
Boot000E* KingstonDataTraveler 3.0 BBS(HD,,0x0)AMBO
mint@mint:~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /usr/lib/live/mount/rootfs/filesystem.squashfs
/run/live/r
ootfs/files
ystem.squas
hfs
sda
├─sda1
│ vfat FAT32 ESP C8C0-3074
├─sda2
│ swap 1 swap b99a93f5-e141-43ee-87cd-dff04b72530c
├─sda3
│ ext4 1.0 b848b32c-34d6-4435-86f2-e907018cdee3
└─sda4
ext4 1.0 home 0ea581ae-918c-4d58-98cd-28d885527d80
sdb
└─sdb1
vfat FAT32 KINGSTON
3ACC-7536 26.2G 9% /usr/lib/live/mount/medium
/run/live/m
edium
sr0
mint@mint:~$

@sig00 @colorpurple21859

thanks
 
Old 01-16-2024, 07:18 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Post the output of:
Code:
sudo blkid
 
Old 01-16-2024, 08:23 PM   #9
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Post the output of:
Code:
sudo blkid
mint@mint:~$ sudo blkid
/dev/sdb1: LABEL_FATBOOT="KINGSTON" LABEL="KINGSTON" UUID="3ACC-7536" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="38582a06-01"
/dev/loop0: TYPE="squashfs"
/dev/sda4: LABEL="home" UUID="0ea581ae-918c-4d58-98cd-28d885527d80" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="home" PARTUUID="14af2e89-1c68-4e89-9561-f75cc05731ca"
/dev/sda2: LABEL="swap" UUID="b99a93f5-e141-43ee-87cd-dff04b72530c" TYPE="swap" PARTLABEL="swap" PARTUUID="4441960d-4df5-40c5-bb8f-b69d9f49eba7"
/dev/sda3: UUID="b848b32c-34d6-4435-86f2-e907018cdee3" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="system" PARTUUID="b9e65e05-8036-4e36-9c14-626709936f72"
/dev/sda1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="C8C0-3074" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI" PARTUUID="913bc6d4-9c52-43f3-a9ec-dccfbf5896af"
mint@mint:~$
 
Old 01-20-2024, 09:04 PM   #10
niceflipper8827
Member
 
Registered: Sep 2023
Location: Washington State,USA
Distribution: ChromeOS,SlackWare,Android and Lubuntu
Posts: 68

Rep: Reputation: 2
Quote:
I just want to smash the freaking pc at this point.
It never did anyone favors to smash things however, I can understand that your extremely frustrated to the point of just throwing your hands up and quitting. This attitude won't help you get any where , I know this from several times over my years of using many different distributions at several points on my journey I too have wanted go give up but I took a step back and this at certain points even gave it anywhere from a few hours to a day or more. I also understand that you need an operational PC so I'm quite prone to recommend that you consider a distribution like either MX Linux or either variant of Linux Mint.
 
Old 01-30-2024, 02:09 AM   #11
Rumple
LQ Newbie
 
Registered: Jan 2021
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Post the output of:
Code:
sudo blkid
Hey just checking if you forgot about me ?
 
Old 01-30-2024, 06:00 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by Rumple View Post
mint@mint:~$ sudo blkid
/dev/sdb1: LABEL_FATBOOT="KINGSTON" LABEL="KINGSTON" UUID="3ACC-7536" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="38582a06-01"
/dev/loop0: TYPE="squashfs"
That looks to me like an installation disk of some kind. It has a compressed filesystem (squashfs) on it, which has been separately mounted.
Quote:
/dev/sda4: LABEL="home" UUID="0ea581ae-918c-4d58-98cd-28d885527d80" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="home" PARTUUID="14af2e89-1c68-4e89-9561-f75cc05731ca"
That's your home partition, used for personal data.
Quote:
/dev/sda2: LABEL="swap" UUID="b99a93f5-e141-43ee-87cd-dff04b72530c" TYPE="swap" PARTLABEL="swap" PARTUUID="4441960d-4df5-40c5-bb8f-b69d9f49eba7"
Swap partition
Quote:
/dev/sda3: UUID="b848b32c-34d6-4435-86f2-e907018cdee3" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="system" PARTUUID="b9e65e05-8036-4e36-9c14-626709936f72"
That will be your root partition.
Quote:
/dev/sda1: LABEL_FATBOOT="ESP" LABEL="ESP" UUID="C8C0-3074" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="EFI" PARTUUID="913bc6d4-9c52-43f3-a9ec-dccfbf5896af"
EFI system partition where your boot files are. @ColorPurple thought you might have accidently deleted that one but clearly it's still there. Whether it still contains the right files is another matter.

If I were you I would try to mount it:
Code:
mount /dev/sda1
or if that doesn't work, the full command
Code:
mount -t vfat /dev/sda1 /boot/efi
Then you can go to /boot/efi/EFI and look at the contents. Hopefully you will find a GRUB file there. Look for grub64.efi.

Last edited by hazel; 01-30-2024 at 06:27 AM.
 
Old 01-30-2024, 06:27 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
let me see I have this correct, you reinstalled lmde6 and now it boots to black screen or are you getting a grub-rescue message?

Last edited by colorpurple21859; 01-30-2024 at 06:33 PM.
 
  


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
How can I reset Deepin 15.5 to factory default settings? qaariboi Linux Deepin 1 05-16-2019 08:42 AM
how to reset firewalld back to default factory Winanjaya Linux - Security 2 04-09-2019 07:22 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: How to reset Kindle Fire HD to default factory settings LXer Syndicated Linux News 0 04-08-2013 12:41 AM
What is the factory default SCSI target for /dev/sd0? poonamkhirolia Linux - Newbie 2 12-17-2010 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:47 PM.

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