Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a newbie to GParted and Ubuntu in general. Basically, my main partition (boot) was mounted and I couldn't edit it in any way so I got very frustrated and, without really thinking, tried to forcibly unmount it. Now my PC won't boot up and I really have no idea what to do

share|improve this question

1 Answer 1

You need a LiveCD, which is just a bootable Linux CD. Once you boot into that, mount the hard drive somewhere, then view the logs in the mounted folder.

Load gparted from the LiveCD to find the device name of the boot partition. Let's say it's /dev/sda1.

Then open a console, and create a folder for mounting:

mkdir /mnt/boot

Then mount the boot partition:

sudo mount /dev/sda1 /mnt/boot

Change to the log folder:

cd /mnt/boot/var/log

Display the logs in date order:

ls -ltr

Now check any recently-modified log, such as syslog:

less syslog
share|improve this answer
    
If you're satisfied that your question has been answered, could you please also accept the answer so that the question is marked as 'answered'? –  Tom Oct 4 '12 at 20:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.