Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Debugging install problems remotely.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
MikeDougherty
n00b
n00b


Joined: 19 Nov 2005
Posts: 22

PostPosted: Mon Jan 09, 2006 11:28 pm    Post subject: Debugging install problems remotely. Reply with quote

I am attempting to install Gentoo on a remote server. I ssh into a SUSE machine and then SSH over to the Gentoo machine (after it's been booted on the livecd and ssh daemon started). I have a friend on the remote side helping me with reboots and such. But they are very very new to Linux and don't always communicate exactly what I need to know in order to diagnose problems. I've tried using dmesg but it appears to be the results of the livecd boot not the installed OS boot. Does that sound right? Anyway I can get the dmesg output from the installed OS?


Also, this is taking a lot longer than I anticipated. I am sure my friend is getting tired of me asking them to reboot the machine. My dream is to have the following happen:

* LiveCD boots with default root password, ssh daemon already started, and its IP address emailed to me.
* Once I have all my configuration changes completed, issue a "reboot kernel_name", which would somehow tell Grub to try kernel_name.
* If kernel_name fails to load completely, fall back to LiveCD kernel.

Is that a dream?

Thanks,
Mike
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Tue Jan 10, 2006 12:16 am    Post subject: Reply with quote

Take at the log files in /mnt/gentoo/var/log/ . Especially messages, syslog, etc. Hope this helps!
Back to top
View user's profile Send private message
MikeDougherty
n00b
n00b


Joined: 19 Nov 2005
Posts: 22

PostPosted: Tue Jan 10, 2006 3:08 am    Post subject: Reply with quote

Hmmm... no messages or syslog get generated so I guess the boot process isn't getting that far?

All I have is:

Code:

livecd ~ # cd /mnt/gentoo/var/log/
livecd log # ls -l
total 244
-rw-rw----  1 portage portage  13661 Jan  2 14:51 emerge.log
-rw-r--r--  1 root    root    220349 Jan  2 19:19 genkernel.log
-rw-r--r--  1 root    root         0 Oct 19 16:13 lastlog
drwxr-xr-x  2 root    root      4096 Oct 19 16:12 news
drwxrwx---  2 root    portage   4096 Oct 19 16:40 sandbox
-rw-rw-r--  1 root    utmp         0 Oct 19 16:13 wtmp
livecd log #
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Tue Jan 10, 2006 4:12 am    Post subject: Reply with quote

Either that, or there's no logger installed... Also, I think the best you can do is to try to boot one kernel, and then fallback to another one if that doesn't work, but that doesn't seem to help you too much, since I don't think you can fallback to the CD.

I'm *really* intrested in that LiveCD though. Is it something you whipped up yourself, or where could one find that?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum