19.03.2024, 02:23 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
kkrofft
Titel: Trouble with persistence regarding package installation  BeitragVerfasst am: 18.01.2013, 17:18 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

I would like to use the latest Hellfire release to build a small home fileserver.

I have:
created a bootable USB stick
booted up
switched to persistent mode
revised the hostname
added users
installed samba, samba-common, samba-common-bin
mounted the hard drive
set up the smb.conf
started the samba daemons
and when I tested from a windows 7 box it all work as it should ecept my dhcp server has an issue with the ip address I want issued but otherwise all was good. I rebooted to test my fix of the IP issue and after booting I find that samba is not running the package manager says it is installed but the start command at /etc/init.d/samba are not there. Whereis and find cannot locate it.

I tried reinstalling the packages a few time and rebooting each time. the result is always the same it acts like samba is not there but the package manager and apt-get say it is.

What am I doing wrong?

Thanks!
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel: Trouble with persistence regarding package installation  BeitragVerfasst am: 18.01.2013, 17:59 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

Just do a normal install onto usb key if you want to take it with you - you need a ext4 partition on it, select the mbr from the usb key. Do not use persistent mode, thats not for what you want to do.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kkrofft
Titel:   BeitragVerfasst am: 18.01.2013, 18:40 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

I don't want to take it with me. I want it to persistently boot as configured from the USB stick. USB stick means I can configure and save without rewriting a CD to boot from and does not use hard drive space for the OS that can be used for storing files.
How does one easily make installed packages persist?

Any idea why when I installed samba the first time, the daemons ran and now even removing and reinstalling does not allow me to start them?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel:   BeitragVerfasst am: 18.01.2013, 19:09 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

It is not for servers this mode.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kkrofft
Titel:   BeitragVerfasst am: 18.01.2013, 19:37 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

OK. So it is not for servers. But it would work fine for me if it behaved the way it seems it should.
I mean what good is adding any package if it does not persist past a reboot. If I add a different web browser, I would expect it to be there the next time I boot myu USB key. Why would any package be different?

And why does it not work after reinstalling the package? It worked perfectly the first time.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel:   BeitragVerfasst am: 18.01.2013, 20:02 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

It would work when you restart the service and add the users again. But a normal hd install works from usb key as well.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kkrofft
Titel:   BeitragVerfasst am: 18.01.2013, 20:08 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

So I should use a running live image to install to a USB stick correct?
I assume a live CD or even anothe usb drive could be used?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Kano
Titel:   BeitragVerfasst am: 18.01.2013, 20:12 Uhr



Anmeldung: 17. Dez 2003
Beiträge: 16783

You can install from one usb key to the next, should work.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kkrofft
Titel:   BeitragVerfasst am: 18.01.2013, 21:08 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

Makes sense. I'll give it a try. Thank you.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
kkrofft
Titel:   BeitragVerfasst am: 21.01.2013, 12:45 Uhr



Anmeldung: 18. Jan 2013
Beiträge: 6

Could not get the install to work on the flash drive. I keep getting a grub error and it stops at the grub rescue prompt. I googled the error and tried all the suggestions I could find which were all ideas on reinstalling grub but still no dice. Usb drive works OK with a live image so it should be able to boot an install but I can't make it work.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.