View Single Post
  (#3) Old
ugm6hr ugm6hr is offline
Senior Member
 
Posts: 127
Join Date: Jan 2009
Default Re: System crash during update, will not boot. HELP!! - 01-15-2009, 09:48 AM

Given the problem that the ubuntuforums website has been having, I thought I would preserve a copy of the relevant pieces of information here.

Just read all this in order, and follow:

Quote:
Try Ctrl+Alt+F1 (Ctrl+Alt+Fn+A)

That should drop you to tty1 screen.

Then you need to manually enter the username and password (hope you remember them!)

Hope that works for now.
Quote:
Assuming that works:

Code:
df /dev/sda2
Should tell you what % of HD space is being used (make sure there is some free - about 300000 should be OK).

If there is a reasonable amount free, plug into ethernet cable / router:
Code:
sudo dpkg --configure -a
sudo apt-get install -f
After entered user name and password - screen should appear

your_username@your_username:˜$

df /dev/sda2 gives:

Filesystem 1K-blocks 3555040 Used 2944464 Available 427036 Use% 88%

If Available > 400,000 you should be fine. Else you will have to delete files:

Quote:
First, lets see how many updates actually downloaded:
Code:
ls /var/cache/apt/archives
This will list all the updates that have downloaded alphabetically - just tell me what the last one in the list is (just the bit before the version number is fine).

I would start by deleting Trash (replace your_username with your username):
Code:
sudo chown -R your_username ~/.local/share/Trash
rm -rf ~/.local/share/Trash/*
Then I would suggest deleting personal files in /home (it would be possible to save them to a USB stick if necessary) to create a little more space (at least 20MB to be safe). This can be done from the commandline too with the "rm" command. For example, the following would remove the entire contents of your "Documents" directory, while prompting for a "y" to delete each file / directory (can repeat for "Music", "Pictures", "Videos", "Desktop"):
Code:
rm -ri ~/Documents/*
You can also delete any files in the "Home" directory (i.e. not in a subdirectory) with (be careful with this - there are plenty of hidden folders and files that should not be removed!):
Code:
rm -i ~/*
If that is not enough, you could delete the downloaded update files (you may need to redownload them):
Code:
sudo apt-get clean
Quote:
I have just realised my mistake: you have about 400MB free (not 4MB). Which makes sense with 12% free of a 4GB HD.

Just do the following (at your_username@your_username command line):

Code:
sudo dpkg --configure -a
sudo apt-get install -f
sudo reboot
This should allow you to log back in. Once in, open a Terminal and ensure the updates complete properly:
Code:
sudo apt-get update
sudo apt-get upgrade
Then lets free up some space (delete the update files taking 175MB space):
Code:
sudo apt-get clean
Nevertheless, you will need to be careful about future updates. Best to use the Terminal, and ensure you have at least 200MB free space before each one. Deleting Trash (as above) is useful.
Quote:
http://mydellmini.com/forum/warning-...ate-t2422.html

To fix the Firefox bookmarks / profile issue:

Either use Terminal (Applications -> Accessories -> Terminal):
Make sure you copy and paste exactly as here
Code:
rm ~/.mozilla/"web browser"
ln -s ~/.mozilla/firefox/ ~/.mozilla/"web browser"
Or use the File Manager (aka nautilus):
[quote:3qwts9dc]
Browse "Home Folder" (Places -> Home Folder)
Menu: View -> Show hidden Files
Double-click to Open ".mozilla"
Single left-click "web browser" (if it exists) and press Delete key on keyboard
Right-click "firefox" -> Make link
Right-click "Link to firefox" -> Rename; type "web browser" and press Return on keyboard

To remap the Windows key to F11 (which allows fullscreen in Firefox):
Code:
echo "keycode 115 = F11" > .Xmodmap
Reboot and "load" the xmodmap when offered.[/quote:3qwts9dc]
Reply With Quote