-   Linux - Newbie (
-   -   RedHat and Slackware dual boot (

ksgill 08-09-2003 11:13 PM

RedHat and Slackware dual boot
Heres my fdisk -l output:

Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4736 37937497+ 83 Linux
/dev/hda3 4737 4866 1044225 82 Linux swap

What is the best way of making a new partition so that I can install slackware on it?

Skyline 08-09-2003 11:21 PM

Hi Jatt thugz

In the Slackware install you'll be able to use cfdisk to create a :

Root partition

for Slack to go on to

Slack will automatically recognise and configure your Swap partition (in your case it will ask you whether you want to use /dev/hda3 as your Swap) - so you'll only need to create a Root partition - a full Slack install can fit on 3 gigs

ksgill 08-09-2003 11:23 PM

So cfdisk will automatically take some space away from hda2 and create a root partition for Slackware?

Skyline 08-09-2003 11:24 PM

Is your drive already full?

ksgill 08-09-2003 11:27 PM

No, theres a lot of space on it (almost 30 Gig free), I dont want it to destroy redhat installation thats all

Skyline 08-09-2003 11:30 PM

If youve got 30 gigs free at the end of your drive, then you can safely use cfdisk from within the Slack install to create a Root partition in the free space - (choose type 83 to get a Linux filesystem for the partition)

ksgill 08-09-2003 11:34 PM

cool, I am gonna go right now and install it

Skyline 08-09-2003 11:36 PM

Nice - re-post if there are any questions/probs on the way

ksgill 08-09-2003 11:49 PM

I'm back, When I did cfdisk it showed me all partitions on my drive but when I tired to create a new partition from hda2, it wants to delete the whole partition and then make a new one. That partition has my redhat stuff. Is there a way to resize the existing partition and create space for new partition?

Skyline 08-09-2003 11:59 PM

Aah.. - I assumed you had 30 gigs free space at the end of your drive - is your 30 gigs free space actually inside the /dev/hda2 partition?

ksgill 08-10-2003 12:03 AM

yes, its inside the partition. What are my other options? I posted my partitions in the first post.
thanks again

MasterC 08-10-2003 12:10 AM

Have you looked at using parted?


Skyline 08-10-2003 12:20 AM

It's only an idea ( possibly risky/might not work) but you could try booting from the 1st RH9 cd rom and then choosing the option to update an existing installation - you should be able to get to the partitioning section - you might then be able to select /dev/hda2 - then click on Edit and then resize it by reducing the mb's -youd then have to recreate your swap partition next to the resized root partition - Red Hat needs the partitions to be contiguos - I'm not sure whether it will then save the partition table - if it did - you could then hopefully re-install the bootloader and then abort the update at that point - this is risky though and might not work - Master C's Parted is a safer/better bet.

All times are GMT -5. The time now is 04:35 AM.