SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-14 10:26:00

mzsade
#! Junkie
Registered: 2009-09-27
Posts: 276

[SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

Fine, i am a troglodyte and i do not resent that you find this hilarious. Please tell me what do i do now when you can stop laughing your heads off. neutral

:-$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.2.0
Found initrd image: /boot/initrd.img-4.2.0
Found LMDE 2 Betsy (2) on /dev/sda2
done

:~$ sudo update-initramfs -u
/boot/initrd.img-4.2.0-3.16.0-4-amd64 does not exist. Cannot update.

:~$ sudo update-initramfs
You must specify at least one of -c, -u, or -d.

Usage: /usr/sbin/update-initramfs [OPTION]...

Options:
 -k version     Specify kernel version or 'all'
 -c             Create a new initramfs
 -u             Update an existing initramfs
 -d             Remove an existing initramfs
 -t             Take over a custom initramfs with this one
 -b directory   Set alternate boot directory
 -v             Be verbose
 -h             This message

:~$ /usr/sbin/update-initramfs -c
Create mode requires a version argument

Usage: /usr/sbin/update-initramfs [OPTION]...

Options:
 -k version     Specify kernel version or 'all'
 -c             Create a new initramfs
 -u             Update an existing initramfs
 -d             Remove an existing initramfs
 -t             Take over a custom initramfs with this one
 -b directory   Set alternate boot directory
 -v             Be verbose
 -h             This message

:~$ /usr/sbin/update-initramfs -c 4.2.0
Extra argument '4.2.0'

Usage: /usr/sbin/update-initramfs [OPTION]...

Options:
 -k version     Specify kernel version or 'all'
 -c             Create a new initramfs
 -u             Update an existing initramfs
 -d             Remove an existing initramfs
 -t             Take over a custom initramfs with this one
 -b directory   Set alternate boot directory
 -v             Be verbose
 -h             This message

Last edited by mzsade (2015-09-14 12:07:19)

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-14 10:33:31

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

Offline

#3 2015-09-14 10:38:08

mzsade
#! Junkie
Registered: 2009-09-27
Posts: 276

Re: [SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

To update the firmware? Besides, shouldn't i be able to, or have one that can be like it used to?

Offline

#4 2015-09-14 11:29:05

mzsade
#! Junkie
Registered: 2009-09-27
Posts: 276

Re: [SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

I did this as advised on an askubuntu page;

:~$ sudo rm -rf /var/lib/initramfs-tools/
:~$ sudo dpkg --force-depends --purge initramfs-tools
:-$ sudo apt-get install initramfs-tools

Now on reboot

; :~$ sudo update-initramfs -u
update-initramfs: /boot/initrd.img-4.2.0 has been altered.
update-initramfs: Cannot update. Override with -t option.

I hope i will not be grudged a solution because i've no idea what i am doing or because you find my justification for updating initramfs or initrd "frivolous".

Last edited by mzsade (2015-09-14 11:34:30)

Offline

#5 2015-09-14 11:37:28

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

Offline

#6 2015-09-14 12:17:23

mzsade
#! Junkie
Registered: 2009-09-27
Posts: 276

Re: [SOLVED]Cannot (update-initramfs -u) after upgrade to Sid

Truly contrite, i only read your question,  missed the link above completely. need new glasses..among other things.
In the end, the solution turned out to be quite trivial;

:~# update-initramfs -u -t
:~# update-initramfs -u 
update-initramfs: Generating /boot/initrd.img-4.2.0
:~# 

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo