update-initramfs error [SOLVED]

Archived topics about LMDE 1
Forum rules
cecar
Level 4
Level 4
Posts: 371
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

update-initramfs error [SOLVED]

Postby cecar » Thu Dec 16, 2010 11:31 am

I get an error when running....

Code: Select all

sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
[: 71: /etc/initramfs-tools/conf.d/resume: unexpected operator


I edited the file /etc/initramfs-tools/conf.d/resume because hibernate did not work because it contained wrong UUID. Hibernate works now but sudo update-initramfs -u generates an error.

Anyone got an idea what can be wrong?

//Thanks
Last edited by cecar on Thu Dec 16, 2010 3:36 pm, edited 1 time in total.

cecar
Level 4
Level 4
Posts: 371
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Re: update-initramfs error

Postby cecar » Thu Dec 16, 2010 2:09 pm

I fixed it..
I renamed the resume file to rename.bak

run sudo update-initramfs -u. Generated no errors.

Renamed resume.bak back to resume.

run sudo update-initramfs -u. Generated no errors.

Well i dont know why it got fixed but it did.. :)


Return to “Archive”

Who is online

Users browsing this forum: gene0915 and 3 guests