Anonymous_User Absent Member.
Absent Member.
1914 views

Changing default option on Zen Partition

I have the zenworks partition installed on a computer that comes up with the menu with "Auto Imaging" , "Maintenence Mode" and "Active Partition" and the default being Auto Imaging. I want to know if I can change the default to be Active Partition.

Basically we want it to always boot to the OS after the timeout and if we need to we can select Auto Imaging before the timer is done.

Can this be done???

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems
Labels (2)
0 Likes
11 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

On Tue, 08 Jan 2008 16:18:26 GMT, Scott Windmiller wrote:

> Can this be done???


yes, you would need to change the /boot/grub/menu.lst file in the linux
partition
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

Can you point me in the right direction of where to look to do this??? Can I just boot up into Maintenance Mode and do it, how??

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Marcus Breiden<mbreiden@di-das.de> 1/8/2008 12:43 PM >>>

On Tue, 08 Jan 2008 16:18:26 GMT, Scott Windmiller wrote:


> Can this be done???


yes, you would need to change the /boot/grub/menu.lst file in the linux
partition
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

On Tue, 08 Jan 2008 18:31:58 GMT, Scott Windmiller wrote:

> Can I just boot up into Maintenance Mode and do it, how??


yes.. with joe or pico.. or you could do it in the imaging script

there is a default option in the file.. it starts with 0..
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

Thanks for the fast help Marcus, I appreciate it. I am pretty sure I understand what to do but cannot locate the Menu.lst file.
I boot into Maintenance mode and at the prompt do a cd /boot/grub but an ls reveals no files in there. I also tried ls -a with the same results.

What am I doing wrong???

Thanks a bunch!!!!

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Marcus Breiden<mbreiden@di-das.de> 1/8/2008 1:34 PM >>>

On Tue, 08 Jan 2008 18:31:58 GMT, Scott Windmiller wrote:


> Can I just boot up into Maintenance Mode and do it, how??


yes.. with joe or pico.. or you could do it in the imaging script

there is a default option in the file.. it starts with 0..
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

I found that if I hit ESC when I see the boot menu I can then enter text mode and edit each of the lines for the boot devices but cannot see anything about the "Default" like Default 0.
If I goto a prompt in GRUB and do: cat /boot/grub/menu.lst I see where I need to change it but don't know how.

AGHHHHHH....so close 🙂

What can I do??

Thanks!!!

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Scott Windmiller<Swindmiller@psych.umaryland.edu> 1/8/2008 2:06 PM >>>


Thanks for the fast help Marcus, I appreciate it. I am pretty sure I understand what to do but cannot locate the Menu.lst file.
I boot into Maintenance mode and at the prompt do a cd /boot/grub but an ls reveals no files in there. I also tried ls -a with the same results.

What am I doing wrong???

Thanks a bunch!!!!

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Marcus Breiden<mbreiden@di-das.de> 1/8/2008 1:34 PM >>>

On Tue, 08 Jan 2008 18:31:58 GMT, Scott Windmiller wrote:


> Can I just boot up into Maintenance Mode and do it, how??


yes.. with joe or pico.. or you could do it in the imaging script

there is a default option in the file.. it starts with 0..
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

On Tue, 08 Jan 2008 20:35:37 GMT, Scott Windmiller wrote:

> AGHHHHHH....so close 🙂
>
> What can I do??


hmm I don't have a linux partition here but..

I found the issue I think... it could be that the linux partition is just
used as a storage for the files and that the linux you are in is in reality
a ramdisk.. so try to mount the first partition of you hd..

mount /dev/hda1 /mnt or mount /dev/sda1 /mnt
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

Awesome Marcus!!!

That worked great, thanks so much.

Now I just have to figure out where to edit so I do not have to do this manually each time.

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Marcus Breiden<mbreiden@di-das.de> 1/9/2008 2:54 AM >>>

On Tue, 08 Jan 2008 20:35:37 GMT, Scott Windmiller wrote:


> AGHHHHHH....so close 🙂
>
> What can I do??


hmm I don't have a linux partition here but..

I found the issue I think... it could be that the linux partition is just
used as a storage for the files and that the linux you are in is in reality
a ramdisk.. so try to mount the first partition of you hd..

mount /dev/hda1 /mnt or mount /dev/sda1 /mnt
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

On Wed, 09 Jan 2008 14:37:12 GMT, Scott Windmiller wrote:

> That worked great, thanks so much.
>
> Now I just have to figure out where to edit so I do not have to do this manually each time.


you are welcome.. just wonder when we changed that because it is ...
probably the same codebase... sigh...

you could do that with your imaging scripts for some time and use sed to
replace the default value till you are sure that you got everybody... just
put that stuff at the beginning of your scripts..

would be similar to what you do now manually
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

Thanks.

I also found where the Menu.lst file is originally written. I found it in the util.s script in the bin folder. So I could just edit the INITRD and make some changes there or use your method. I think I have everything I need to make this work, I just want to see which one will be easier for me to setup and our techs to use.

Thanks for all of your help!!!!!

Scott Windmiller
University of Maryland
Department of Psychiatry
Information Systems




>>> Marcus Breiden<mbreiden@di-das.de> 1/9/2008 10:21 AM >>>

On Wed, 09 Jan 2008 14:37:12 GMT, Scott Windmiller wrote:


> That worked great, thanks so much.
>
> Now I just have to figure out where to edit so I do not have to do this manually each time.


you are welcome.. just wonder when we changed that because it is ...
probably the same codebase... sigh...

you could do that with your imaging scripts for some time and use sed to
replace the default value till you are sure that you got everybody... just
put that stuff at the beginning of your scripts..

would be similar to what you do now manually
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

On Wed, 09 Jan 2008 16:10:34 GMT, Scott Windmiller wrote:

> Thanks for all of your help!!!!!


You are welcome, let us know how it works and perhaps Did somebody say
coolsolutions?

http://www.novell.com/coolsolutions/forms/submit_a_tip.html
--


Marcus Breiden

If you are asked to email me information please remove the - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.didas.de
0 Likes
parkhurstl Absent Member.
Absent Member.

Re: Changing default option on Zen Partition

For what you are trying to do the grub.s script might work as a more simple solution. If you boot into Zen maintance mode either via PXE or CD then just type

/bin/grub.s

(that's where it is on PXE for us, might be a different location on CD) it will toggle between giving the grub menu and just booting to the active partition.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.