[comp.os.minix] Installing Shoelace on Your Hard Disk

cechew@bruce.cs.monash.OZ.AU (Earl Chew) (09/24/90)

[Perfect_Partition writes...]
> I want to get shoelace up. My disk partition is:
> 
>    partition 1 -- DOS
>    partition 2 -- Minix /usr
>    partition 3 -- Minix root (3mb and loaded in RAM)
> 
> What laceup commands should I give to install
> your program? Assume all the files are in the
> necessary files as they are.
> 
> I thought
> 
> 	laceup /dev/hd3 wini
> 
> followed by 
> 
> 	laceup -w 1 /dev/hd0
> 
> would do it. But I am hesitant because of the warnings on
> the "Shoelace Installation" page and all my partitions are
> perfectly set, so I don't want to mess up.

Yes, this will do the trick. HOWEVER, things can still go wrong. I STRONGLY
suggest that you practise first:

1. Put a formatted floppy disk in /dev/at0 (or /dev/fd0 as appropriate)
2. dd if=/dev/hd0 of=/dev/at0 bs=512 count=1
3. Put this floppy somewhere safe. It contains your *good* partition table.

4. Put another floppy in the drive.
5. dd if=/dev/hd0 of=/dev/at0 bs=512 count=1
6. laceup /dev/hd3 wini
7. laceup -w 1 /dev/at0
8. Now shutdown and boot the floppy (yes, the floppy)

9. You should now see the WiniBoot sign on message
10.Try selecting [1] for DOS. Try the timeout feature. Try selecting [3]
   for Minix root.

11.If all goes well then laceup -w 1 /dev/hd0.
12.If all is not well, you can recover your original partition table by booting
   Minix the *old* way (ie without using shoelace), then with the saved
   partition table floppy (write protect it!):
	dd if=/dev/at0 of=/dev/hd0 bs=512 count=1

You will find that your root partition is no longer loaded into ram disk. In
order to achieve this effect, you will have to edit /etc/config to select the
ramdisk to be the root, or set a non-zero ramdisk size.

Earl
-- 
Earl Chew, Dept of Computer Science, Monash University, Australia 3168
EMAIL: cechew@bruce.cs.monash.edu.au PHONE: 03 5655447 FAX: 03 5655146
----------------------------------------------------------------------