[comp.unix.xenix] PACKDISK with 1 filesystem

kory@avatar.UUCP (Kory Hamzeh) (10/25/89)

I picked up a copy of PACKDISK with the Xenix/386 modifications. PACKDISK
needs to have the file system its compressing to be unmounted for
obvious reasons. I only have 1 filesystem on my drive (root). Can
I create a boot floppy and run packdisk off of that? If so, do I
tell packdisk to pack /dev/hd0?

Any help for by really appreciated.

Thanks,
--kory


-- 
-------------------------------------------------------------------------------
Kory Hamzeh			    UUCP:     ..!uunet!psivax!quad1!avatar!kory
				    INTERNET: avatar!kory@quad.com

jbayer@ispi.UUCP (Jonathan Bayer) (10/25/89)

kory@avatar.UUCP (Kory Hamzeh) writes:

>I picked up a copy of PACKDISK with the Xenix/386 modifications. PACKDISK
>needs to have the file system its compressing to be unmounted for
>obvious reasons. I only have 1 filesystem on my drive (root). Can
>I create a boot floppy and run packdisk off of that? If so, do I
>tell packdisk to pack /dev/hd0?


You run packdisk off of the boot floppy, and pack disk  /dev/hd0root.
It will take a bit longer if you are a little short on memory.



JB
-- 
Jonathan Bayer		Intelligent Software Products, Inc.
(201) 245-5922		500 Oakwood Ave.
jbayer@ispi.COM		Roselle Park, NJ   07204    

darko@hpspcoi.HP.COM (David Arko) (10/25/89)

  I would say that making a bootable floppy would be your best bet.  If
Xenix floppys are the same as SCO Unix 3.2, you want to refer to the
hard disk root partition as /dev/hd0root,  notice that this device is
not on the hard disk, but it gets created when you make a boot floppy.

You also have to remember to copy all the 'extra' utilities onto the
floppy filesystem before you boot off it.

Hope this helps...

David Arko
darko@hpspcoi.hp.com

davidsen@crdos1.crd.ge.COM (Wm E Davidsen Jr) (10/26/89)

  When you boot from a floppy the root is usually called /dev/hd0root

-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon

usenet@cps3xx.UUCP (Usenet file owner) (10/27/89)

From article <1194@ispi.UUCP>, by jbayer@ispi.UUCP (Jonathan Bayer):
> kory@avatar.UUCP (Kory Hamzeh) writes:
> You run packdisk off of the boot floppy, and pack disk  /dev/hd0root.
> It will take a bit longer if you are a little short on memory.

I made a standard boot & root floppy and kept getting:

kernel: WARNING: out of swap space

Can this be safely ignored, or must I hand hack up a floppy with more
swap space? This was on a machine with 6MB of main memory, approx
2MB of which is used by the kernel (I use a BIG disk cache)

j				|%|John Lawitzke, Dale Computer Corp., R&D
				|%|UUCP: uunet!frith!dale1!jhl	   	Work
				|%|      uunet!frith!dale1!ipecac!jhl 	Home
Inquiring minds just wondering. |%|Internet: jhl@frith.egr.msu.edu

jbayer@ispi.UUCP (Jonathan Bayer) (10/27/89)

usenet@cps3xx.UUCP (Usenet file owner) writes:

>From article <1194@ispi.UUCP>, by jbayer@ispi.UUCP (Jonathan Bayer):
>> kory@avatar.UUCP (Kory Hamzeh) writes:
>> You run packdisk off of the boot floppy, and pack disk  /dev/hd0root.
>> It will take a bit longer if you are a little short on memory.

>I made a standard boot & root floppy and kept getting:

>kernel: WARNING: out of swap space

>Can this be safely ignored, or must I hand hack up a floppy with more


I wouldn't ignore it.

Create a special kernel which uses about 300k of disk buffers.



JB
-- 
Jonathan Bayer		Intelligent Software Products, Inc.
(201) 245-5922		500 Oakwood Ave.
jbayer@ispi.COM		Roselle Park, NJ   07204    

simon@ms.uky.edu (G. Simon Gales) (10/27/89)

In article <5140@cps3xx.UUCP> usenet@cps3xx.UUCP (Usenet file owner) writes:
>I made a standard boot & root floppy and kept getting:
>
>kernel: WARNING: out of swap space
>
>Can this be safely ignored, or must I hand hack up a floppy with more
>swap space? This was on a machine with 6MB of main memory, approx
>2MB of which is used by the kernel (I use a BIG disk cache)
>

Is it possible to set up a root-boot floppy that uses the hard disk for 
swap space?  Looking in /etc/default/boot on both the floppy and the hd
seem to indicate this can be done... Has anyone tried?

-- 
Simon Gales@The University of Kentucky
   simon@ms.uky.edu             | 'Fate... protects fools, little children,
   simon@UKMA.BITNET            |  and ships named Enterprise.' 
   {rutgers, uunet}!ukma!simon  |                           - Riker, ST:TNG

garyb@gallium.UUCP (Gary Blumenstein) (10/29/89)

In article <106@avatar.UUCP> kory@avatar.UUCP (Kory Hamzeh) writes:
>I picked up a copy of PACKDISK with the Xenix/386 modifications. PACKDISK
>needs to have the file system its compressing to be unmounted for
>obvious reasons. I only have 1 filesystem on my drive (root). Can
>I create a boot floppy and run packdisk off of that? If so, do I
>tell packdisk to pack /dev/hd0?

I did this by creating a bootable floppy and using mknod(C) to create a 
device for the hard disk on the floppy.  Place packdisk in the floppy's
/bin directory and run it by specifying the character special device 
file.  For example, if the hard disk block device is named /dev/hd0root
then the character device would be /dev/rhd0root.  

For the most happiness and enjoyment, run fsck both in front and behind 
packdisk.

Ref. See DiSCOver, Mar/Apr 1988 for more info on creating rootable/bootable
floppies and device files.
                                             -- Gary --
-- 
Gary Blumenstein, UNIX Network Administrator // CIBA-GEIGY CORPORATION, USA
===========================================================================
Voice: (914) 347-4700                  7 Skyline Drive, Hawthorne, NY 10532
FAX  : (914) 347-5687     uucp: ...{philabs, gaboon}!crpmks!{sysadm, garyb}