|
@ -38,8 +38,8 @@ continue "OK" or stop "Cancel".</P> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
The <u>first row</u> presently has only one Boot Method choice: |
|
|
The <u>first row</u> presently has only one Boot Method choice: |
|
|
"2 disk compression."   |
|
|
"2 disk compression." Clicking on the menu on the right selects |
|
|
Clicking on the menu on the right selects the Boot Method.</p> |
|
|
the Boot Method.</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<P>The <u>second row</u> allows you to select the kernel for the Boot/Root set. You |
|
|
<P>The <u>second row</u> allows you to select the kernel for the Boot/Root set. You |
|
@ -58,8 +58,8 @@ provided in the Advanced Root Section. |
|
|
device is the first floppy disk - /dev/fd0.</P> |
|
|
device is the first floppy disk - /dev/fd0.</P> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
The <u>fifth row</u> allows you to choose the size of the device being used. |
|
|
The <u>fifth row</u> allows you to choose the size of the device being used. The default size of 1440 assumes you are using a floppy drive |
|
|
The default size of 1440 assumes you are using a floppy drive (Note: You may |
|
|
(Note: You may |
|
|
want to experiment with 1722 which works fine with many floppy drives.), but |
|
|
want to experiment with 1722 which works fine with many floppy drives.), but |
|
|
can be used with other sized devices like tape drives. Click on the |
|
|
can be used with other sized devices like tape drives. Click on the |
|
|
appropriate radio button to choose either gzip or bzip2 compression if the |
|
|
appropriate radio button to choose either gzip or bzip2 compression if the |
|
@ -71,8 +71,8 @@ program doesn't automatically detect it.</p> |
|
|
The <u>slider bar</u> on the right allows the output of the verbosity box |
|
|
The <u>slider bar</u> on the right allows the output of the verbosity box |
|
|
to be |
|
|
to be |
|
|
changed from the highest (2) to the lowest setting (1) or to be turned off (0) |
|
|
changed from the highest (2) to the lowest setting (1) or to be turned off (0) |
|
|
or on again. |
|
|
or on again. At times it may be advantageous to turn off the |
|
|
At times it may be advantageous to turn off the verbosity box |
|
|
verbosity box |
|
|
since large quantities of output to this box may cause gbootroot to use too |
|
|
since large quantities of output to this box may cause gbootroot to use too |
|
|
much cpu power; however, output may still be found in the text file "verbose" |
|
|
much cpu power; however, output may still be found in the text file "verbose" |
|
|
in /tmp/gbootroot_tmp'time-date'.</p> |
|
|
in /tmp/gbootroot_tmp'time-date'.</p> |
|
@ -84,9 +84,11 @@ Using the Advanced Boot Section</b></p> |
|
|
|
|
|
|
|
|
<p><IMG ALT="" SRC="images/ABS.jpg" align="right"> |
|
|
<p><IMG ALT="" SRC="images/ABS.jpg" align="right"> |
|
|
|
|
|
|
|
|
"Stripping" On by default for libraries and binaries. The stripping |
|
|
Libraries & Binaries & Modules check boxes: Turn off and on the |
|
|
|
|
|
stripping of symbols. The stripping |
|
|
behavior for libraries may be changed by clicking on the right mouse button |
|
|
behavior for libraries may be changed by clicking on the right mouse button |
|
|
to change from --strip-debug to --strip-all.</p> |
|
|
to change --strip-debug to --strip-all. Binaries default to |
|
|
|
|
|
--strip-all and Modules default to --strip-debug.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
@ -98,37 +100,49 @@ on the actual boot device.</p> |
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Opt. Device" Add devices to the boot disk which are necessary for the |
|
|
"Opt. Device" Add devices to the boot disk which are necessary for the |
|
|
kernel to function properly. |
|
|
kernel to function properly. Put a space between each |
|
|
Put a space between each device. |
|
|
device. For instance, /dev/fb0 for frame buffer devices.</p> |
|
|
For instance, /dev/fb0 for frame buffer devices.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
|
|
|
|
"append =" Add append options to brlilo.conf. If you are using a frame |
|
|
|
|
|
buffer device you could add something like video=matrox:vesa:402,depth:16.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Kernel Module" Add the modules found in |
|
|
"Kernel Module" Add the modules found in |
|
|
/lib/modules/kernel-version which are necessary for the Boot Method to work |
|
|
/lib/modules/kernel-version which are necessary for the Boot Method to work |
|
|
properly. |
|
|
properly. If these modules aren't found in the modules directory |
|
|
If these modules aren't found in the modules directory it is assumed |
|
|
it is assumed |
|
|
that they either are in the kernel or they do not exist. |
|
|
that they either are in the kernel or they do not exist. In the |
|
|
In the case of 2 disk compression, floppy needs to be included in the |
|
|
case of 2 disk compression, floppy needs to be included in the |
|
|
kernel or included as a module. |
|
|
kernel or included as a module. Kmod inserts the modules, and |
|
|
Kmod inserts the modules, and kmod needs to be built into the kernel along |
|
|
kmod needs to be built into the kernel along |
|
|
with initrd and ramdisk.",</p> |
|
|
with initrd and ramdisk."</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"append =" Add append options to brlilo.conf. If you are using a frame |
|
|
"Kernel Version" Override the kernel version number found in the |
|
|
buffer device you could add something like video=matrox:vesa:402,depth:16.</p> |
|
|
kernel header. This will change the /lib/modules/kernel-version |
|
|
|
|
|
directory.</p> |
|
|
|
|
|
|
|
|
<br><br><br><br><br><br><br><br><br> |
|
|
<p> |
|
|
|
|
|
|
|
|
|
|
|
System.map: When a non-running kernel is chosen it is important |
|
|
|
|
|
to include a copy of that kernel's System.map file so that depmod can use |
|
|
|
|
|
the correct set of kernel symbols to resolve kernel references in each |
|
|
|
|
|
module. This can be found in the kernel's source code after |
|
|
|
|
|
compilation. |
|
|
|
|
|
|
|
|
|
|
|
<br><br><br><br><br><br><br> |
|
|
|
|
|
|
|
|
<P align="center"> |
|
|
<P align="center"> |
|
|
<b>Using the Advanced Root Section</b></P> |
|
|
<b>Using the Advanced Root Section</b></P> |
|
|
<p><IMG ALT="" SRC="images/ARS.jpg" align="right"> |
|
|
<p><IMG ALT="" SRC="images/ARS.jpg" align="right"> |
|
|
|
|
|
|
|
|
"Root Device" |
|
|
"Root Device" This is the device used for the root filesystem when |
|
|
This is the device used for the root filesystem when |
|
|
constructing the Boot/Root set. You may choose a device which is |
|
|
constructing the Boot/Root set. |
|
|
different |
|
|
You may choose a device which is different |
|
|
|
|
|
than the Boot device, but presently only floppy devices are supported.</p> |
|
|
than the Boot device, but presently only floppy devices are supported.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
@ -137,23 +151,21 @@ than the Boot device, but presently only floppy devices are supported.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Root Filename" |
|
|
"Root Filename" The name give to the root filesystem when |
|
|
The name give to the root filesystem when initially made |
|
|
initially made in the temporary creation location. The save |
|
|
in the temporary creation location. |
|
|
button allows the creation to |
|
|
The save button allows the creation to |
|
|
|
|
|
be saved in the permanent default location when the |
|
|
be saved in the permanent default location when the |
|
|
Accept button is pressed.</p> |
|
|
Accept button is pressed.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Filesystem Size" |
|
|
"Filesystem Size" Root Methods make the filesystem the size |
|
|
Root Methods make the filesystem the size which is |
|
|
which is specified here.</p> |
|
|
specified here.</p> |
|
|
|
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Compression" |
|
|
"Compression" Off by default to allow user-mode-linux |
|
|
Off by default to allow user-mode-linux testing. Turn on |
|
|
testing. Turn on |
|
|
compression when you are ready to use a Boot Method |
|
|
compression when you are ready to use a Boot Method |
|
|
which requires compression.</p> |
|
|
which requires compression.</p> |
|
|
|
|
|
|
|
@ -163,8 +175,8 @@ which requires compression.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Template" The template associated with a Root Method. |
|
|
"Template" The template associated with a Root |
|
|
Not all Root Methods |
|
|
Method. Not all Root Methods |
|
|
have templates.</p> |
|
|
have templates.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
@ -173,19 +185,19 @@ have templates.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"UML" Abbreviation for user-mode-linux. |
|
|
"UML" Abbreviation for user-mode-linux. This is a |
|
|
This is a linux kernel which runs on |
|
|
linux kernel which runs on |
|
|
top of the host system's linux kernel and allows a you run a live root |
|
|
top of the host system's linux kernel and allows a you run a live root |
|
|
filesystem.</p> |
|
|
filesystem.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Accept" |
|
|
"Accept" This accepts the created root filesystem if it is |
|
|
This accepts the created root filesystem if it is found in the |
|
|
found in the |
|
|
temporary creation directory. |
|
|
temporary creation directory. The UML box and the main section |
|
|
The UML box and the main section will now |
|
|
will now |
|
|
reflect the path to this root filesystem. |
|
|
reflect the path to this root filesystem. You can now test with |
|
|
You can now test with the UML |
|
|
the UML |
|
|
button or a put together a complete Boot/Root set with the Submit button.</p> |
|
|
button or a put together a complete Boot/Root set with the Submit button.</p> |
|
|
|
|
|
|
|
|
<br><br><br><br><br><br><br> |
|
|
<br><br><br><br><br><br><br> |
|
@ -203,12 +215,12 @@ devfs=nomount.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Root_Fs" Choose an uncompressed root filesystem. |
|
|
"Root_Fs" Choose an uncompressed root |
|
|
Append with ubd?=.</p> |
|
|
filesystem. Append with ubd?=.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
"Abort" Abort user-mode-linux kernel processes. </p> |
|
|
"Abort" Abort user-mode-linux kernel processes.</p> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><P align="center"><b> |
|
|
<p><P align="center"><b> |
|
@ -217,31 +229,31 @@ About the Yard Box</b></p> |
|
|
<p><IMG ALT="" SRC="images/yard_box.jpg" align="center"></p> |
|
|
<p><IMG ALT="" SRC="images/yard_box.jpg" align="center"></p> |
|
|
|
|
|
|
|
|
The Yard Box is a Root Method which is "Generated" from the Advanced Root |
|
|
The Yard Box is a Root Method which is "Generated" from the Advanced Root |
|
|
Section after a Template is chosen. |
|
|
Section after a Template is chosen. It has several |
|
|
It has several interesting features. |
|
|
interesting features. |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
The check boxes at the bottom represent the different stages involved in |
|
|
The check boxes at the bottom represent the different stages involved in |
|
|
creating a root filesystem. |
|
|
creating a root filesystem. The behavior of these stages |
|
|
The behavior of these stages may be altered in |
|
|
may be altered in |
|
|
three ways: Edit->Stages->one-by-one (default) will perform each stage |
|
|
three ways: Edit->Stages->one-by-one (default) will perform each stage |
|
|
sequentially, stopping between each stage, the user may continue the process |
|
|
sequentially, stopping between each stage, the user may continue the process |
|
|
by pressing the Continue button. |
|
|
by pressing the Continue |
|
|
Edit->Stages->continuous proceeds non-stop |
|
|
button. Edit->Stages->continuous proceeds non-stop |
|
|
through all the stages. |
|
|
through all the |
|
|
Edit->Stages->'user defined' allows the user to |
|
|
stages. Edit->Stages->'user defined' allows the user to |
|
|
choose any stages the user wants, and will then proceed through all the |
|
|
choose any stages the user wants, and will then proceed through all the |
|
|
chosen stages. |
|
|
chosen |
|
|
Choosing only 'Check', 'Links & Deps', 'Create" is a good |
|
|
stages. Choosing only 'Check', 'Links & Deps', 'Create" is a good |
|
|
example.</p> |
|
|
example.</p> |
|
|
|
|
|
|
|
|
<p><IMG ALT="" SRC="images/tests.jpg" align="center"></p> |
|
|
<p><IMG ALT="" SRC="images/tests.jpg" align="center"></p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
The behavior of some of the stages may be altered. |
|
|
The behavior of some of the stages may be |
|
|
For instance Alt-T allows |
|
|
altered. For instance Alt-T allows |
|
|
you to choose which tests to run on the newly created |
|
|
you to choose which tests to run on the newly created |
|
|
root filesystem.</p> |
|
|
root filesystem.</p> |
|
|
|
|
|
|
|
@ -250,21 +262,19 @@ root filesystem.</p> |
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
Press Alt-S to enable template text searching in either |
|
|
Press Alt-S to enable template text searching in either |
|
|
direction. |
|
|
direction. Find exact matches or ignore case with |
|
|
Find exact matches or ignore case with the case sensitive check |
|
|
the case sensitive check box.</p> |
|
|
box.</p> |
|
|
|
|
|
|
|
|
|
|
|
<p><IMG ALT="" SRC="images/file.jpg" align="center"></p> |
|
|
<p><IMG ALT="" SRC="images/file.jpg" align="center"></p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
Use Ctl-S to save the changes to an open template, and Alt-A to save the |
|
|
Use Ctl-S to save the changes to an open template, and Alt-A to save the |
|
|
template with a new name. |
|
|
template with a new name. bOOTrOOT will not allow read-only |
|
|
bOOTrOOT will not allow read-only templates or template links to be saved |
|
|
templates or template links to be saved |
|
|
with their own name. |
|
|
with their own name. A few of these example files a |
|
|
A few of these example files are included. |
|
|
re included. You may make changes to them or |
|
|
You may make changes to them or clear their buffers. |
|
|
clear their buffers. Then you may save the template with a |
|
|
Then you may save the template with a |
|
|
|
|
|
different name.</p> |
|
|
different name.</p> |
|
|
|
|
|
|
|
|
<p><IMG ALT="" SRC="images/stripping.jpg" align="center"></p> |
|
|
<p><IMG ALT="" SRC="images/stripping.jpg" align="center"></p> |
|
@ -272,8 +282,8 @@ different name.</p> |
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
Edit->Settings->Stripping allows you to turn off/on stripping for |
|
|
Edit->Settings->Stripping allows you to turn off/on stripping for |
|
|
Libraries, Binaries, and Modules. |
|
|
Libraries, Binaries, and Modules. --strip-all is the |
|
|
--strip-all is the default for binaries and libraries, |
|
|
default for binaries and libraries, |
|
|
and --strip-debug is the default for modules; however libraries may |
|
|
and --strip-debug is the default for modules; however libraries may |
|
|
be changed to --strip-debug in the settings.</p> |
|
|
be changed to --strip-debug in the settings.</p> |
|
|
|
|
|
|
|
@ -291,8 +301,8 @@ environments $PATH variable. |
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
Edit->'File System" may alter the type of filesystem used to make the root |
|
|
Edit->'File System" may alter the type of filesystem used to make the root |
|
|
filesystem. |
|
|
filesystem. Because the filesystem is |
|
|
Because the filesystem is created on a loop device, some |
|
|
created on a loop device, some |
|
|
filesystem types may complain or not be created at all.</p> |
|
|
filesystem types may complain or not be created at all.</p> |
|
|
|
|
|
|
|
|
<p><IMG ALT="" SRC="images/replacements.jpg" align="center"></p> |
|
|
<p><IMG ALT="" SRC="images/replacements.jpg" align="center"></p> |
|
@ -307,8 +317,8 @@ an editor of your choice. |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
Create->Replacements creates special replacement files. |
|
|
Create->Replacements creates special replacement |
|
|
Presently it creates |
|
|
files. Presently it creates |
|
|
an fstab configuration file as Replacements/etc/fstab.new in |
|
|
an fstab configuration file as Replacements/etc/fstab.new in |
|
|
$HOME/.gbootroot/yard/.</p> |
|
|
$HOME/.gbootroot/yard/.</p> |
|
|
|
|
|
|
|
@ -331,8 +341,8 @@ filesystem.</P> |
|
|
(Explanation from the first gbootroot.)<br> |
|
|
(Explanation from the first gbootroot.)<br> |
|
|
"You can use a bzip2 compressed filesystem, this program is easy to use, and |
|
|
"You can use a bzip2 compressed filesystem, this program is easy to use, and |
|
|
it provides a framework showing a simple initrd method which you can freely |
|
|
it provides a framework showing a simple initrd method which you can freely |
|
|
modify. |
|
|
modify. I wrote this program as an extension to BootRoot |
|
|
I wrote this program as an extension to BootRoot which was written |
|
|
which was written |
|
|
as a solution to help oster at EE (www.experts-exchange.com) create separate |
|
|
as a solution to help oster at EE (www.experts-exchange.com) create separate |
|
|
boot and root floppies for an emergency system for his customers."</P> |
|
|
boot and root floppies for an emergency system for his customers."</P> |
|
|
|
|
|
|
|
@ -361,28 +371,31 @@ $HOME/.gbootroot/root_filesystems. </p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
3. Run gbootroot. |
|
|
3. Run |
|
|
Click on the Advanced Root Section, click on |
|
|
gbootroot. Click on the Advanced Root Section, click on |
|
|
the UML button. Select root_fs_tomrtbt_1.7.205, and click on the Submit |
|
|
the UML button. Select root_fs_tomrtbt_1.7.205, and click on the Submit |
|
|
button.</p> |
|
|
button.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
4. Click on the Advanced Boot Section. |
|
|
4. Click on the Advanced Boot |
|
|
Root_fs_tomrtbt is about 16M, so add ramdisk_size=16384 to |
|
|
Section. Root_fs_tomrtbt is about 16M, so add ramdisk_size=16384 to |
|
|
the 'append=' entry. |
|
|
the 'append=' entry. From the main box choose '2 disk compression', and |
|
|
From the main box choose '2 disk compression', and |
|
|
|
|
|
press on the Root Filesystem button and select root_fs_tomrtbt_1.7.205.bz2. |
|
|
press on the Root Filesystem button and select root_fs_tomrtbt_1.7.205.bz2. |
|
|
</p> |
|
|
</p> |
|
|
|
|
|
|
|
|
5. Click the Submit button on the main box. |
|
|
5. Click the Submit button on the main |
|
|
Have two floppy disks ready. |
|
|
box. Have two floppy disks ready. |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
|
6. When you see Lilo you may access the menu using [Ctrl] and |
|
|
6. When you see Lilo you may access the menu using [Ctrl] and |
|
|
[Tab] to see the available images. |
|
|
[Tab] to see the available images. |
|
|
|
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
|
|
|
|
|
|
7. |
|
|
|
|
|
|
|
|
<P><b>My root filesystem doesn't start in single mode when started like |
|
|
<P><b>My root filesystem doesn't start in single mode when started like |
|
|
this:  "bootdisk 1?"</b></P> |
|
|
this:  "bootdisk 1?"</b></P> |
|
|
|
|
|
|
|
@ -397,9 +410,9 @@ Why on the subject, it should be pointed at the setting up init and its |
|
|
runlevels is one of the |
|
|
runlevels is one of the |
|
|
most challenging areas of creating a bootable root_fs.  Often |
|
|
most challenging areas of creating a bootable root_fs.  Often |
|
|
your creation will only work with "single" until all the conflicts |
|
|
your creation will only work with "single" until all the conflicts |
|
|
are resolved.   Things are complicated even futher by the fact that |
|
|
are resolved. Things are complicated even futher by the fact that |
|
|
devices can now be set up in two majors ways: tty? or ttys/? (devfs). |
|
|
devices can now be set up in two majors ways: tty? or ttys/? (devfs). |
|
|
  Fortunately, user-mode-linux comes in very handy for hunting |
|
|
Fortunately, user-mode-linux comes in very handy for hunting |
|
|
down all the bugs. |
|
|
down all the bugs. |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -431,11 +444,13 @@ zeroing block 1600 at end of filesystem."</p> |
|
|
|
|
|
|
|
|
I understand Theodore Ts'o reasoning for doing this, but I strongly believe |
|
|
I understand Theodore Ts'o reasoning for doing this, but I strongly believe |
|
|
that the old behavior was very useful for people creating |
|
|
that the old behavior was very useful for people creating |
|
|
mini-distributions so I have issued Feature Request (#) at (here). |
|
|
mini-distributions so I have issued Feature Request (#) at |
|
|
It should be noted that fdformat is an unacceptable solution because it tends |
|
|
(here). It should |
|
|
|
|
|
be noted that fdformat is an unacceptable solution because it tends |
|
|
to be machine specific, and the original mke2fs behavior made floppies that |
|
|
to be machine specific, and the original mke2fs behavior made floppies that |
|
|
worked everywhere. |
|
|
worked |
|
|
Feel free to add your comments to the Feature Request. Thanks.</p> |
|
|
everywhere. Feel free |
|
|
|
|
|
to add your comments to the Feature Request. Thanks.</p> |
|
|
|
|
|
|
|
|
<p> |
|
|
<p> |
|
|
|
|
|
|
|
@ -450,7 +465,8 @@ This is because of the way Gtk works. There are two adjustments, |
|
|
step and page increments. When you press your first mouse button the step |
|
|
step and page increments. When you press your first mouse button the step |
|
|
has been set to 282 so that a person can easily switch between 1440 and 1722. |
|
|
has been set to 282 so that a person can easily switch between 1440 and 1722. |
|
|
When you use your second mouse button the page is set at 360. You can go |
|
|
When you use your second mouse button the page is set at 360. You can go |
|
|
down to zero by pressing your third mouse button on the down arrow. Now |
|
|
down to zero by pressing your third mouse button on the |
|
|
|
|
|
down arrow. Now |
|
|
page up with the second button to 1440 and step with the first button to |
|
|
page up with the second button to 1440 and step with the first button to |
|
|
1722. Pretty cool, eh?</p> |
|
|
1722. Pretty cool, eh?</p> |
|
|
|
|
|
|
|
|