TechnicalBooting lonely Linux

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.56 In reply to 41672.54 
Yours *must* be using inittab (Sysvinit is the name of the actual init system, inittab is one of its configuration files).

The only two possibilities are Sysvinit or Systemd. When you tried the Systemd way it told you it wasn't installed.

It might be that that documentation is for a newer version of Raspbian than you are using?

>If I don't need systemd, can I uninstall it without borking what I have got working so far?  Is it doing any harm?

I'm not entirely sure how you managed to install it without completely breaking everything. Replacing the init system is not the kind of thing you do if you can possibly avoid it, it's a massive thing.

It *may* be that you've arrived at some sort of half-way house with bits of each floating around but I think that's unlikely since I'm pretty sure you wouldn't be able to boot if that were the case. What I think is more likely is that you've installed Systemd but it's not being used. Which is fine, I'd leave it like that (because I'm scared that if you touch it everything is going to come falling down).

I'm *fairly sure* you're using Sysvinit. I'd try the inittab approach and see if that works.

Ok, just checked the Raspbian page and there's a choice of images available. The Jessie ones will be using Systemd while the Wheezy ones will be using Sysvinit.

Assuming they've not backported the kernel (unlikely with Debian) you can check which you're on with:
 
Code: 
uname -r

If the returned number is lower than 4 then you're on Wheezy and thus Sysvinit/inittab. If it's higher than 4 then you're on Jessie with Systemd.

It *might* be that your installation is just fucked somehow. The fact that you couldn't edit that file the other day is kinda worrying in that regard.

But yeah, find out which version you're on. If it's <4 then edit inittab as above. If it's >4 then ... we'll work out what to do with your clearly broken Systemd.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Drew (X3N0PH0N)     
41672.57 In reply to 41672.56 
 :-((  :-((  :-((

----
"I could stand in the middle of Fifth Avenue and shoot somebody and I wouldn’t lose any voters"
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Manthorp      
41672.58 In reply to 41672.55 
Where/when are you on? I'm local!
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Drew (X3N0PH0N)     
41672.59 In reply to 41672.49 
Step 2. :'(
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  graphitone     
41672.60 In reply to 41672.58 
Soz Graphitone, I was at Chapel FM in Seacroft, banging on about artfaggery

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Peter (BOUGHTONP)     
41672.61 In reply to 41672.48 
:'D

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41672.62 In reply to 41672.49 
Bastard. No need for that. Apologise to him.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Peter (BOUGHTONP)     
41672.63 In reply to 41672.59 
Ahahah. Y'know, I noticed that when I made the post then completely forgot about it :D

I'mSoRRyBP (hug)
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.64 In reply to 41672.56 
I completely erased the card and reinstalled everything from scratch so everything's tickety-boo.

Yes, it does have inittab after all.  After a bit of mucking about I made this change to it and it worked, so thank you very much.  I've created an image of the installation with everything working, just in case of disaster.

Now I just have to install Ant's code and (maybe) it's done!

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Manthorp      
41672.65 In reply to 41672.64 
I'm sure there must have been an easier way to do this, I might see if there's a method without using a window manager at all.

I would have hoped it would be boot to prompt, autologin, run lonely script.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.66 In reply to 41672.64 
Glad it's working.

You *should* now be able to just add the script you want to run to /etc/profile and it should run. That is if you're logging in automatically to a virtual terminal and not using a window manager. Ant's talk of window managers has me confused.

Edit: Although Ant's approach of running it as a daemon will make sure it comes back up if it crashes, which adding it to /etc/profile won't. So it's a better solution.
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
41672.67 In reply to 41672.66 
You may not have used a window manager, I must admit I stopped reading a while back :$
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
41672.68 In reply to 41672.67 
////////// :O //////////
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
41672.69 In reply to 41672.68 
One of my RPis has decided to stop working at 7:15 this morning. No light, pressure, outdoor temp or box room temp data for me today :((
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
41672.70 In reply to 41672.69 
:|

How will you manage?
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
41672.71 In reply to 41672.70 
It is stressing me out :'(
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
41672.72 In reply to 41672.70 
Look at the missing data!!!

Attachments:

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
41672.73 In reply to 41672.72 
I need to know the temperature of your box :((
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Drew (X3N0PH0N)     
41672.74 In reply to 41672.73 
37°C
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  ANT_THOMAS     
41672.75 In reply to 41672.74 
Hot.
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–60  61–80  …  101

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats