LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2011, 12:50 AM   #1
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Rep: Reputation: 2
I can't boot into Ubuntu 10.10 notebook edition


Good Morning Everyone:

I have been studying CompTIA Linux+ Complete Study Guide 2010 Edition online for the last couple of weeks.

So on section 5.2.3 The Boot Process, I was trying to open and see the content of /sbin/init file on my Ubuntu 10.10 notebook edition about an hour ago. I opened it in vi editor. I must have accidentally made a change and then saved it.
(Now I know better, that it is a binary file and can't be read)
Now I can't even boot into ubuntu 10.10. I see the screen stuck in lots of errors.

Code:
Begin: Running /scripts/init-bottom ... done.
[    3.
.
.
.
.
.
.
.
.
.
.



[   3.001886]  [<c05c91ec] work-notifysig+0x13/0x1b

-
Does anyone know how to fix it.
I have lots of valuable personal files on it, which I don't want to lose.
By the way, I also tried to boot into recovery mode, but get the same result.



mansour

Last edited by mansour; 09-30-2011 at 12:54 AM.
 
Old 09-30-2011, 12:59 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

Do you see this screen before, during, or after your boot loader?

Cheers,

Josh
 
Old 09-30-2011, 01:04 AM   #3
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by corp769 View Post
Hello,

Do you see this screen before, during, or after your boot loader?

Cheers,

Josh

Hello Josh:


After the boot loader.
So I see the boot menu after I turn on my laptop, I choose one line and enter, then I see this screen.


mansour
 
Old 09-30-2011, 01:07 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Just to rule it out, have you tried running a different kernel?
 
Old 09-30-2011, 01:11 AM   #5
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by corp769 View Post
Just to rule it out, have you tried running a different kernel?

Yes, the same result.

I ran 2.6.35.22 Generic, instead of 2.6.35.28 Generic, but got similar result.
Of course, the error lines are not identical, but they are similar.

This is always the last line on my screen.

Code:
[   3.001886]  [<c05c91ec] work-notifysig+0x13/0x1b
with work-notifysig+0x13/0x1b being always the same.


mansour

Last edited by mansour; 09-30-2011 at 01:23 AM.
 
Old 09-30-2011, 01:18 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Ok. You are going to have to run up your live CD, mount your system, and make changes to that file. Do you have it backed up, or do you know what the contents are supposed to be of that file?
 
Old 09-30-2011, 01:21 AM   #7
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by corp769 View Post
Ok. You are going to have to run up your live CD, mount your system, and make changes to that file. Do you have it backed up, or do you know what the contents are supposed to be of that file?

No unfortunately I hadn't backed up anything, and don't know what that file looks like. It was binary as I said, so I couldn't read it.

Only if there was a way to download a clean fresh copy of /sbin/init file from The Internet and install it on top of the damaged copy, that should do it.
But how would I achieve this?


I found this tutorial:
http://karuppuswamy.com/wordpress/20...rescue-prompt/

OK, I am able to boot into live CD and On the desktop ==> Places ==> Home Folder ==> I see 7 partitions in the left pane:

127 MB
13 GB
8.0 GB
4.0 GB
4.0 GB
4.0 GB
4.0 GB
5.0 GB


I mounted them all, by right clicking on them and then mount. but how would I know which one is my root partition?

The 127 MB partition includes the grub folder
The 13 GB partition includes the root folder
then there are 5 more partitions.

I can actually see the partition containing sbin folder. That's the one I messed up. /sbin/init file.


mansour

Last edited by mansour; 09-30-2011 at 08:57 AM.
 
Old 09-30-2011, 09:07 AM   #8
mansour
Member
 
Registered: Nov 2010
Location: Toronto, Canada
Distribution: Ubuntu 10.04 Lucid Lynx - Ubuntu 10.10 notebook - Debian 5.08 - Win XP
Posts: 172

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by corp769 View Post
Ok. You are going to have to run up your live CD, mount your system, and make changes to that file. Do you have it backed up, or do you know what the contents are supposed to be of that file?

My problem is like this person.

http://karuppuswamy.com/wordpress/20...rescue-prompt/


He had ubuntu 10.04 mine is ubuntu 10.10 notebook edition.
But problem is the same. I messed up the /sbin/init file, and now the machine won't boot into ubuntu.
But how would I export /sbin/init file from the live CD to the machine?
could anyone help me here?



mansour

Last edited by mansour; 09-30-2011 at 09:09 AM.
 
Old 10-01-2011, 10:40 AM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by mansour View Post
My problem is like this person.

http://karuppuswamy.com/wordpress/20...rescue-prompt/


He had ubuntu 10.04 mine is ubuntu 10.10 notebook edition.
But problem is the same. I messed up the /sbin/init file, and now the machine won't boot into ubuntu.
But how would I export /sbin/init file from the live CD to the machine?
could anyone help me here?



mansour
You could run up the live CD, mount the hard drive, and directly copy the file over.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Ubuntu latest edition USB boot key? Arthur Linux - Newbie 4 08-06-2011 01:13 PM
[SOLVED] Installation of backup software luckybackup fails in ubuntu 10.10 notebook edition mansour Linux - Newbie 3 05-08-2011 08:20 PM
How to install Ubuntu Netbook Edition to dual boot with XP? th_matt Linux - Newbie 2 04-21-2011 10:00 AM
History feature not working on ubuntu 10.10 notebook edition terminal mansour Linux - Newbie 37 04-06-2011 05:38 PM


All times are GMT -5. The time now is 04:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration