LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux doesn't start. (https://www.linuxquestions.org/questions/linux-newbie-8/linux-doesnt-start-787581/)

elishac 02-07-2010 09:48 AM

linux doesn't start.
 
Hello,

I have yet another problem with ubuntu :(.
I closed my laptop screen and afterwards the computer wouldn't come out of its hibernation, so I forced him to shut down.
Now, when I start the computer, grub loads, and then there's a ubuntu logo and then some lines appear ("fsck from..." (no time to read)) and then after one second or so, the screen becomes black, with only two '_' in the top center of the screen. Nothing happens next. To shut it down, I don't need to press the power button for 5 seconds : 1 time is enough.
What can I do ?

Thanks.

amani 02-07-2010 10:30 AM

boot in ubuntu recovery mode and fsck the partitions

then reboot

elishac 02-07-2010 11:16 AM

how to fsck the partitions?

tredegar 02-07-2010 11:21 AM

Quote:

how to fsck the partitions?
Easiest is to boot from a live CD

Check which they are with fdisk -l in a terminal.

Do not mount the partitions to be fsck'd. Check they are unmounted with mount and unmount them if necessary.

Then (as root) fsck /dev/sda1 or whatever the partition is.

See man fsck for all the options

amani 02-07-2010 11:26 AM

or use the parted magic or gparted live cd for doing it on a GUI

elishac 02-07-2010 03:51 PM

I don't have a live cd. When I use the recovery shell, there are many lines that don't stop coming, and I cannot do anything except force him to shut down.
Can someone give me a step by step walkthrough please ?
I'm a newbie I don't know what to do.

tredegar 02-07-2010 05:16 PM

Quote:

When I use the recovery shell, there are many lines that don't stop coming, and I cannot do anything except force him to shut down.
... Because your installation is broken (you probably powered it down badly, the filesystem is corrupted, so it will not work even in "recovery mode").

Quote:

I don't have a live cd.
Then download and burn one (on a different computer, if necessary).

You need a "live CD distro" to hand, in case of future problems. My knoppix CD from years ago (?2006) still rescues me from problems.

Otherwise, download and burn the current 'buntu, it'll run from "live CD" - and it will not use your HDD unless asked to do so. So you can probably use it to correct the fault(s) on your current installation.

Download a "live CD", burn it, boot from it, and we'll probably be able to help you.

elishac 02-07-2010 05:41 PM

I don't have any CDs at home to download a live CD. I don't use CDs. I only have usb keys and hard drives, they're cheaper. What can I do except downloading a live CD?
The second OS (windows) works just fine.

evo2 02-07-2010 08:23 PM

You can also put a live image on a usb key. Have a google to find out how.

Evo2.

EricTRA 02-08-2010 12:00 AM

Hello elishac,

Seems you're having quite some bad luck with your Ubuntu, isn't it? Just like tredegar said, if your system is that broken that you cannot even enter in recovery mode then there's no other option to follow the advice that evo2 posted. Download an image of Ubuntu LiveCD and use a tool like unetbootin to install it on a USB stick. Next boot from that USB stick and follow the procedure tredegar pointed out.

Good luck!

Kind regards,

Eric

elishac 02-09-2010 05:19 PM

So, I managed to borrow a CD from a friend for a couple of days, to solve this problem.
Can you please give me a step by step as to what I have to do exactly from here ?

tredegar 02-09-2010 05:36 PM

Quote:

Can you please give me a step by step as to what I have to do exactly from here ?
You could start by telling us which CD you have borrowed. They are all different: knoppix, and the 'buntus come to mind as possibilities, but there are many others.

If you would like "step by step" instructions then we have to know what, exactly, you have in front of you.

Try booting from it, what does it say? If you are in doubt, just tell us what it says, and then choose "Exit" or "Cancel". Then get back to us with the proper information.

Help is here, but you need to help us help you.

elishac 02-09-2010 06:22 PM

I'm sorry, you're right I wasn't clear enough.
What I meant is that I borrowed a cd, but that's it. I didn't do anything else. The cd is clean. There's no knoppix or 'buntus or whatever else in it.
It's a DVD+RW.

evo2 02-09-2010 07:09 PM

Burn an ubuntu (since that seems to be what you use) image to it. There are instructions here:

http://www.ubuntu.com/GetUbuntu/download

Evo2.

elishac 02-09-2010 07:22 PM

Ok, I'm downloading it at the moment. But it sounds weird to me that I have to download the whole thing. I won't lose my personal data and personal system settings, will I ?


All times are GMT -5. The time now is 11:48 AM.