Thread: [Ubuntu Server 10.04] edited rc.local, now wont boot
hi
first post in forum, new linux/ubuntu , servers in general - please go easy on me!
firstly i'm using ubuntu server 10.04 lts. used this guide mount windows shares permanently. access fine after running 'sudo mount -a'. whenever reboot windows share mounts lost, though specified them correctly in /etc/fstab. every time reboot had run 'sudo mount -a' shares mount. after googling found out /etc/rc.local , put in there command 'sudo mount -a' -- think runs @ boot anyway thought "kludge" working without me manually typing in.
boot hangs. gets '* starting web server apache2' , the next line 'password:' , wont go further, , not respond keyboard (except ctrl+alt+del). think gotten rc.local , wants password complete 'sudo mount -a' command, cant type in or passed it. how can fix this? -- if totally messed can reinstall because box i'm learning on , nothing important cant reinstall. i've searched lot , not found anything...help?
think way fix boot operating system , fix rc.local somehow -- other ideas?
been few days while tried fix it, if cant find way format/reinstall ubuntu 10.04 cd.
in advance.
hello!
"password:" it's because of "sudo" put in rc.local.
try write root password , press enter.
if not, can boot ubuntu live cd , editfile, removing "sudo". should fix it./etc/rc.local
anyway, should mount things on fstab without thatin rc.local.mount -a
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] [Ubuntu Server 10.04] edited rc.local, now wont boot
Ubuntu
Comments
Post a Comment