Linux/Solaris 8/Windows ME/Windows 2000 Pro or Advanced Server HOW-TO
Introduction
This guide is designed to allow you to take a machine with a Maxtor 40 Gb drive as the main primary IDE drive and create a multi-booting machine which can run the above operating systems. I created this guide to document what I had done so I can do this again if needed. i.e. this is a disaster recovery guide allowing me to reinstall my operating systems from scratch if needed!
Final configuration
My partition layout is :-
Cylinders |
Partition Type |
Partition Id |
Operating System |
1-858 |
Solaris |
82 |
Solaris 8 Intel 6/00 |
858-1023 |
Linux |
83 |
Slackware 7.1 |
1024-3004 |
Win95 FAT32 (LBA) |
c |
C: WIn ME |
3005-4982 |
Win Ext'd (LBA) |
f (Extended Partition) |
N/A |
3005-4982 |
Win95 FAT32 |
b |
(D: Win 2000 Pro or Advanced Server |
Linux fdisk in advanced mode prints the partition table as :-
Nr |
AF |
Hd |
Sec |
Cyl |
Hd |
Sec |
Cyl |
Start |
Size |
Id |
1 |
80 |
254 |
63 |
0 |
254 |
63 |
857 |
1008 |
13777344 |
82 |
2 |
00 |
169 |
1 |
857 |
254 |
63 |
1022 |
13778352 |
2656143 |
83 |
3 |
00 |
0 |
1 |
1023 |
254 |
63 |
955 |
16434495 |
31824765 |
0c |
4 |
00 |
0 |
1 |
956 |
254 |
63 |
885 |
48259260 |
31776570 |
0f |
5 |
00 |
1 |
1 |
956 |
254 |
63 |
885 |
63 |
31776507 |
0b |
My Solaris slices are:-
0 |
/ |
946Mb |
3-1925 |
1 |
swap |
148Mb |
1926-2226 |
2 |
whole |
6.57Gb |
0-13665 |
7 |
home |
5.5Gb |
2227-13665 |
8 |
boot |
0.49Mb |
0-0 |
9 |
alt |
0.98Mb |
1-3 |
My lilo.conf is
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
# Normal VGA console
vga = normal
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hda2
label = Linux
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Sun8
table = /dev/hda
# DOS bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda3
label = Win
table = /dev/hda
# DOS bootable partition config ends
This means when I boot I get a LILO boot: prompt and can enter
Tab to get a list of operating Systems
Linux to boot Linux
Sun8 to boot Solaris
Win to boot Windows which then gives me the choice of Windows 2000 or
Windows (which is Windows ME).
Installation steps
1 Boot from linux floppy
fdisk /dev/hda
d to delete all partitions
w to save
q to quit
1 Boot from CD
Boot from the Solaris Software Disk 1 of 2 CD
Note :- in the Award Bios choose Boot Options and make the CD the first one.
- This will boot inti the Solaris Device Configuration Assistant.
The Bus Emuneration screen appears, Solaris scans for devices and lists them.
Choose F4 Device Tasks
Put an X against Keyboard Configuration and press F2 to continue
Scroll down near the bottom and put and X next to Uk English and Press F2
The With/Without Windows keys screen appears with the default of with Windows keys
Mark option with an X and F2 to continue
This gives the Device Tasks screen, press F3 to go back to the list of devices.
Identified Devices screen appears, F2 to continue
Message loading ata.bef appears
The Boot Solaris screen appears with the options HD (Hard Disk) CD or Net ( I get two net options since I have two network cards in my PC)
Choose CD
The screen goes white and eventually a menu with two options appears
1. Interactive Install 2. Custom Jump Start
Choose 1 for Interactive install (advanced usera can enter b -s here to get to a single user shell!).
Solaris blanks the screen and the messages "Configuring /dev and /devices" appear
Solaris eventually shows the messages "Skipping interface iprb1 and iprb0 these are the two network cards which are not yet configured.
The message Select a Language appears, choose 0 for English
The messge select a locale appears, choose 0 for English (C 7-nit ASCII)
The Solaris Installation Program screen appears, press F2 to continue
The kdmconfig Introduction screen appears, press F2 to continue
This shows
Video Device: NVIDIA RIVA TNT2 (32Mb)
Screen size 16 inch (41cm)
Resolution/Colors 1024/768 - 256 colors @75HZ
Monitor Type Plug and Play MFrq 16 inch
Max 1B67 (up to 1280x1024@)
Keyboard Type: Unknown
Pointing Device : Builtin- PS/2 mouse (3 Button)
Put an X next to Change Keyboard and press F2
Select UK-English with an X and press F2
Put an X next to No changes needed Test/Save and Exit and press F2
Screen marked KdmConfig Window System Configuration Test appears, press F2
The screen blanks and the keyboard lights flash
A test patttern appears on the screen showing blocks of color and a mouse pointer (an X) appears. Click OK to continue.
A Solaris Welcome banner flashes up and the window system starts up with an arrow mouse pointer. At this point a small window appears in the top left which is the Solaris Install Console. This should be ignored, it shows various messages as the install progresses.
The message, "The system is coming up please wait" appears.
Eventually the 2Identify this system" window appears. Click continue.
The Network Connectivity windows appears with the question Networked? Yes/No. Click the default Yes.
The DHCP window appears with the question Use DHCP? Yes/No. Click the default No.
The Primary Network interface Window appears. Click the default iprb0.
Enter your hostname, ip address and select the default of Use Ipv6 No.
A Confirm window appears with the options continue/Change/Help with the default of change, click continue.
A Configure Kerberos security window? Yes/No appears, choose the default No
A Confirm window appears with the options continue/Change/Help with the default of change, click continue.
A Name Service windows appears with the options NIS+/NIS/DNS/None with the default of NIS+. Choose None as we will use the /etc/hosts file.
A Confirm window appears with the options continue/Change/Help with the default of change, click continue.
A Subnets window? Yes/No appears, choose the default Yes
Enter a netmask of 255.255.255.0
A TimeZone window appears. You can define the timezone by Geographic Region, Offset from GMT or Time Zone file. Choose the default Geographic Region.
A Geographic region screen appears with the options Africa/Asia, Eastern/Asia, Western/ Australia/New Zealand/canada/Europe/Mexico/South America/United States. Choose Europe Great Britain. Note According to this screen Canada and East Saskatchewan are together and Afica only contains Egypt and Libya!
A Date and Time screen appears where you can..
A Confirm window appears with the options continue/Change/Help with the default of change, click continue.
At this point the small window in the top left shows the install scripts running.
A Solaris interactive install window appears, click on continue
A Windows File Manager like tree appears allowing selection of the Geographic regions to install. Select Western Europe and within it Great Britain.
A Select software screen appears options are:-
Entire Distribution with OEM Support 895 Mb
Entire Distribution 895 Mb
Developer System Support 859 Mb
End Users System Support 612 Mb
Core System Support 203 Mb
An option to include Solaris 64-bit support which is greyed-out.
- A select disks screen appears. Choose c0d0 (boot disk) 6824Mb and continue.
- Options for File System Layout appear next, these are Auto-Layout/Go Back/Manual Layout/Exit/Help. Choose Auto-Layout.
- The Automatically Layout Filesystems screen appears, allowing the choice of filesystems to create (/,/opt,/usr,/usr/openwin,/var,swap) choose the defaults of just / and swap.
- A File System and Disk Layout screen appears showing
File System Disk Size Options
/ c0d0s0 946Mb
swap c0d0s1 148Mb
overlap c0d0s2 6828Mb
/export/home c0d0s7 5736Mb
choose continue
- The Mount Remote FileSystems screen appears allowing you to define disks on other machines to be mounted. (Note: You can define server/IP Address/Remote Filesystem/Mount Point. A simple Add/Remove/Test screen is available). Skip this option.
- A Profile Screen appears showing the options selected so far. Choose the default Begin Installation.
- A warning appears saying "You musy change the System's BIOS Default boot device after installing Solaris Software". This is because the BIOS is set to boot from CD!
- Eventually a reboot screen appears and you can choose an Automatic Reboot.
- A warning screen appears saying eject boot diskette now. (This is in case you were installing after booting from floppy.) Click OK.
- Solaris now installs and an Installling Software Progress screen appears with a progress bar. The Solaris Install Console lists messsages from the scripts which install Solaris.
- Once Solaris reboots change the BIOS to boot from floppt then CD.
- The message "SunOS Secondary Boot 3.00" appears at the top of the screen.
- Messages appear
Configuring IPV4 interfaces iprb0
Hostname smooth2
Configuring /dev and /devices
Checking ufs file systems
/dev/rdsk/c0d0s1 is clean
All devices are configured
- A blue password screen appears to allow setting the root password. Press Return twice to leave it blank.
- The message "Starting WebStart Launcher" appears
- A Solaris splash screen appears and the message "Extracting..."
- The Specify Media Screen appears CD/NFS. Choose CD.
- An install Software 2 screen appears.
- The CD ejects and a message "Please insert Solftware 2 CD appears"
- Put the CD in and the installer launches.
- The Installation screen appears with a progress bar.
- Eventually an Installtion Summary screen appears. Ejects CD and a reboot now screen appears. Note a log of the installation is kept under /var/sadm/install/logs
- The system reboots and after a few minutes a login screen appears.
- Login as root, choose CDE as the Desktop.
- Right click on the screen, choose Tools and then Terminal.
- A Terminal window appears, enter the word reboot and press enter.
Create Linux and DOS Partitions
Put the Linux boot floppy in and at the 'boot:' prompt press enter
When the "VFS: Insert root floppy disk to be loaded into RAMdisk" message appears swap floppies to the root disk floppy and press enter.
At the login prompt enter root
Enter "fdisk /dev/hda"
P to print the partition table displays
Device Boot Start End Block Id System
/dev/hda1 * 1 871 6990384 82 Linux swap
This is the Solaris partition but because the Id is the same as Linux swap, Linux displays 'Linux swap'!
- Enter n to create a new partition
- Enter p to create a primary partition and enter 2
- Enter First cylinder 871
- Enter Last cylinder 1023
- Enter w to write this to disk and the message "ioctil to re-read" type message appears
- Enter "init 0"
- After the "INIT: No more processes in this run level" appears reset the PC
- Boot the Windows ME Partition
- Choose option 2 "Boot with CD-ROM support"
- Enter "fdisk"
- Choose Y to enable large disk support
- Choose 1 to create DOS partition
- Choose 1 to create a Primary DOS Partition
- The system verifies the disk integrity and eventually prompts "Do you wish to use the maximum available size for a Primary DOS Partition and make it active". Choose N.
- The system verifies the drive again and says "Available space 31055 Mb". Enter 15525 for the partition size.
- The system verifies the drive again!
- Choose 1 to create DOS partition
- Choose 2 to create an Extended DOS Partition
- The system verifies the drive again!
- Prompt to create a Logical Drive. Choose the default of 15525 Mb
- Message appears "All available space in the Extended Dos partition is assigned to logical drives"
- Press Escape twice
- Message appears "You MUST restart your system for your changes to take effect. All drives you have created or changed must be formatted after you restart"
- Reboot from Windows ME floppy again with CD-ROM Support.
- Put the Windows ME CDROM in (this is drive E: on my system).
- Change to E:
- Enter "cd \WIN9X"
- Enter "format c:"
- Enter "format d:"
- Enter "C:"
- Eject CD
- Enter "mkdir s"
- Enter "cd s"
- Put in the floppy containing unzip.exe and slacka.zip
- Enter "a:\unzip.exe a:\slacka.zip
- Eject the floppy, insert Linux boot floppy and reboot PC
- Enter return at "boot:" prompt
- Insert Linux root floppy at "VFS.." prompt
- Login as root
- Enter "setup"
- Select Keymap option and pick uk.map
- Press "1" and then enter at Keyboard test prompt
- At Add Swap Yes/No prompt select No
- Select Target prompt appears. Select default of /dev/hda2
- Format/Check bad blocks/No prompt appears, Select the default of Format
- Select the default of 4096 bytes per i-node
- Add Linux partition to /etc/fstab
- Add DOS partitions prompt appears, select Yes
- Choose /dev/hda3 OK
- Where to mount, enter /dosc
- Choose /dev/hda5 and /dosd
- At list of Fat partitions select Exit
- At select source location prompt enter Yes
- 4 options appear, choose 2 From hard disk partition
- Enter /dev/hda2 for the partition and then /s for the directory
- At select disk sets prompt enter Yes
- Use the space bar to unmark all but "A Base Linux System"
- At Go to install section prompt select Yes
- At the prompting mode screen select Full
- The Linux system now installs
- At the install Linux kernel screen choose from boot disk and insert the Linux boot floppy at the next prompt
- The system copies the Linux kernel to the hard disk
- At the next prompt eject the floppy and choose continue to skip making a boot disk
- At the modem prompt select None
- At the cdrom prompt select No I'll mount CD when needed
- At the Try custom screen fonts select No
- At the lilo (boot loader setup) screen select Expert
- Select Begin and then press enter at the extra parameters prompt
- Select standard Linux Consol
- For Lilo target location select MBR
- For delay select prompt+wait
- Add Linux partition /dev/hda2 called Linux
- Add Dos Partition /dev/hda3 called ME
- Install
- At mouse config screen select ps/2
- At load gpm at boot time screen select N
- At Warning no root password Select No
- At setup complete screen select No and Exit Setup
- Enter "umount -a"
- Eject Linux boot floppy
- Put in the Windows ME floppy and CD
- Enter "init 0" and at the "INIT :No more processes in this runlevel" message reset the PC
- Select option 2 boot PC with CD-ROM support
- Change to the CD-ROM drive (for me E:)
- Cd \win9x
- Format c:
- Cd \
- Enter "setup". (Note: The Windows ME floppy would have done cd e:\win9X and OEMSETUP.EXE
But this fails at the formating drives part of the installation.
Windows ME Installation
Press Enter and Windows ME checks your drives
Select Exit when this finishes
A Windows Millenium Edition Setup screen appears click on Next
The License screen appears click I Accept
Enter the license key from the yellow labale on the back of your CD-ROM Case
At the select directory screen choose the default of C:\WINDOWS
The setup option screen appears, choose custom
The Select Components screen appears
Remove Accessibility and Online Services options
In System Tools add Netwatcher, System Monitor and System Resource Meter
The system should now require 552.9Mb to install.
The next screen is the Network Identification Screen. Enter the computer name, workgroup name and computer description.
The next screen is the Language screen, select English
The next sreen is the Country/Region screen, select United Kingdom
The next screen is the Keyboard Layout screen, select British (NOTE: Why are all the options different?)
Select Timezone GMT (make sure "Automatically adjust clock for Daylight Savings Time is checked)
Cancel create a startup disk
Eject floppy when prompted.
Select Finish and ME starts copying files.
ME installs itself and reboots 3 times whilst installing!
Eventually a "Enter Windows Password" dialog box appears
Enter a Password and the "Set Windows Password" dialog box appears
Enter your password again and the "Welcome to Windows ME" Video plays!
Eventually this ends with 4 coloured boxes on the screen (yellow/green/blue/red)
Select Exit in the Top Right corner of the screen.
Choose Start, Shutdown and select reboot from the drop down box and select ok.
The system will reboot into Windows ME
Select Start -> Control Panel -> Network
Pick "View all Control Panel options" on the left of the window.
Select Network
Right click on TCP/IP -> Intel Adapter and select Properties
On the IP Address Tab enter Specify an IP Address. Enter Ip Address, Subnet mask and Default Gateway if needed.
Repeat this for the other network card.
Choose Start -> Programs -> Accessories -> MS-DOS Prompt (Yes, it has moved on the menus again!)
Ping another machine by entering "Ping <IP Address>"
Select Start-> Control Panel -> Network
Under File and Print Sharing Enable File and Print Sharing
On the desktop open the Network Places icon (formerly Network Neighbourhood)
Select Entire Network
A list of workgroups should appear and you can select another machine to view!
Make sure you have the Windows ME floppy and Windows 2000 Advanced Server CD in the PC.
Reboot and select option 2 Start computer with CDROM Support
E:
Enter "cd bootdisks"
Enter "Makeboot". This will allow you to make 4 floppys ready to install Windows 2000 Pro
- Put 1st floppy in drive and reset the PC
Windows 2000 Pro installation
For Windows 2000 Advanced Server see the other guide on this Web Site.
- Put the other 3 floppies in when prompted
- Windows 2000 then starts
- Press Enter to install
- Press F8 to agree to the license
- Select D: FAT32 partition to install into
- Choose leave current file system instact (no changes)
- Setup checks drives
- Setup create a list of files to copy and then copies them to drive d
- The computer then reboots
- Eject the floppy
- At the boot screen two options appear Windows 2000 Pro and Windows. The system will eventually choose the default and continue the installation.
- Windows reboots and detects devices
- Set the local to UK
- Enter the Product Key (Mine came on the wrapper for the CD!)
- Enter the computer name and administrator password
- Select the TimeZone
- The system installs network components
- Choose Custom Install
- For each network card you can now set the IP address under Internet Protocols (TCP/IP) Properties
- Enter the workgroup or domain name
- The system now copies files to the drive d
- The system performs final tasks
- When the complete Windows 2000 Setup screen appears eject the CD and click Finish
- The system reboots and eventually the Getting Started Dialog appears
- Select Start->Settings->Control Panel->Network and Dialup Connections and configure network cards as with Windows ME
- On the desktop select "My Network Places" -> Entire Network -> Microsoft Windows Network
- Pick a workgroup and computer and make sure you can see the drives
- To rename the machine go to Control Panel -> System, Choose Network Identification and Properties
- Put the Windows ME floppy in the drive and reboot
Install Bootup Software
Select option 2 Start computer with CD-ROM support
Enter "fdisk"
Choose option 2 "Set active partition" and enter 1
Esc to exit fdisk
Reboot with Linux boot floppy
At "boot:" prompt enter "mount root=/dev/hda2 ro"
Edit /etc/lilo.conf to be as above
Run "/sbin/lilo -L -P ignore"
Note -P ignore is because the Solaris partition is strange
Booting the PC
When the PC boots choose
To boot |
Choose |
Solaris |
Enter "Sun8" at boot prompt |
Linux |
Enter "Linux" at boot prompt |
Windows ME |
Enter "Win" at boot prompt and then Select the second option Windows |
Windows 2000 Pro |
Enter "Win" at boot prompt and then Select the first option Windows 200 Pro |
Finally (for ME)
Boot Linux
Enter "mount /dev/cdrom /cdrom"
Install package sets AP,DES and N from slackware CD