LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-29-2011, 11:50 PM   #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-29-2011 at 11:54 PM.
 
Old 09-29-2011, 11:59 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

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

Cheers,

Josh
 
Old 09-30-2011, 12: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, 12:07 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Just to rule it out, have you tried running a different kernel?
 
Old 09-30-2011, 12: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 12:23 AM.
 
Old 09-30-2011, 12:18 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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, 12: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 07:57 AM.
 
Old 09-30-2011, 08: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 08:09 AM.
 
Old 10-01-2011, 09:40 AM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
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



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 12:13 PM
[SOLVED] Installation of backup software luckybackup fails in ubuntu 10.10 notebook edition mansour Linux - Newbie 3 05-08-2011 07:20 PM
How to install Ubuntu Netbook Edition to dual boot with XP? th_matt Linux - Newbie 2 04-21-2011 09:00 AM
History feature not working on ubuntu 10.10 notebook edition terminal mansour Linux - Newbie 37 04-06-2011 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 AM.

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
Open Source Consulting | Domain Registration