Ubuntu Server Tips
Cette version date du 2011/04/30 17:59. Vous pouvez la Restaurer.
Boot error whith Natty(Éditer)
I got the same error this past weekend all I did was boot from the live CD and chrooted my Natty / using the following commands:
- sudo mount /dev/sdXx /mnt
- sudo mount -o bind /dev /mnt/dev
- sudo mount -o bind /sys /mnt/sys
- sudo mount -o bind /proc /mnt/proc
- sudo chroot /mnt
Once at the prompt I reinstall grub:
- grub-install /dev/sda
- and then updated grub
- update-grub
- then Ctrl-D twice to exit, and reboot.
To set passwords for users from the command line, type:(Éditer)
chpasswd
Followed by entering username:password pairs, one pair per line. Enter CTRL+D when finished.
user1:passwd1
user2:passwd2
CTRL+D
~$ sudo chgpasswd root:***
CTRL-D
Nettoyage des anciennes images(Éditer)
~# dpkg -l | grep linux | cut -f 3 -d " "
~# apt-get remove linux-image-2.6.32-28-generic-pae —purge