LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2003, 10:13 PM   #1
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
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?
 
Old 08-09-2003, 10:21 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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

Last edited by Skyline; 08-09-2003 at 10:23 PM.
 
Old 08-09-2003, 10:23 PM   #3
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
So cfdisk will automatically take some space away from hda2 and create a root partition for Slackware?
 
Old 08-09-2003, 10:24 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Is your drive already full?
 
Old 08-09-2003, 10:27 PM   #5
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
No, theres a lot of space on it (almost 30 Gig free), I dont want it to destroy redhat installation thats all
 
Old 08-09-2003, 10:30 PM   #6
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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)
 
Old 08-09-2003, 10:34 PM   #7
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
cool, I am gonna go right now and install it
thanks
 
Old 08-09-2003, 10:36 PM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Nice - re-post if there are any questions/probs on the way
 
Old 08-09-2003, 10:49 PM   #9
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
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?
 
Old 08-09-2003, 10:59 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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?
 
Old 08-09-2003, 11:03 PM   #11
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Original Poster
Rep: Reputation: 45
yes, its inside the partition. What are my other options? I posted my partitions in the first post.
thanks again
 
Old 08-09-2003, 11:10 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Have you looked at using parted? www.freshmeat.net

Cool
 
Old 08-09-2003, 11:20 PM   #13
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
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.

Last edited by Skyline; 08-09-2003 at 11:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
system alarm on boot in slackware 10.0 but not win2000(dual boot) Arch Stanton Slackware 3 01-24-2005 10:33 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 01:46 PM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM
Redhat / Slackware Dual boot... howto?? patrik1982 Linux - Newbie 5 10-18-2003 12:29 PM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration