update-initramfs error [SOLVED]

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

update-initramfs error [SOLVED]

Postby cecar on 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: 365
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden

Linux Mint is funded by ads and donations.
 

Re: update-initramfs error

Postby cecar on 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.. :)
cecar
Level 4
Level 4
 
Posts: 365
Joined: Tue Aug 24, 2010 2:47 am
Location: Stenungsund, Sweden


Return to Newbie Questions

Who is online

Users browsing this forum: No registered users and 5 guests