You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Stuck in Initramfs

Author (Read 16832 times)

0 Members and 1 Guest are viewing this topic.

Re: Stuck in Initramfs
« Reply #7 on: March 04, 2020, 09:20:10 AM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
From busybox run: cat /proc/partitions

or alternatively: blkid

Locate root (/) then run: fsck /dev/sda?  ? being whatever number root shows up in.
Then after you boot into your system run: update-initramfs -u
http://manpages.ubuntu.com/manpages/bionic/man1/busybox.1.html
https://manpages.ubuntu.com/manpages/precise/man8/update-initramfs.8.html

TC
« Last Edit: March 04, 2020, 10:21:46 AM by trinidad »
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Stuck in Initramfs
« Reply #6 on: March 04, 2020, 08:10:32 AM »
 

Searchernow

  • PayPal Supporter
  • Forum Regular
  • *****
  • 188
    Posts
  • Reputation: 7
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
probably my situation is different, but for what it's worth ...

I got stuck at initramfs, I eventually put it down to deviating a bit from the LL Manual during installation, then I re-installed strictly by the Manual and everything went well.
SN.  I hope my reply has been useful - click Thank on the left.
 

Re: Stuck in Initramfs
« Reply #5 on: April 18, 2019, 06:40:22 AM »
 

minesheep

  • Forum Regular
  • ***
  • 140
    Posts
  • Reputation: 11
  • Linux Lite Member
    • View Profile

  • MEMORY: 4Gb

  • Kernel: 5.x
HDD has not partition.
HDD also has some bad sectors.
I just wanna recover my data.
Doesn't Gparted (from live dvd/usb) really recognize any partitions. Maybe bad sectors have broken gpt/mbr
You can try to recover data by these instructions
1. Create dvd/usb boot media if you don't have one already.
2. Boot your pc/laptop from live install media and not from the HDD.
3. Try to copy (or move) your files to safe device like working usb stick or external HDD/SSD if possible
4. If not possible then open terminal and type "sudo apt-get install gpart" and enter Y if prompted
5. run same command again it shouldn't take more than 5 seconds because you have installed it already if it takes more than 5 seconds then you failed the step 4.
6. open Gparted and select "attempt data rescue" from "device"
7. press "OK"
8. Wait it can take up to 24hours in some cases but often should be done in 4 hours
9. Then you have temporarily mounted filesystem do step 3
10. Make sure you remember to make proper backups in future.
11. Use your laptop HDD only for backups/storing not important data because it may destroy your data!

Please ask me or someone else to explain these instructions if you don't understand.
 

Re: Stuck in Initramfs
« Reply #4 on: April 14, 2019, 04:31:59 AM »
 

JanetBiggar

  • PayPal Supporter
  • I come here a lot
  • *****
  • 252
    Posts
  • Reputation: 10
  • Linux Lite Member
    • View Profile
    • iizidima
I just ran into the same issue with one of the laptops one of my study group youth is using and saw your post.  Maybe you have done this given what I see in your post.  Did you put a space after the fsck and /dev?

Have a look at this link as it worked for me.  Scroll down to see all the comments as after you do the fsck step I had the youth answer y to all the questions then when it stopped asking questions and came to (initramfs) again I had him type reboot and now it is working fine.

Here is the link:https://www.proposedsolution.com/solutions/ubuntu-booting-to-initramfs-prompt/
 

Re: Stuck in Initramfs
« Reply #3 on: November 14, 2018, 11:01:14 PM »
 

supriyok225

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: AMD

  • MEMORY: 4Gb

  • VIDEO CARD: 1GB
No its single boot. HDD has not partition.HDD also has some bad sectors. I just wanna recover my data.
I did   'fsck /dev/sda1' and the out put is

fsck from util-linux 2.31.1
fsck: error 2 (No such file of directory) while executing fsck.ext2 for /dev/sda1

Below file is Grub
« Last Edit: November 15, 2018, 09:02:31 AM by supriyok225 »
 

Re: Stuck in Initramfs
« Reply #2 on: November 14, 2018, 03:58:00 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1463
    Posts
  • Reputation: 212
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Are you dual booting by any chance?

TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Stuck in Initramfs
« Reply #1 on: November 14, 2018, 01:28:52 PM »
 

supriyok225

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: AMD

  • MEMORY: 4Gb

  • VIDEO CARD: 1GB
I am a new user of Linux Lite [4.0]. I used it around 4 months. My cpu is AMD A4. Suddenly its not login and stuck in initramfs after displaying below msg.

Gave up waiting for root file system device. Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls/dev)
ALERT! UUID=a081b06c-3343-4e6e-9e89-b500ff509502 does not exist. Dropping to a shell!


BusyBox v1.27.2 (Ubuntu1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)


Please reply.Thanks in advance.
« Last Edit: May 23, 2020, 11:00:32 PM by firenice03 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section