LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-09-2007, 08:31 PM   #1
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Rep: Reputation: 30
Upstart on Debian (Sid) Oops


I enabled the experimental repositories and installed upstart (which removed sysvinit). I knew it just went way to easily! I was right, my system will not boot. Is there any way to fix it? I don't know where to start. Thanks!
 
Old 08-09-2007, 09:26 PM   #2
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Original Poster
Rep: Reputation: 30
I was able to fix it and reinstall sysvinit via chroot. But is there a way to get upstart working in Debian?
 
Old 08-09-2007, 09:28 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Well, now you know why
a) it's called UNstable in the first place
b) the Debian-dev's strongly discourage any users to use Sid, unless someone really knows what he's doing and
c) you shouldn't disregard such strong warnings, even if others claim to have succeeded (results achieved by others doesn't necessarily mean you reach the same results as well... ;-))

Anyway, there are 2 ways to fix this and neither is easy, quick or trivial.
1) get the Etch net-install cd and start from scratch, making sure you only upgrade to Testing if you really cannot live without the latest and greatest. Backup your data before you start.
2) build a bootable CD to create a rudimentary Debian system so you can remove the Experimental stuff and re-install sysvinit. Again: backup your data before you start. (hint: you can override the settings in the Grub menu by adding the root= parameter on the Grub commandline, pointing it to the root filesystem on the cd)
 
Old 08-09-2007, 11:00 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
upstart is in experimental for a reason, when it is more or less ready it will make its way into Sid.

Congrats on getting things fixed. Thats one of the reason why I keep a nice livecd like sidux on hand for just those fun times when things go crazy.
 
Old 08-10-2007, 12:17 PM   #5
masinick
Member
 
Registered: Apr 2002
Location: Greenville, SC
Distribution: Debian, antiX, MX Linux
Posts: 636
Blog Entries: 16

Rep: Reputation: 104Reputation: 104
Me too, I keep multiple distros

Quote:
Originally Posted by craigevil
upstart is in experimental for a reason, when it is more or less ready it will make its way into Sid.

Congrats on getting things fixed. Thats one of the reason why I keep a nice livecd like sidux on hand for just those fun times when things go crazy.
No reason not to experiment and learn. It is always wise, however, to keep at least one, preferably several, different alternatives available so that if something breaks, you have system(s) that work while you figure out what happened and how to fix it. This is a great way to learn without having to press the panic button.

Asking questions is OK, but the more you can research first before asking a question, the more you learn, the more focused your questions become, and the more likely experts are to answer your questions - because they see your effort and appreciate the scenario you have encountered because you describe it in detail.

These are principles I try to apply when I am testing something. If I just don't have a lot of time to research, sometimes I will still ask questions, prefacing them with the fact that my research time is limited. I still try to figure out as much as possible and provide the background necessary to get the question intelligently answered. Most of the time I get an answer, but sometimes I figure it out first. In that case, I share back that I have found an answer, document it and let others know so that: 1) They don't have to answer and 2) That others may benefit from what I have learned.

I feel these are good practices.
 
Old 02-19-2010, 11:54 AM   #6
zapolsky
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
recipe

You can restore your system but you need to make live cd/usb with Debian or Ubuntu system.
Make following steps:
1) boot for live cd
2) open terminal and login as root (You need root privilegies). Accomplish command: `sudo -s`
3) Mount your root of your linux system. For instance: `mount -t ext3 /dev/sda1 /mnt`
3) change root to just mounted root by `chroot /mnt`
4) to remove upstart run in the terminal `apt-get remove upstart`
5) to install sysvinit go to `cd /var/cache/apt/archives/`
6) type and run following script:

for pkg in sysvinit*.deb
do
dpkg -i "$pkg"
done
7) Reboot to your system
 
0 members found this post helpful.
  


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
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
Debian Etch to Sid? How Stable is Sid? xxAlk3XKidXx Debian 28 02-25-2007 06:32 PM
Installing debian gives me kernel oops Captain Tram Debian 3 11-28-2006 08:12 AM
What our the differences between debian (Sid) and knoppix 3.4 (Sid)? maximalred Debian 6 06-06-2004 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:33 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
Open Source Consulting | Domain Registration