TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:6306] RH Installation



At 03:15 PM 6/4/99 -0500, you wrote:
>Sorry about that, fdisk is pretty easy to use when armed with these simple
>commands:
>
>p = print partition table
>d = delete partition
>n = new partition
>p = primary partition
>w = write partition table
>a = make bootable
>t = change partition type
>q = quit
>
>Let's pretend that I've got a 4GB disk and I want 1.2GB for /, 2GB for
>/home 1.2 gb for /usr and 40MB for swap (a "-> indicates steps between
>commands):
>
>$fdisk /dev/sda  (I have scsi)
>
>n -> p -> 1 -> 1 -> +1200M # (147 or 118076 would also work)
>n -> p -> 2 -> 148 -> +2000M # (402 or 2048287 would also work)
>n -> p -> 3 -> 403 -> +40M
>n -> p -> 4 -> 558 -> +1200M
>a -> 1
>t -> 3 -> 82
>
>Command (m for help): p
>
>Disk /dev/sda: 255 heads, 63 sectors, 553 cylinders
>Units = cylinders of 16065 * 512 bytes
>
>   Device Boot    Start       End    Blocks   Id  System
>/dev/sda1   *         1       147   1180746   83  Linux
>/dev/sda2           148       402   2048287+  83  Linux
>/dev/sda3           403       407     40162+  82  Linux swap
>/dev/sda4           408       553   1172745   83  Linux
>
>w
>
>That's basically it.  It's pretty simple to use.  Remember, use
>instructions at your own risk!  Good Luck!
>

Looking at the hard disk using fdisk, I have the following (an NT system
already exists on the harddrive)

Disk /dev/sda: 255 heads, 63 sectors, 1027 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/tmp/hda1   *         1       255   2048256    6  DOS 16-bit<=32M
/tmp/hda2           256      1024   6176992+   5  Extended
/tmp/hda6           766      1024   2080386    6  DOS 16-bit<=32M

NT takes up 4GB of the system. I want to put Linux on 3GB of my 4.5GB free
space and dual boot.  I can' t create a primary partition 'n -> p -> 1 -> 1
-> +1200M' because a primary partition already exists.  I take it my 4.5GB
of free space is in /tmp/hda2?  How would I set it up using fdisk?  Am I
going to have LILO problems because I have 1027 cylinders, not 1024?

Thank you for all your help!

Perry Hoekstra - dutchman@mn.uswest.net
-------------------------------------------------
All that is Microsoft does not glitter,           
Not all those who wander are lost;                 
The old AT&T Unix that is strong does not wither, 
Deep roots are not reached by frost.              

From the ashes of Spec1170 a fire shall be woken,
A light from the shadows shall spring;            
Renewed shall be the Unix OS that was broken,     
Linux shall be king.