Re: [gentoo-user] Remote install @Hetzner
* Joe User <[EMAIL PROTECTED]> wrote: Hi, > have a look at http://www.rootforum.de/wiki/gentoo/01_hardened > "Bootloader installieren", it's a grub bug. I don't think it's a grub problem, since I also can't boot with the preinstalled grub w/ rootfs from the second disk. It seems that the whole sysinit stuff breaks (and falls back to sulogin) if the slightest thing goes wrong. For example an missing /proc dir in the rootfs will make the whole system unbootable. cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
Enrico Weigelt schrieb: Hi folks, I'm currently trying to install Gentoo remotely on an Hetzer (www.hetzner.de) Server via rescue system. Everything seemed to work fine, but the box doesn't come up. I don't have any physical/serial console access, so I cannot see what's happening :( Did anyone manage to get an remote install in such an situation ? (maybe even @ Hetzner). thx Hi Enrico, have a look at http://www.rootforum.de/wiki/gentoo/01_hardened "Bootloader installieren", it's a grub bug. Regards, Joe User -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
* Enrico Weigelt <[EMAIL PROTECTED]> wrote: Hi folks, > chroot /gentoo ls -la / 2>&1 > /FOO > > that file is created, but empty. > > hmm, perhaps I'll have to use absolute pathes ... ;-o The absolute pathes were missing, now chroot works and /sbin/rc leaves his note. But still the system doesnt come up :( Is there anyway for logging what's happending in the first bootup stages to some file ? Ah, maybe some idea: the sdb1 fs is an ext2 (was my mistake, I wanna have ext3), so maybe the checkroot stuff might try to run fsck first and fails. I'll try either mounting it ro or convert to ext3 ... is there any way for skipping the fsck at all ? cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
* Johann Schmitz <[EMAIL PROTECTED]> wrote: Hi, > Enrico Weigelt schrieb: > | BTW: I've tried to start some services within the sysroot, but that > | tried to mount/check the rootfs and of course failed :( > | Should I trick init.d to think these services were already started ? > > NO! Doing this will cause that spooky things happen! Yep, it's tricky, eg. some service script tend to do simply nothing. I'll still have to hack some bit to trick the init.d stuff ;-o > Here is a working gentoo-sources kernel config for a DS 3000: > http://files.j-schmitz.net/2.6.24-gentoo-r3.config Thx. I'll have a try. But I the kernel doesnt seem to be the (only) blocker. My current configuration is: * Hetzner's debian image on sda * gentoo on sdb (root: sdb1) If I try the debian kernel w/ /dev/sdb1 as root, nothing comes up, even not a single write on disk (also tweaked to /sbin/rc to touch a file, but that doesnt happen). Then I tried another init program on the debian system - it's just a little script which does a few mounts and touches and then calls /sbin/init. With the debian system, perfectly fine, but chroot'ing to the gentoo system doesnt seem to work. For example, the script contains a line: chroot /gentoo ls -la / 2>&1 > /FOO that file is created, but empty. hmm, perhaps I'll have to use absolute pathes ... ;-o cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrico Weigelt schrieb: | BTW: I've tried to start some services within the sysroot, but that | tried to mount/check the rootfs and of course failed :( | Should I trick init.d to think these services were already started ? NO! Doing this will cause that spooky things happen! Here is a working gentoo-sources kernel config for a DS 3000: http://files.j-schmitz.net/2.6.24-gentoo-r3.config Maybe it is just a root fs mistake in the kernel config. If dont want a sw raid, you can disable this stuff in make menuconfig. - -- Johann Schmitz http://www.j-schmitz.net -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhcrEoACgkQZsUt7MqpQk1WJQCeLTs5VlcYgziOOqKP09fteiKP fA8An0zUclPgaza6Om06q0QutQ4jP456 =w8oi -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
* Markus Schönhaber <[EMAIL PROTECTED]> wrote: > Enrico Weigelt wrote: > > > Do all servers have that remote console or do I have to order > > it additionally ? > > I'm not sure. But since I didn't explicitly order it, I think that, yes, > all dedicated servers come with this feature included. hmm, just checked it: there's nothing like this, but in the order dialog there're a lot extra options. Meanwhile the bot's up again, and I can now can play around how to get gentoo booted from debian kernel ;-o cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
Enrico Weigelt wrote: > Do all servers have that remote console or do I have to order > it additionally ? I'm not sure. But since I didn't explicitly order it, I think that, yes, all dedicated servers come with this feature included. > (the bot's currently offline, so I cant check yet) Seems that today's your lucky day... Regards mks -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
* Markus Schönhaber <[EMAIL PROTECTED]> wrote: > WRT serial console: did you try LARA? On the robot website, below > "Verwaltung" click on "Support-Anfragen". There you can select "Remote > Console (LARA)". Do all servers have that remote console or do I have to order it additionally ? (the bot's currently offline, so I cant check yet) cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
* Johann Schmitz <[EMAIL PROTECTED]> wrote: Hi, > We've set up a gentoo server on Hetzner. There are some hints about remote > install in the hetzner dokuwiki > (http://wiki.hetzner.de), even some gentoo-related articles. yep, already found it, but didn't help very much :( > Did you tried to reboot into the rescue system, and check the logs? Is the > Server reachable via ping? It doesnt seem to write anythings to disk, neither does the IP interface come up. I guess, something's wrong with the bootloader or kernel. The image installation seems to work fine. But I just forgot to set the root password and the management robot is now offline until 01:00 :(( In the next step (if the bot's back again) I'll try to boot the debian image's kernel with gentoo's rootfs from the second disk. That should isolate the problem to either Gentoo config or the (meanwhile overwritten) bootloader/kernel. BTW: I've tried to start some services within the sysroot, but that tried to mount/check the rootfs and of course failed :( Should I trick init.d to think these services were already started ? cu -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
Markus Schönhaber wrote: > I have a remote server @ Hetzner s/remote/root/ Regards mks -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We've set up a gentoo server on Hetzner. There are some hints about remote install in the hetzner dokuwiki (http://wiki.hetzner.de), even some gentoo-related articles. Did you tried to reboot into the rescue system, and check the logs? Is the Server reachable via ping? Enrico Weigelt schrieb: | Hi folks, | | | I'm currently trying to install Gentoo remotely on an Hetzer | (www.hetzner.de) Server via rescue system. Everything seemed | to work fine, but the box doesn't come up. | | I don't have any physical/serial console access, so I cannot | see what's happening :( | | Did anyone manage to get an remote install in such an situation ? | (maybe even @ Hetzner). | | | thx - -- Johann Schmitz http://www.j-schmitz.net -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkhcFmIACgkQZsUt7MqpQk2bywCg1XEwVoDoi6BZe9IrBHfNBKvO VtUAn3f+P2761CLZhBIwgt7SRevqG/Fp =tA45 -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Remote install @Hetzner
Enrico Weigelt schrieb: > I'm currently trying to install Gentoo remotely on an Hetzer > (www.hetzner.de) Server via rescue system. Everything seemed > to work fine, but the box doesn't come up. > > I don't have any physical/serial console access, so I cannot > see what's happening :( > > Did anyone manage to get an remote install in such an situation ? > (maybe even @ Hetzner). I have a remote server @ Hetzner but it's Ubuntu not Gentoo, so I have no idea what might be the problem. WRT serial console: did you try LARA? On the robot website, below "Verwaltung" click on "Support-Anfragen". There you can select "Remote Console (LARA)". Regards mks -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Remote install @Hetzner
Hi folks, I'm currently trying to install Gentoo remotely on an Hetzer (www.hetzner.de) Server via rescue system. Everything seemed to work fine, but the box doesn't come up. I don't have any physical/serial console access, so I cannot see what's happening :( Did anyone manage to get an remote install in such an situation ? (maybe even @ Hetzner). thx -- - Enrico Weigelt== metux IT service - http://www.metux.de/ - Please visit the OpenSource QM Taskforce: http://wiki.metux.de/public/OpenSource_QM_Taskforce Patches / Fixes for a lot dozens of packages in dozens of versions: http://patches.metux.de/ - -- gentoo-user@lists.gentoo.org mailing list