Re: Active slice, only for a next boot

2012-03-27 Thread rank1seeker
- Original Message - From: Chris Rees cr...@freebsd.org To: rank1see...@gmail.com Cc: John Baldwin j...@freebsd.org, hack...@freebsd.org Date: Mon, 26 Mar 2012 21:28:07 + Subject: Re: Active slice, only for a next boot On 26 March 2012 18:10, rank1see...@gmail.com wrote

Re: Active slice, only for a next boot

2012-03-26 Thread John Baldwin
On Sunday, March 25, 2012 2:49:17 pm rank1see...@gmail.com wrote: After having a thought about this issue and also currently looking at a BootEasy boot manager ... 'boot0cfg' is almost perfect for this task and should/could be exploited. It's '-o noupdate' already does a major task, of

Re: Active slice, only for a next boot

2012-03-26 Thread rank1seeker
- Original Message - From: John Baldwin j...@freebsd.org To: freebsd-hackers@freebsd.org Cc: rank1see...@gmail.com, hack...@freebsd.org Date: Mon, 26 Mar 2012 10:18:53 -0400 Subject: Re: Active slice, only for a next boot On Sunday, March 25, 2012 2:49:17 pm rank1see...@gmail.com wrote

Re: Active slice, only for a next boot

2012-03-26 Thread Chris Rees
On 26 March 2012 18:10, rank1see...@gmail.com wrote: - Original Message - From: John Baldwin j...@freebsd.org To: freebsd-hackers@freebsd.org Cc: rank1see...@gmail.com, hack...@freebsd.org Date: Mon, 26 Mar 2012 10:18:53 -0400 Subject: Re: Active slice, only for a next boot

Re: Active slice, only for a next boot

2012-03-25 Thread rank1seeker
After having a thought about this issue and also currently looking at a BootEasy boot manager ... 'boot0cfg' is almost perfect for this task and should/could be exploited. It's '-o noupdate' already does a major task, of keeping main slice active. Now all we need is a flag, through which we

Re: Active slice, only for a next boot

2011-05-31 Thread Peter Jeremy
On 2011-May-30 17:42:39 +, Dieter BSD dieter...@engineer.com wrote: A better approach is to be able to boot whatever slice you want without having to change the active slice. NetBSD can do this.  The MBR puts up a menu of the bootable slices on the disk being booted.  You can allow the timer

Re: Active slice, only for a next boot

2011-05-31 Thread John Baldwin
On Monday, May 30, 2011 1:42:39 pm Dieter BSD wrote: And it works great. Except that one of the 27 stages of boot code that FreeBSD uses INSISTS on booting the active slice, so you can tell the MBR to boot slice 3 and slice 3's boot code sees that slice 4 is active and boots slice 4. There

Re: Active slice, only for a next boot

2011-05-31 Thread Dieter BSD
Peter writes: A better approach is to be able to boot whatever slice you want without having to change the active slice. NetBSD can do this. The MBR puts up a menu of the bootable slices on the disk being booted. You can allow the timer to time out and boot the default. Or you can enter the

Re: Active slice, only for a next boot

2011-05-31 Thread perryh
Dieter BSD dieter...@engineer.com wrote: If you neglected to specify RS-232 console in the requirements, there is this thing. ??I haven't tried it. http://www.realweasel.com/ Heard of it, aka the PC Weasel. I've never actually seen one. They have been around for a while; the original --

Re: Active slice, only for a next boot

2011-05-30 Thread Dieter BSD
I have i.e; 3 slices, of which first is active. Now I wana set slice 2 active, but only for a one/next boot. Once slice 2 is booted and system is shutdown or rebooted, once again, first slice is active and booted, without user's intervention. I think that setting the active slice is the wrong

Re: Active slice, only for a next boot

2011-05-29 Thread rank1seeker
- Original Message - From: Julian Elischer jul...@freebsd.org To: rank1see...@gmail.com Cc: hack...@freebsd.org, Doug Ambrisko ambri...@freebsd.org Date: Sat, 28 May 2011 11:07:05 -0700 Subject: Re: Active slice, only for a next boot On 5/28/11 6:06 AM, rank1see...@gmail.com wrote

