TechnicalBooting lonely Linux

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  koswix  
 To:  Drew (X3N0PH0N)     
41672.21 In reply to 41672.20 
I use it on my other other Pi, but with the purpose built Xbian build - based on Raspbian, but stripped down to only have what Kodi needs and not a lot else.

It runs very, very well on a Pi 2, and I've also got some other bits and pieces running on it in the background (mainly torrent stuff - I attempted to setup a VPN with it so I could log in to the home network remotely, but it didn't work first time so I gave up and forgot about it  :'-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:  JonCooper  
 To:  koswix     
41672.22 In reply to 41672.21 
quote: koswix
.. it didn't work first time so I gave up and forgot about it ..
I suspect that is God's excuse for this universe ...

Jon
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  koswix     
41672.23 In reply to 41672.21 
I setup a VPN the other day!

(For playing Titan Quest :$ )
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41672.24 In reply to 41672.23 
Well that pretty much settles it - Arch don't provide an image anymore for writing to my SD card, which means I need a linux machine to install it.  Raspbian it is then :C

(A guy has put an image file on Sourceforge, but sourceforge is all kinds of fucked up right now)

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41672.25 In reply to 41672.24 
Where you looking? Seems up-to-date to me: http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2

Edit: nm, get you now.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41672.26 In reply to 41672.25 
Yup.

Also, I've now fucked my SD card partition table. Windows is too shite to fix it, so now I need to go hunting for a free tool that'll do the job. Bloody windows :@

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41672.27 In reply to 41672.26 
lol @ Windows.

(Just use any old liveCD. For both things)
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41672.28 In reply to 41672.27 
Why the fuck didn't I do that? I have a fucing bootable USB stick on my keychain with a linux on it. Such an asshole.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41672.29 In reply to 41672.28 
(giggle)
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  koswix     
41672.30 In reply to 41672.28 
Gparted on whatever bootable linux you have. Always the best way to sort things (or trash them if you need to).
0/0
 Reply   Quote More 

 From:  koswix  
 To:  ANT_THOMAS     
41672.31 In reply to 41672.30 
See, I knew that. Just didn't occur to me. Such a dumb fuck today. 

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  koswix     
41672.32 In reply to 41672.31 
Finally writing the raspbian image to my SD card. 

Going to experiment with a couple of things tonight: writing software for the pi to display data coming over the SPI line on screen in whatever window manager raspian uses and then Interfacing the PI with an arduino LCD-keypad shield (and shoving some of the SPI data I'm reading over to the LCD). 

If I can make all that work then my laser cutter is going to be fucking /awesome/.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
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:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.33 In reply to 41672.5 
I've managed to get it to boot into a fullscreen terminal, but can't autologin.  I tried your first link and I was able to create the directory and autologin.conf file, but I then didn't have permission to modify it with the code
 
Quote: 
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin $username --noclear I 38400 linux
None of the keyboard commands I knew (Ctrl+O, Ctrl+X) would let me write to the file.

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

 From:  Manthorp   
 To:  koswix     
41672.34 In reply to 41672.32 
Great, now fuck off out of my thread. xxx

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

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.35 In reply to 41672.33 
You need to both create the directory/file and edit the file as root (so use sudo).

If you're using nano then to save the file you press ctrl+x then it'll ask for confirmation so press y then press enter to accept the location.

Or did something else go wrong?
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.36 In reply to 41672.35 
Yeah, I did exactly as you described and managed to create the folder and was able to write the file content, but when I got to trying to save it, Ctrl-X (or Ctrl-O) it refused to modify the file.  

It said it was complete with errors, and the error was that it hadn't done it.  A fairly liberal interpretation of 'complete', I felt.

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

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.37 In reply to 41672.34 
Hah.

Sounds like a permissions thing.

Do a 'getfacl' on both /etc/systemd/system/getty@tty1.service.d/ and /etc/systemd/system/getty@tty1.service.d/autologin.conf. i.e.:
 
Code: 
getfacl /etc/systemd/system/getty@tty1.service.d/


and
Code: 
getfacl /etc/systemd/system/getty@tty1.service.d/autologin.conf


Check the owner and permissions. The directory you created and the file you made (if it exists) should both be owned by and writeable by root (i.e. 'w' should be present in the user permissions). Check that.

Edit: To be explicit, you should see exactly this (except my filename is different - doesn't matter, it's the same file:
 
Code: 
d@k ~ :) getfacl /etc/systemd/system/getty@tty1.service.d/override.conf
getfacl: Removing leading '/' from absolute path names
# file: etc/systemd/system/getty@tty1.service.d/override.conf
# owner: root
# group: root
user::rw-
group::r--
other::r--


 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.38 In reply to 41672.37 
It didn't recognise 'getfacl' as a command, but on a whim I updated everything, rebooted yet again and it did let me write and save the file.  Unfortunately, it hasn't bypassed the login.  It's odd: there's no text when I open it in nano, but it's 4000-odd bytes in size, so there's something in it.  it there a command for just reading a file?

I'll have a root about, see if there's anything particular to Raspbian.

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

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.39 In reply to 41672.38 
That's all very strange.

You can get the same info as with getfact with 'ls -l' (in the directory above what you want).

You can use 'cat' to just output what's in a file to the terminal.

cat /etc/blah/blah/whatever.conf

Did the /etc/systemd/ directory already exist? (I'm wondering whether Raspbian uses Systemd, google's not helping. You could run 'systemctl --version' to check, if it tells you stuff then it's there, if it errors then it's not).

In short, if Raspbian *is* using Systemd (and thus we're trying to autologin in the correct way) then I expect permissions are the problem since it sounds like it should work.

 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.40 In reply to 41672.39 
I'll have a root about.

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

Reply to All  
 

1–20  21–40  41–60  …  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