public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: BRM <bm_witness@yahoo.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] blocks to fix
Date: Thu, 30 Oct 2008 15:12:54 -0700 (PDT)	[thread overview]
Message-ID: <756879.4765.qm@web65415.mail.ac4.yahoo.com> (raw)
In-Reply-To: 200810302144.56446.wonko@wonkology.org

That might work for some scenerios; however, it wouldn't likely for the recent e2fsprogs-lib/ss/com_err fiasco because the booting system would be unable to execute mount and wait until the user either entered the root password for maintenance mode or pressed "CTRL+D" to continue. (Yep, I hosed one of my systems over that issue!) So the system would not be either in a kernel panic nor able to run /etc/conf.d/local.start. So it wouldn't reboot without user intervention.

In most cases that would likely work though.

Ben



----- Original Message ----
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Sent: Thursday, October 30, 2008 4:44:53 PM
Subject: Re: [gentoo-user] blocks to fix

Mark Knecht writes:

> Having a second install is a reasonable idea. I suppose I can probably
> install that remotely but I cannot test it remotely (AFAIK) without
> someone handy to choose the right line in the grub menu...

You can use the grub-set-default command to boot another than the default 
entry:

default saved
fallback 0
...
title System A
kernel (hd0,0)/A

title System B
kernel (hd0,1)/B


System A is your default system. When you have installed B, activate the 2nd 
entry with "grub-set-default 1" (grub counts from 0). Put something 
like "sleep 600 & reboot" into B's /etc/conf.d/local.start that will make 
it reboot after a while, unless you are able to log in from remote and kill 
the sleep command.
Now reboot. B will be started. Try to log in. If it fails, wait a little, 
and try again. This time A should be up again.

Unless you have a kernel panic, and the system is just halted. Does anyone 
know if there is something one could do about that?

    Wonko



  parent reply	other threads:[~2008-10-30 22:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29  2:34 [gentoo-user] blocks to fix Mark Knecht
2008-10-29  2:43 ` James Homuth
2008-10-29  3:11   ` Allan Gottlieb
2008-10-29 16:24     ` Andrew MacKenzie
2008-10-29 18:00       ` Mark Knecht
2008-10-29 20:49         ` Neil Bothwick
2008-10-29 21:46           ` Mark Knecht
2008-10-30 20:44             ` Alex Schuster
2008-10-30 21:51               ` Neil Bothwick
2008-10-30 21:57                 ` Paul Hartman
2008-10-30 22:12               ` BRM [this message]
2008-10-30 22:58                 ` Mark Knecht
2008-10-29 22:08           ` [gentoo-user] " »Q«
2008-10-30  5:46           ` [gentoo-user] " Momesso Andrea
2008-10-30 17:24             ` Neil Bothwick
2008-10-30 18:05               ` Mark Knecht
2008-10-30 11:18     ` KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=756879.4765.qm@web65415.mail.ac4.yahoo.com \
    --to=bm_witness@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox