mirror of
				https://github.com/fspc/gbootroot.git
				synced 2025-11-03 16:05:34 -05:00 
			
		
		
		
	About the mconsole changes.
This commit is contained in:
		
							parent
							
								
									e017fcaa55
								
							
						
					
					
						commit
						3d59037979
					
				
							
								
								
									
										8
									
								
								Changes
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Changes
									
									
									
									
									
								
							@ -1,6 +1,14 @@
 | 
			
		||||
1.3.1 - 12/23/2001
 | 
			
		||||
------------------
 | 
			
		||||
 | 
			
		||||
Added both a Reboot and Halt button to the UML Box.  Both of these buttons 
 | 
			
		||||
have an interface to mconsole, and provide clean control of rebooting or 
 | 
			
		||||
halting a Linux virtual machine.  When they fail, Abort does all the clean-up,
 | 
			
		||||
but this should be used as a last resort.  Sysrq interface will be added next.
 | 
			
		||||
Both of these buttons parse the Options entry for the first instance of umid,
 | 
			
		||||
and use this to identify the Linux virtual machine, so this value can be 
 | 
			
		||||
changed to control a different running machine with these buttons.
 | 
			
		||||
 | 
			
		||||
Added a new stage button in the Yard Box called Copy.  Create is now Copy, and
 | 
			
		||||
the uml_exclusively and genext2fs behavior are handled by Create, this is
 | 
			
		||||
much nicer because a new filsystem type can be created without having to wait
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,7 @@
 | 
			
		||||
<body  text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E"
 | 
			
		||||
alink="#FF0000">
 | 
			
		||||
 | 
			
		||||
<center>$Id: index.html,v 1.52 2001/12/22 18:45:03 freesource Exp $</center>
 | 
			
		||||
<center>$Id: index.html,v 1.53 2001/12/22 22:11:30 freesource Exp $</center>
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
@ -251,8 +251,14 @@ button or a put together a complete Boot/Root set with the Submit button.</p>
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
"Options"  Enter uml command-line options like: mem=64, 
 | 
			
		||||
devfs=nomount.</p>
 | 
			
		||||
"Options"  Enter uml command-line options like: <code>mem=64, 
 | 
			
		||||
devfs=nomount</code>.  The <code>umid</code> option is used by
 | 
			
		||||
the Reboot and Halt button to determine which Linux virtual machine is 
 | 
			
		||||
running.  Many different machines can be controlled by submitting 
 | 
			
		||||
each
 | 
			
		||||
machine with a different name, and then changing the umid when control is
 | 
			
		||||
required for a different machine with these two buttons.
 | 
			
		||||
</p>
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
@ -261,7 +267,18 @@ filesystem.  Append with ubd?=.</p>
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
"Abort"  Abort user-mode-linux kernel processes.</p>
 | 
			
		||||
"Reboot"  Passes the reboot command to the mconsole to reboot the
 | 
			
		||||
Linux virutal machine.
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
"Halt"  Passes the halt command to the mconsole to halt the
 | 
			
		||||
Linux virtual machine.
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
"Abort"  Abort user-mode-linux kernel processes.  Should
 | 
			
		||||
be used as a last resort when Halt fails.</p>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<p><P align="left"><b>
 | 
			
		||||
@ -642,25 +659,27 @@ users to how the 8192k barrier of genext2fs can be exceeded.
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
20.  
 | 
			
		||||
Press Continue and observe what happens.  Root users should have
 | 
			
		||||
made the original filesystem with genext2fs, if not, they need to go
 | 
			
		||||
through steps 12-16 again after entering <code>genext2fs -z -r0</code> in the 
 | 
			
		||||
Filesystem Box.  Do step 16.
 | 
			
		||||
Set the staging behavior to user defined, and choose the Create check button
 | 
			
		||||
if you are a normal user or if you are root and created the root_fs in stages 
 | 
			
		||||
12-16 with genext2fs, otherwise, root needs to choose the Check, Links & Deps, 
 | 
			
		||||
Copy, and Create check boxes.  Press Continue and observe what 
 | 
			
		||||
happens.  Do step 16.
 | 
			
		||||
 | 
			
		||||
<P>
 | 
			
		||||
 | 
			
		||||
21.  Can we create a different filesystem type
 | 
			
		||||
for the root filesystem we just created?  
 | 
			
		||||
for the root filesystem we just altered?  
 | 
			
		||||
Enter <code>genromfs</code> to create a romfs filesystem.  
 | 
			
		||||
Set the staging behavior to user defined, turn on the Create check button,
 | 
			
		||||
Set the staging behavior to user defined if this hasn't already been done, 
 | 
			
		||||
turn on the Create check button,
 | 
			
		||||
and press the Continue button.  Assuming you've left the
 | 
			
		||||
ARS open, press the UML button so that the UML box closes and reopens, and you
 | 
			
		||||
will notice that your fs has _romfs appended to it.  Try it out.
 | 
			
		||||
  
 | 
			
		||||
You may 
 | 
			
		||||
notice complaints on boot-up about ioctl.save, to remove these complaints you 
 | 
			
		||||
could create a replacement ioctl.save, edit the template, re-create the 
 | 
			
		||||
filesystem, and test again.
 | 
			
		||||
could create a replacement ioctl.save, edit and save the changes to the 
 | 
			
		||||
template, re-create the filesystem, and test again.
 | 
			
		||||
 | 
			
		||||
<p>
 | 
			
		||||
 | 
			
		||||
@ -822,7 +841,7 @@ can be changed when the filesystem is run from a kernel.
 | 
			
		||||
Although genext2fs only allows a normal user to create a UID/GID 0 root
 | 
			
		||||
filesystem up to a maximum size of 8192k, this program exceeds this barrier by
 | 
			
		||||
taking advantage of the unique characteristics of user-mode-linux, allowing
 | 
			
		||||
normal users to explore things they never could before  
 | 
			
		||||
normal users to explore things they never could before.  
 | 
			
		||||
User-mode-linux is used to boot up a root_fs helper, the program then
 | 
			
		||||
communicates with the user linux system via expect to automatically
 | 
			
		||||
create a UID/GID 0 filesystem from the files copied over from the
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user