LinuxQuestions.org
Review your favorite Linux distribution.
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 09-28-2023, 02:53 AM   #16
w7zdx
LQ Newbie
 
Registered: Sep 2023
Distribution: Fedora 38, Debian 12
Posts: 8

Original Poster
Rep: Reputation: 0

Okay,I installed Kali Linux. It loads and boots normal.


Partition System/Mount Point Size Used Unused Flags
/dev/nvme0n1p1 Fat32 boot/efi 512 MiB. 1.16 MiB 510.84 MiB Boot,esp

/dev/nvme0n1p2 ext4 / 237.02 GiB 21.39 GiB 215.63 GiB

/dev/nvme01p3 linux-swap 977.00 MiB 0.00 B 977.00 Mib bios_grub


Partition 3 is Labeled Fedora.


This information taken directly from GParted.


Thank you!


Bog
 
Old 09-28-2023, 12:15 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
What got you in trouble is you deleted the linux partition that was in control of the grub boot loader. You can't delete the linux partition in control of grub before transferring the boot process to another distro, in you case would have been fedora. The other way is to install another distro to take over the booting process, which is what you end up doing. A side note if this had been a legacy system you would have gotten a grub-rescue prompt instead of a grub prompt.
 
Old 09-30-2023, 11:50 AM   #18
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
As a die-hard fedora user I would suggest this.

Reinstall, selecting to recover space and use the entire disk (make sure you boot in uefi mode)

The boot to the installation usb is the same as was used to boot kali.

The information you have posted above seems that you only have the efi partition (nvme0n1p1), one partition that may have been /boot (nvme0n1p2), and a swap partition (nvmeon1p3) and that none of the remaining data is available.

Clearly the best (and maybe only) recovery method would be a new install of fedora, using the automatic partitioning with the installer and recovering space as noted just above.
 
  


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
Disk Partition damaged - how can I rescue damaged partition ray98 Linux - General 7 10-24-2014 08:05 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
how to tell if hard drive is damaged ? pleasehelpme Linux - Hardware 1 12-05-2007 01:43 AM
Damaged Mac Hard Drive SickNick Linux - Hardware 2 10-03-2007 06:07 PM
Cannot mount ext3 filesystem on damaged hard drive Mathieu_G Linux - Hardware 3 04-01-2005 10:51 PM

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

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