Saltar al contenido
Underc0de /foro

Solution to Ubuntu Boot Initramfs Error

🌐 This is an automatic translation of a topic from Underc0de, the largest Spanish-speaking hacking and IT community. Read the original (Spanish) and reply →
Cronos ·
Good morning, today I bring you the solution to the initramfs boot problem that Ubuntu sometimes throws.<br /><br />1. Insert the Live CD or USB with the OS and boot without installing it.<br />2. Open the terminal and type:<br /><br />
Código: text
sudo fdisk -l
<br /><br />This will show the partitions. We will focus on and work with the one that says only "Linux"<br /><br />Example<br />
Código: text
<br />Disk /dev/sda: 250.1 GB, 250059350016 bytes<br />255 heads, 63 sectors/track, 30401 cylinders<br />Units = cylinders of 16065 * 512 = 8225280 bytes<br />Disk identifier: **********<br />Device Boot Start End Blocks Id System<br />/dev/sda1 * 1 30238 242886703+ 83 Linux<br />/dev/sda2 30239 30401 1309297+ 5 Extended<br />/dev/sda5 30239 30401 1309266 82 Linux swap / Solaris<br />
<br /><br />Once this is done, we type the following in the terminal (in my case it is /dev/sda1)<br /><br />
Código: text
sudo fsck /dev/sda1
<br /><br />3. Mount this partition. This step is rarely mentioned but it is essential for it to work.<br /><br />
Código: text
sudo mount /dev/sda1 /mnt
<br /><br />And that's it, problem solved. I hope it was helpful.<br />Regards,, Cronos.-
/d3v/nu11 ·
Thank you very much Cronos for the post, the truth is I have had that problem several times and didn't know how to fix it.
claris ·
Good afternoon, I appreciate any help in advance. I have an Asus X450C with Ubuntu 16.4. After a power outage it got stuck on an initramfs error. I don't know how to boot from a CD, and I don't know how to fix it. I sincerely appreciate your help.
Grupo de WhatsApp