Hello happy lunixers,
don't know if the subject is still under interest, but since the
title is clear u can easily trash it.
I'm not a Unix guru, nor a C guru, nor even a Msdos guru (but who
cares), and I do not have minix. Ok, now about my hardware:
a 386 sx, 2Mo Ram, 2hd one single bootable partionned Dos (120Mo)
and a 2 partitionned 40Mo (8 for dos, 32 for linux). Drive A is 1.44Mo
and B a 1.2Mo. To install once linux it took me 3days (36hours), to
reinstall it a second time no more than 1/4 an hour :-))
So i think that the following menu might be interesting (for future
linuxers), for others just have a look on (II.a.2 and III.):
I. image to diskette
--------------------
a) First of all get the minix demo-disk on plains.nodak.edu in
pub/Minix/????/demo
b) *don't forget* the rawrite.c program
c) rawrite the demo_disk on a formatted diskette (if u have trouble
like I had comment the error detection !!)
d) get the linux image on nic.funet.fi or any other place
e) rawrite them on /identical size/ diskette (either 1.2 or 1.44)
f) choose a partition on (one of) ur hd(s)
that's all for dos time
II. unix for i386 ....
----------------------
a) boot on the minix demo disk
PAY ATTENTION this demo disk can ONLY access to the 1st disk so
a.1: if ur choosen partition is on hd0 (the first one) do
mkfs /dev/hdX where X is in [1..4] the partition *UNDER MINIX* are
ordered
a.2: u silly choosed a partition on the 2nd hd (hd1) in that case u
have to [thanks linus it was simple and efficient]
1) Mount the linux root Image
-- if u use a 1.2 Mo drive do /etc/mount /dev/fdX /yyy
where X is 0 for drive A and 1 for drive B
-- if u use a 1.44 drive do /etc/mount /dev/PSX /yyy
where X is same as above
/yyy is the directory where u mount
2) then Perform a mkfs
mkfs /yyy/dev/hdY
where Y is in [6..9]
THAT's all for minix
b) boot on the linux bootimage, if all is fine (it should be), put the
rootimage disk ok.
c) now mount the partition:
PAY ATTENTION under *LINUX* the partition numbering is NOT the minix
one try a "backward" numbering i.e. either from 4 to 1, either from 9
to 5.
d) copy the files/directories (easy, there is a bash script in
INSTALL-0.10 on nic.funet.fi).
III. How to change ur bootimage to access directly on hd
--------------------------------------------------------
Simple if u take the C program in INSTALL-0.10 *AND* if u know that:
the device number to use
#define NEW_DEV is_partition_number_under_linux
*AND*
if u DO NOT COMPILE THIS FILE ON SUN or OTHER UniX Station
OTHERWISE (* i was in that case *)
U HAVE TO CHANGE SOMETHINGS *only the diffs are pointed out* in what
follows (in french i would have said "inversion des bits de poids
forts et de poids faibles")
#define NEW_DEV 0x301 ---\ for DOS
|
/
#define NEW_DEV 0x103 --- for SUN/ALLIANT/...
[identical part deleted]
if (0xAA55 != *((unsigned short *)(tmp+510)))
||||
if (0x55AA != *((unsigned short *)(tmp+510)))
[rest is identical]
IV Enjoy this UniX kernel
-------------------------
| Linus Torvalds | Linux 2.6.27-rc8 |
| Andi Kleen | [PATCH x86] [2/16] Add a counter for per cpu clocksource watchdog checks and repor... |
| David Miller | Slow DOWN, please!!! |
| Greg KH | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
git: | |
| Jeff King | Re: [PATCH] Color support added to git-add--interactive. |
| Yann Dirson | Re: irc usage.. |
| Peter Stahlir | Git as a filesystem |
| Junio C Hamano | Re: [PATCH 3/3] Teach "git branch" about --new-workdir |
| new_guy | Code signing in OpenBSD |
| Jason Dixon | Wasting our Freedom |
| Nick Guenther | Re: Real men don't attack straw men |
| Daniel Ouellet | identifying sparse files and get ride of them trick available? |
| Wolfgang Walter | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Tomasz Grobelny | [PATCH 0/5] [DCCP]: Queuing policies |
| Arjan van de Ven | Re: [GIT]: Networking |
| high memory | 8 hours ago | Linux kernel |
| semaphore access speed | 11 hours ago | Applications and Utilities |
| the kernel how to power off the machine | 12 hours ago | Linux kernel |
| Easter Eggs in windows XP | 15 hours ago | Windows |
| Shared swap partition | 16 hours ago | Linux general |
| Root password | 16 hours ago | Linux general |
| Where/when DNOTIFY is used? | 18 hours ago | Linux kernel |
| How to convert Linux Kernel built-in module into a loadable module | 20 hours ago | Linux kernel |
| Linux 2.6.24 and I/O schedulers | 21 hours ago | Linux kernel |
| USB Driver -- Interrupt Polling -- A Little Help Please | 1 day ago | Linux general |
