Xubuntu [persa password]...Le ho provate quasi tutte

Ant0nella

Nuovo Utente
1
0
Ciao a tutti ho un grosso....grossissimo problema.
Premetto che è la prima volta che lavoro su linux....
...sono alle prese con la mia tesi di laurea e ho ereditato un progetto su una macchina virtuale sulla quale è installato Xubuntu 9.10.
Il fattaccio è che non mi è possibile installare alcuna nuova applicazione in quanto il tipo prima di me ha immesso una password sul sudo.
Sono 2 giorni che leggo forum e guide, la cosa da fare sarebbe cambiare questa passwd avviando il sistema in recovery mode e bla bla bla....purtroppo proprio non riesco ad entrare in questo cacchio di recovery mode!!!
Al riavvio del sistema ho premuto esc quando inizia a caricare e mi esce un "boot menu" dove trovo una lista:
*********************************
1.Removable Devices
2.Hard Drive
3.CD-ROM Drive
4.Network boot from AMD Am79C970A

<Enter Setup>
*********************************
... ho anche provato a premere esc o tenere premuto shift mentre esce la scritta "grub loading...",ma niente!
Per quanto riguarda il timeout del grub, se qualcuno credesse che nn visualizzo la schermata del conto alla rovescia a causa sua, non posso modificarlo poichè temo di nn avere i permessi.
Non è che il grub è coperto da passwd?Ho letto su qualche forum che in quel caso la procedura di ripristino sarebbe diversa...


Vi posto il file di configurazione del grub:
************************************************************
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-21-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro quiet splash
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-21-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-21-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro single
initrd /boot/initrd.img-2.6.31-21-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro quiet splash
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-17-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-17-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro single
initrd /boot/initrd.img-2.6.31-17-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=c8b7043b-f1a1-4cfb-8432-e5da36a6ecf6 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
************************************************************




Questo è il file dei settaggi iniziali:

*************************************************************
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
************************************************************

E' un guaione!!!Non posso esportare il progetto mi farebbe perdere un casino di tempo!!
VI PREGO.........CHE QUALCUNO MI SALVI!!
 

Alex Mahone

Utente Attivo
362
30
oltre a seguire la guida indicata da zesto, vorrei sapere una cosa...quando avvii il pc, quando ti esce il menù di grub non riesci ad accedere alla recovery mode? in genere è la seconda voce nel menù...
 

Ico Bellungi

Utente Èlite
2,920
626
A me è successo una volta anni fa di perdere una password di root. Non ricordo benissimo la procedura, ma risolsi con una live, da cui feci un chroot sulla partizione su cui era installato il sistema operativo originale e da lì ho cambiato la pwd. Ripeto, non ricordo bene come fu, ma ci ho messo meno di 15 minuti
 

peppe990

Utente Attivo
1,203
28
CPU
Intel Core 2 duo T6600 2.20GHz
HDD
320 GB
RAM
4 GB ddr2
GPU
NVIDIA geforce GT220M CUDA 1GB
Monitor
16" HD/LED (1366 x 768)
OS
Windows 7 x64 / Ubuntu 10.04
Come dice Alex Mahone controlla se nel grub trovi la voce recovery mode, dovrebbe esserci almeno che non sia stata disattivata, in questo caso credo che basti un comando dal live cd.

Poi ti consiglio di leggere questa guida:

Sicurezza/GestionePassword/Recupero - Wiki di ubuntu-it

Edit: come non detto, su macchina virtuale è normale che non ci sia il grub
 

Entra

oppure Accedi utilizzando
Discord Ufficiale Entra ora!