Troubleshooting with Ubuntu Live CD
If you look through the CD rack in the Walk-In you will find a few Ubuntu CDs. Put these in a computer of any model and boot from CD to start up a fully working system without installing anything to the hard drive.
Why / when to use Ubuntu live CD
- Test hardware: if sound / video / network works, you know that the hardware is not broken.
- Retrieve / copy files from PC hard drives
- Resize, create, delete partitions using the Partition Editor
- Memory test option
- Have a fully working OS with Office suite, browser, etc. without relying on the hard disk
- Bart is a little slower to start and has less programs available.
- Ubuntu is generally immune to viruses & spyware.
- With Ubuntu you can use any of the preloaded programs while transferring files or doing other useful stuff.
Don't use when...
- If you want an official hardware diagnosis on a Dell, use the Dell diagnostics instead.
- Ubuntu doesn't have Norton Ghost for reimaging computers. If you want Ghost, use the Bart/Ghost CD.
Starting the live CD
- Insert CD into hard drive.
- Turn on or restart computer.
- Tell computer to boot from CD. (on Dell: press F12 at first screen)
- Choose the language and select "Try Ubuntu without installing". (Or, if you want to test the computer's memory, select "Test Memory". Ubuntu won't load if you test memory; it will just do a basic memory test and show you the results.)
- Wait for Ubuntu to boot to the desktop. If the sound is working, it should play a startup sound.
- Applications will be listed in categories under the "Applications" menu in the top left corner.
- Connect to connected drives using the "Places" menu.
- Access system settings and certain admin applications (like the Partition Editor) through the "System" menu.
- Use the Network icon at the top-right to connect to wired or wireless networks. If plugged in, Ubuntu should connect to the wired network automatically.
- The "Add/Remove Programs" application under the "Applications" menu won't install many programs on a live CD system; it's mainly to show you what programs are available once Ubuntu is installed on the computer.
How to access an uncooperative NTFS drive on Ubuntu using force-mounting
NTFS is the standard Windows filesystem type, designed by Microsoft and used in Windows 2000, XP, Vista, and 7. NTFS was designed without much cross-platform compatibility or open specifications in mind. As a result, historically it has been very hard to access NTFS drives using Linux, let alone write to them. Now Linux systems, including Ubuntu, can read and write perfectly to NTFS drives - with one exception.
NTFS drives have a switch that indicates whether they are currently in use (or "dirty"). When Windows shuts down normally, this switch is turned off as part of the shutdown process. However when Windows freezes or crashes or is shut down improperly, this switch is not set to "off". You can see this when you start Windows the next time - it tells you "Windows was not shut down properly" and offers to start up in Safe Mode.
When you try to access an NTFS drive on Ubuntu, Ubuntu will automatically mount the drive and display the contents with read/write access as long as the drive's in-use switch is not "dirty". Otherwise it will display a long error message explaining that it cannot mount the dirty NTFS drive.
- (Need Screenshot)
If this happens, you can use 2 terminal commands to mount the drive. We do what's suggestively called a "forced mount". It's a little scary but not hard at all. Here's how:
- Keep the error message window open. Locate the part where it suggests the Terminal command that looks something like the following - your details may differ:
mount -t ntfs-3g /dev/sdb1 /media/disk1 -o force
- Look closely at this command. It basically says: Do this action (mount/access drive) - (option -t) - Type of driver to use (drive is NTFS) - Place where the "raw" drive is found (in folder /dev) - Where to attach the drive to (in folder /media) - (More options -o) - Force mounting even if drive is "dirty". Get it?
- Open the Terminal program: Applications -> Accessories -> Terminal
- Create the folder name under /media as mentioned in the Terminal command suggested in your error window, using the command "sudo mkdir" (make a directory, and do it with Super privileges) - then press ENTER. For example, I would type:
sudo mkdir /media/disk1
- If an error message came up, you probably typed it wrong. If no error message came up, you're ready to enter the command discussed in #1, which mounts the hard disk.
- Type the mentioned MOUNT command exactly as shown in the error window, then press ENTER. If you have followed all the instructions correctly, the Windows drive should appear on the Desktop. You can now access it and read and write files.
How to use Partition Editor
One of the many tools that comes default with the Ubuntu live CD is the Partition Editor - basically does the same job of Norton's $70 Partition Magic. You can use this to create, delete, move, resize, or reconfigure partitions on a hard drive. Partition Editor works with NTFS (Windows), FAT (old), and EXT (Linux) filesystems, plus others.
Find Partition Editor: System -> Administration -> Partition Editor