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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-09-2003, 11:13 PM
|
#1
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Rep:
|
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?
|
|
|
08-09-2003, 11:21 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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 11:23 PM.
|
|
|
08-09-2003, 11:23 PM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
So cfdisk will automatically take some space away from hda2 and create a root partition for Slackware?
|
|
|
08-09-2003, 11:24 PM
|
#4
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Is your drive already full?
|
|
|
08-09-2003, 11:27 PM
|
#5
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
No, theres a lot of space on it (almost 30 Gig free), I dont want it to destroy redhat installation thats all
|
|
|
08-09-2003, 11:30 PM
|
#6
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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)
|
|
|
08-09-2003, 11:34 PM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
cool, I am gonna go right now and install it
thanks
|
|
|
08-09-2003, 11:36 PM
|
#8
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Nice - re-post if there are any questions/probs on the way
|
|
|
08-09-2003, 11:49 PM
|
#9
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
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?
|
|
|
08-09-2003, 11:59 PM
|
#10
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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?
|
|
|
08-10-2003, 12:03 AM
|
#11
|
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044
Original Poster
Rep:
|
yes, its inside the partition. What are my other options? I posted my partitions in the first post.
thanks again
|
|
|
08-10-2003, 12:10 AM
|
#12
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Have you looked at using parted? www.freshmeat.net
Cool
|
|
|
08-10-2003, 12:20 AM
|
#13
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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-10-2003 at 12:22 AM.
|
|
|
All times are GMT -5. The time now is 08:49 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|