Newbie here, so bear with me...I've got Ubuntu 10.10 installed on a 4Gb flash card. Love it. I've got some time invested in this installation so I'm asking the experts what I can do to prevent having to burn another copy!
Two days ago, when booting from Flash copy, the 'normal' user ('Ubuntu') signed in. On this installation, I boot from the flash onto a HP Pavilion Slimline and only have two (2) users; Ubuntu and myself. No biggie, always has worked fine. But on this day, some weird 'Gnome Keyring' message came up...I honestly think the culprit was a Gnome Program (Gnome Do) that I installed the previous day. Now I don't know a Gnome Keyring from a spoon, but somehow I got out of the message (mutliple 'escape' key hits, and finally had to just power down the system) but in doing so, something must've gotten way corrupted.
On next boot, all appeared fine, all programs worked, EXCEPT: Package installer wouldn't work, Ubuntu software center wouldn't work and the Archive Manager wouldn't work. Hmmm.....must've whacked something. Went into Terminal and was going to SUDO something when I discovered, my \etc\sudoers (or something like that file) was MAJOR messed up. Line errors everywhere. In doing a 'More' of the file, it's all graphic characters. Maybe this file is causing my other problems, but I know I've got to get SUDO and/or SU working again and here's my problem:
I wanted to install / write a new \etc\sudoers file....I tried to boot into Recovery mode (quite the journey unto itself!) and I got a Terminal window. But even in Recovery mode, issuing a 'sudo' command results in the same errors that I got in normal mode.
So, my dilmena is I know my \etc\sudoers file is whacked. Everything else, except the previously mentioned programs work fine. But I absolutely do NOT know how to get this file back, because even recovery mode won't work. I tried to use a LIVECD version on a machine, but when I plug in the FLASH card, it doesn't resemble the file structure that I see on the FLASH when it's the boot device.
I know there's gotta be an easier solution than just redoing this flash; I've got a ton of time invested in nVidea drivers and Broadcom wireless and just don't want to start over. Plus I think I may learn something, besides don't EVER, EVER hard boot Ubuntu without safely shutting down....gotta say, Windows sure is well behaved there!
Can any experts help me with this one?
Many thanks in advance!
PH
Bookmarks