LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-27-2006, 11:30 AM   #1
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Rep: Reputation: 15
Help with cfdisk for dual boot


Hi there

I've got dapper on my PC. Now I'd like to install Slackware and have the both of them in dual boot
I typed fdisk -lu form terminal and got the following message:

Quote:
Device Boot Start End Blocks Id System
/dev/hda1 * 63 74943224 37471581 83 Linux
/dev/hda2 74943225 78172289 1614532+ 5 Extended
/dev/hda5 74943288 78172289 1614501 82 Linux swap / Solaris
I know I have to make room for the new distro, but I can't understand how I am supposed to go on.
I've seen cfdisk, but at the momento I can't write anything with it. Maybe I have to do other operation first.

Thanks for any hint.
 
Old 12-28-2006, 06:35 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
That form of fdisk does not tell us the total size of the drive, but I'm guessing it is 40GB--and it is full.

You will need to re-size the main Linux partition to make room. This must be done from another OS--eg by using a Knoppix CD with QTParted, or the GParted bootable CD.

Be sure to back up any important files first.
 
Old 12-28-2006, 07:47 AM   #3
gawain
Member
 
Registered: Dec 2006
Location: Italy -Rome
Distribution: Slackware 11.0
Posts: 55

Original Poster
Rep: Reputation: 15
Thanks a bunch for replying.
Quote:
Originally Posted by pixellany
That form of fdisk does not tell us the total size of the drive, but I'm guessing it is 40GB--and it is full.
Yes, that's right: it's 38GB, but oly 3GB are written
Quote:
Originally Posted by pixellany
You will need to re-size the main Linux partition to make room. This must be done from another OS--eg by using a Knoppix CD with QTParted, or the GParted bootable CD.
OK. I've downloaded GParted bootable CD (so what' s the purpose on having cfdisk?) and it looks great; so now, all what I need is to resize the following partition
Quote:
Device Boot Start End Blocks Id System
/dev/hda1 * 63 74943224 37471581 83 Linux
and I'll have two partitions, let's say hda1 and hda3: I can resize them to 17GB each.
Do I need a new swap area for the new partition which will be occupied by the new OS?



Any suggestions and comments are welcome. Thanks
 
  


Reply



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
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 05:36 AM
cfdisk, add new partition, boot problems haertig Linux - Software 9 01-07-2006 06:50 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Hard Disk Partitioning, cfdisk & multi-boot Necropolis Debian 4 02-06-2004 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:18 PM.

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
Open Source Consulting | Domain Registration