Re: Active slice, only for a next boot

2011-05-28 Thread Julian Elischer
On 5/27/11 11:34 AM, Warner Losh wrote: On May 27, 2011, at 10:47 AM, rank1see...@gmail.com wrote: - Original Message - From: Alexander Bestarun...@freebsd.org To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only

Re: Active slice, only for a next boot

2011-05-28 Thread Chris Rees
: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only for a next boot On Fri May 27 11, rank1see...@gmail.com wrote: Idea is ... I have i.e; 3 slices, of which first is active. Now I wana set slice 2 active, but only for a one/next boot. Once slice 2 is booted and system

Re: Active slice, only for a next boot

2011-05-28 Thread rank1seeker
And how about this: # boot0cfg -o noupdate -s 1 Now when you choose to hit slice 2, it is only for a this one boot. Next and each boot, defaults to slice 1 Problem is, that you must see, early bootstrap, to manually choose, so this won't work on a remote server. This requires: a) physicall

Re: Active slice, only for a next boot

2011-05-28 Thread Julian Elischer
On 5/28/11 6:06 AM, rank1see...@gmail.com wrote: And how about this: # boot0cfg -o noupdate -s 1 Now when you choose to hit slice 2, it is only for a this one boot. Next and each boot, defaults to slice 1 Problem is, that you must see, early bootstrap, to manually choose, so this won't work

Re: Active slice, only for a next boot

2011-05-28 Thread Julian Elischer
- From: Alexander Bestarun...@freebsd.org mailto:arun...@freebsd.org To: rank1see...@gmail.com mailto:rank1see...@gmail.com Cc: hack...@freebsd.org mailto:hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only for a next boot On Fri May 27 11, rank1see

Re: Active slice, only for a next boot

2011-05-28 Thread Julian Elischer
...@gmail.com wrote: - Original Message - From: Alexander Bestarun...@freebsd.org mailto:arun...@freebsd.org To: rank1see...@gmail.com mailto:rank1see...@gmail.com Cc: hack...@freebsd.org mailto:hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only

Active slice, only for a next boot

2011-05-27 Thread rank1seeker
Idea is ... I have i.e; 3 slices, of which first is active. Now I wana set slice 2 active, but only for a one/next boot. Once slice 2 is booted and system is shutdown or rebooted, once again, first slice is active and booted, without user's intervention. Is this possible or should be

Re: Active slice, only for a next boot

2011-05-27 Thread Alexander Best
On Fri May 27 11, rank1see...@gmail.com wrote: Idea is ... I have i.e; 3 slices, of which first is active. Now I wana set slice 2 active, but only for a one/next boot. Once slice 2 is booted and system is shutdown or rebooted, once again, first slice is active and booted, without user's

Re: Active slice, only for a next boot

2011-05-27 Thread rank1seeker
- Original Message - From: Alexander Best arun...@freebsd.org To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only for a next boot On Fri May 27 11, rank1see...@gmail.com wrote: Idea is ... I have i.e; 3 slices

Re: Active slice, only for a next boot

2011-05-27 Thread Chris Rees
On 27 May 2011 17:47, rank1see...@gmail.com wrote: - Original Message - From: Alexander Best arun...@freebsd.org To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only for a next boot On Fri May 27 11, rank1see

Re: Active slice, only for a next boot

2011-05-27 Thread Warner Losh
On May 27, 2011, at 10:47 AM, rank1see...@gmail.com wrote: - Original Message - From: Alexander Best arun...@freebsd.org To: rank1see...@gmail.com Cc: hack...@freebsd.org Date: Fri, 27 May 2011 13:47:54 + Subject: Re: Active slice, only for a next boot On Fri May 27 11

Re: Active slice, only for a next boot

2011-05-27 Thread Warner Losh
, only for a next boot On Fri May 27 11, rank1see...@gmail.com wrote: Idea is ... I have i.e; 3 slices, of which first is active. Now I wana set slice 2 active, but only for a one/next boot. Once slice 2 is booted and system is shutdown or rebooted, once again, first slice is active and booted