You should lock what is INSTALLED:
I locked mine to, please see attached pictures:
Since I'm using 4gb of ram I installed Ubuntu PAE that's why I also have linux-server, in your case, you might not have one.
Hope this helps.
You should lock what is INSTALLED:
I locked mine to, please see attached pictures:
Since I'm using 4gb of ram I installed Ubuntu PAE that's why I also have linux-server, in your case, you might not have one.
Hope this helps.
It's OK, everything we know will become obsolete at some time.
Take note: this will only lock your kernel forever, that is, Update Manager won't ever ask to NEW INSTALLS of kernels.
It's always a good practice to leave at least 2 versions of kernels in case something goes wrong with your current kernel, you can just as easily switch to other ones, by holding right shift key during boot.
Locking a kernel simple means, you won't be asked to NEW INSTALL any other kernels forever.
It's OK, everything we know will become obsolete at some time.
Thank you for you guys, this really saved my life when i busted the computing workstation in the office.
Hello guys
After the last kernel update i cant boot to my system and i have this error message
i try your guide to fix the problem but when i givenit: Failed to spawn hostname main process: unable to execute: No such file or directory
init: Failed to spawn mountall post-stop process: unable to execute: No such file or directory
sudo chroot /mount/newroot/
in step 5
returns
chroot: cannot run command ' /bin/bash' : No such file or directory
and then i cant give update-initramfs because it say is disable since is runing on read-only media.
What i am doing wrong?
i have find this
http://www.computing.net/answers/lin...mare/4588.html
and this
http://serverfault.com/questions/162...e-or-directory
but i dont know what to do to work chroot
@chek2fire - first of all, do you have a separate boot partitions? How many partitions do you have? You can see them type sudo fdisk -l in a live cd.
Chroot - simply means creating your "own little world" in a linux box.
1. first boot off a live cd
2. mkdir the necessary folders
3. be sure to mount boot only inside the root directory (this maybe your problem)
4. chroot in the root directory
It's OK, everything we know will become obsolete at some time.
i have done this but nothing happens. The strange thing is that in my installation are missing some folders like /bash /lib32 /lib64. I will try to copy that folder from the live cd
The problem must be more serious. I have see that all the /bin folder was empty. I have copy files from live cd to the /bin folder and i have finally execute update-initramfs but now i cant login in to my system. It say something about mount. In recovery mode i have this errors
/dev/sda1: clean
EXT4-fs (sda1):Unrecognized mount option "realtime" or missing value
An error occurrred while mounting /
Press S to skip mounting or M for manual recovery
mountall: mount / [413] terminated with status 32
mountall: Filesystem could not be mounted: /
Last edited by chek2fire; November 22nd, 2010 at 12:45 AM.
- I also don't have these folders, if that's not a typo error, and /bash, means it's located in the file system not inside a folder.installation are missing some folders like /bash /lib32 /lib64
- means you weren't able to mount the / directory properly.chroot: cannot run command ' /bin/bash' : No such file or directory
This happens when the folders aren't properly mounted. Do you have a separate boot partition? How many partitions do you have?
- yes, because it's not mounted yet OR you're not inside the jail yet.I have see that all the /bin folder was empty.
- it's because you've updated initramfs without ALL THE NECESSARY FOLDERS. You can't simply copy and paste folders inside the chroot. It's like installing from a cd with corrupt or missing files./dev/sda1: clean
EXT4-fs (sda1):Unrecognized mount option "realtime" or missing value
An error occurrred while mounting /
Press S to skip mounting or M for manual recovery
mountall: mount / [413] terminated with status 32
mountall: Filesystem could not be mounted: /
It's OK, everything we know will become obsolete at some time.
Ok thanks for the help and i finally i am again inside my system. The first thing that i have to do is to copy the bin folder from live cd to my partition. Then i have done with success the initramfs update and then i have to edit fstab and change the realtime to the correct relatime. Thanks again
Bookmarks