Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-09-2018, 07:08 AM   #1
LQ Newbie
Registered: Oct 2018
Posts: 2

Rep: Reputation: Disabled
Kubuntu 18.04 will not boot after installing tiny-initramfs


Hope someone can help me and apologies in advance of me not being a Linux guru or using this forum correctly, my first time.

I've been using Kubuntu since about Kubuntu 14 and always update to LTS versions. I usually can work things out for myself but this one has got me. I was on kernel 4.15-23 and did the upgrade to kernel 4.15-30 and 4.15-32/33 and 34 when the updates were available. However when booting they would never load any other kernel version only 4.15-23 would load. One day when I was bored looking through synaptic I saw tiny-initramfs as a right click option on the kernel entry, so without thinking I installed it. I didn't realise it replaced initramfs and when I booted it wouldn't boot/load anything.

That was 4 weeks ago and I've spent about 100 hours + on this and it is now making me frustrated. I've tried many different things, following different guides but re-booting either hangs or drops to INITRAMFS prompt. I've tried setting root and kernel by dropping to command prompt at GRUB. I've booted many times from a live CD and chroot into my os, reloading initramfs and removing tiny-initramfs via synaptic. I've tried installing LiLo as an alternate to see if that would reconfigure necessary files. I've installed boot-repair from the live cd and reinstalled grub and kernels but to no avail. I've tried editing fstab and cryptab files directly but it makes no difference.

I ran update initrmfs -uv and checking through the rows appears to fail at invalid line in crypttab file. I changed the line in crypttab, ran it again but still did not make any difference. The main problem appears to be it never loads the screen to prompt me for the decryption password.

I realise that a re-install would be the easiest but I have a system which I've built up over several years with all kinds of privacy/security/password managers/IDS/malware/virus checkers and really don't want to have to re-do all that if I can salvage the os and don't want to lose all my passwords.

Any help would be greatly appreciated.
Old 10-09-2018, 03:50 PM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
Try this:

Open a chroot shell to your '/'. Mount /boot and /usr if necessary. run 'bash' to get a better shell.

Remove tiny-initramfs with apt-get.

Remove lilo.

Delete existing initrd files in /boot using 'update-initramfs -d <version>'.

Reinstall grub with grubinstall.

Check if your initrd files are back in /boot.

It should work after that.

Last edited by AwesomeMachine; 10-09-2018 at 03:56 PM.
Old 10-09-2018, 09:52 PM   #3
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
dude you blew your intrid and maybe boot sector and pointed it to something
AwesomeMachine Remove lilo KUBUNTU=sbin/lilo NULL
drop a kubuntu live in there and sudo grub-install sdX x=your device
sudo mount /dev/sdx /mnt/tmp
grub-mkconfig /mnt/tmp/boot/grub
kubuntu uses uuid should be ok.

Last edited by Drakeo; 10-09-2018 at 10:10 PM. Reason: to much wine tired
Old 10-10-2018, 05:56 AM   #4
LQ Newbie
Registered: Oct 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks guys, I'll give this a try tonight when I get home and let you know.


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
[SOLVED] Help installing Kubuntu 10.10 in dual-boot config. EzioAuditore Linux - Newbie 4 03-21-2011 01:22 PM
Kubuntu 10.10 Dual Boot W/ Win 7 Pro: No Option To Boot Kubuntu FrostBot Ubuntu 2 01-26-2011 08:17 PM
Installing Kubuntu in Dual Boot Instantly Linux - Newbie 1 06-30-2007 06:04 AM
problem in installing boot image in kubuntu micro_xii Linux - Newbie 2 04-06-2007 03:57 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration